Equivalence tests of proportions (STB-17: sg21) -------------------------------- ^equip^ varname ^=^ # [^if^ exp] [^in^ exp] [, ^d^elta(str) ^sd^elta(str) ^r^andom] ^equip^ varname ^=^ varname [^if^ exp] [^in^ exp] [, ^d^elta(str) ^sd^elta(str) ^r^andom] ^equip^ varname [^if^ exp] [^in^ exp] [, ^d^elta(str) ^sd^elta(str) ^r^andom ^b^y(varname)] ^equipi^ p1 n1 pbase [, ^d^elta(str) ^sd^elta(str)] ^equipi^ p1 n1 sd1 p2 n2 sd2 [, ^delta(str) ^sd^elta(str)] tests the null hypothesis that the proportion of observations with a value of `1' differs by at least ^delta^ (or, by ^delta^ in the negative direction and ^sdelta^ in the positive direction). In the third form, ^equip^ tests that the proportion of observations with a value of `1' is equivalent within the two groups specified in ^by^(varname). ^equipi^ is the immediate version of ^equip^. In the second form of the command, p1, n1, and sd1 should be the values for the control, baseline, or reference group. Options ------- ^delta^ and ^sdelta^ control the width of the equivalence interval. If neither option is specified, a default of .2*mean1 is used for both ^delta^ and ^sdelta^. In the first form of the command, however, ^delta^ is 20 percent of this number. ^delta^ can be entered either as a real number or as a percent. If you enter it as a percent, then you ^must^ include the "%" symbol. ^random^ indicates that ^delta^ is to be treated as an estimated amount. As a consequence, the variance is increased (i.e., the confidence intervals are widened). If ^random^ is not specified, ^delta^ is treated as fixed and known. Author ------ Richard Goldstein EMAIL goldst@@harvarda.bitnet Also see -------- STB: sg21 (STB-17) On-line: ^help^ for ^equim^ and ^equip^