[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Chris Witte <eljefespeaks@yahoo.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: m stat for sign test |

Date |
Thu, 9 Oct 2008 12:19:48 -0700 (PDT) |

ok, and then I can get the M stat by: display (r(N_pos)-r(N_neg))/2 correct? ----- Original Message ---- From: Richard Goldstein <richgold@ix.netcom.com> To: statalist@hsphsun2.harvard.edu Sent: Thursday, October 9, 2008 1:53:42 PM Subject: Re: st: m stat for sign test this information is saved by Stata as part of standard practice -- to see what is saved type -return li- after you run -signtest- or look at the help file or the manual Rich Chris Witte wrote: > The excerpt below is taken from SAS's help. This is what I would like in addition to the p-value: > > Sign Test > > PROC UNIVARIATE calculates the sign test statistic as > > M=(n+ -n- )/2 > > where n+ is the number of values that are greater than mu_o and n- is the number of values that are less than mu_o. Values equal to mu_o are discarded. Under the null hypothesis that the population median is equal to mu_o * * 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/

- Prev by Date:
**st: re: m stat for sign test** - Next by Date:
**Re: st: pool cross-section survey data** - Previous by thread:
**Re: st: m stat for sign test** - Next by thread:
**st: re: m stat for sign test** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |