# Re: st: equivalence limit

 From Ricardo Ovaldia To statalist@hsphsun2.harvard.edu Subject Re: st: equivalence limit Date Sun, 16 Aug 2009 06:25:04 -0700 (PDT)

```I am still trying to figure how to do an equivalence test in Stata.
All I have is a 2x2 table (Treatment x outcome). I can use -cs- or -rdci-
to get the CI, but how do I compute the equivalence limit assuming delta=25%, for example?

Also, can -pkequiv- be trick into doing this analysis?

Thank you,
Ricardo

Ricardo Ovaldia, MS
Statistician
Oklahoma City, OK

--- On Sat, 8/15/09, Ricardo Ovaldia <ovaldia@yahoo.com> wrote:

> From: Ricardo Ovaldia <ovaldia@yahoo.com>
> Subject: st: equivalence limit for an inferiority test
> To: statalist@hsphsun2.harvard.edu
> Date: Saturday, August 15, 2009, 8:42 AM
> Dear all,
>
> If I am interested in computing an equivalence limit of 20%
> around the diference of two proportions. Is this simply
> (-0.2, 0.2) or do I have to compute it based on the observed
> data and sample size (If yes, how)?
>
> Ricardo
>
>
> Ricardo Ovaldia, MS
> Statistician
> Oklahoma City, OK
>
>
> --- On Fri, 8/14/09, Ricardo Ovaldia <ovaldia@yahoo.com>
> wrote:
>
> > From: Ricardo Ovaldia <ovaldia@yahoo.com>
> > Subject: Re: st: Re: equivalence test
> > To: statalist@hsphsun2.harvard.edu
> > Date: Friday, August 14, 2009, 11:34 AM
> > Joseph Coveney <jcoveney@bigplanet.com>
> > wrote:
> >
> > >>You can use either -cs-, which is official,
> or
> > -rdci-, [...]
> > >>You would construct the confidence interval
> and
> > check to see whether
> > >>both lower and upper confidence bounds fall
> within
> > the limits specified >>for accepting the
> alternative
> > hypothesis of therapeutic equivalence.
> >
> > Thank you.
> > As Joseph suggested, I used -rdci- and obtained an:
> > Agresti-Caffo   95% CI: -0.299  0.067
> >
> > If I am interested in an equivalence limit of 20%, do
> I
> > compare the above 95%CI to (-0.2, 0.2)? Or how do I
> compute
> > the correct equivalence limits?
> >
> > Thank you,
> > Ricardo
> >
> >
> > Ricardo Ovaldia, MS
> > Statistician
> > Oklahoma City, OK
> >
> >
> > --- On Thu, 8/13/09, Ricardo Ovaldia <ovaldia@yahoo.com>
> > wrote:
> >
> > > From: Ricardo Ovaldia <ovaldia@yahoo.com>
> > > Subject: Re: st: Re: equivalence test
> > > To: statalist@hsphsun2.harvard.edu
> > > Date: Thursday, August 13, 2009, 12:05 PM
> > >  previously I asked:
> > >
> > > > Is there a way to perform an equivalence
> test for
> > a
> > > 2x2 table.
> > > > Treatment (0,1) vs. Outcome(0,1)?
> > >
> > > I found -equip- by Richard Goldstein. Does this
> > program
> > > work correctly?
> > > If yes, what is the meaning of test1 and test2?
> > > if no, are there any alternatives (other free
> > software)?
> > >
> > > Thank you,
> > > Ricardo.
> > >
> > > Ricardo Ovaldia, MS
> > > Statistician
> > > Oklahoma City, OK
> > >
> > >
> > > --- On Wed, 8/12/09, Ricardo Ovaldia <ovaldia@yahoo.com>
> > > wrote:
> > >
> > > > From: Ricardo Ovaldia <ovaldia@yahoo.com>
> > > > Subject: st: Re: equivalence test
> > > > To: statalist@hsphsun2.harvard.edu
> > > > Date: Wednesday, August 12, 2009, 6:01 PM
> > > > Is there a way to perform an
> > > > equivalence test for a 2x2 table.
> > > > Treatment (0,1) vs. Outcome(0,1)?
> > > >
> > > > Thank you,
> > > > Ricardo
> > > >
> > > > Ricardo Ovaldia, MS
> > > > Statistician
> > > > Oklahoma City, OK
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > *
> > > > *   For searches and help try:
> > > > *   http://www.stata.com/help.cgi?search
> > > > *   http://www.stata.com/support/statalist/faq
> > > > *   http://www.ats.ucla.edu/stat/stata/
> > > >
> > >
> > >
> > >
> > >
> > > *
> > > *   For searches and help try:
> > > *   http://www.stata.com/help.cgi?search
> > > *   http://www.stata.com/support/statalist/faq
> > > *   http://www.ats.ucla.edu/stat/stata/
> > >
> >
> >
> >
> >
>
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```