Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: sign test output
From 
 
Nahla Betelmal <[email protected]> 
To 
 
[email protected] 
Subject 
 
st: sign test output 
Date 
 
Wed, 16 Jan 2013 08:38:35 +0000 
Dear statalist,
I have generated this output using  non-parametric test "one sample
sign test" with null: U=0 , & Ua > 0
However, I do not understand the output. where is the p-value? is it
0.5 in all cases or the 0.000 ( as in the first and third cases) and
1.000 as in the second case?
many thanks
Nahla
signtest DA_T_1= 0
Sign test
        sign |    observed    expected
-------------+------------------------
    positive |         221         173
    negative |         125         173
        zero |           0           0
-------------+------------------------
         all |         346         346
One-sided tests:
  Ho: median of DA_T_1 = 0 vs.
  Ha: median of DA_T_1 > 0
      Pr(#positive >= 221) =
         Binomial(n = 346, x >= 221, p = 0.5) =  0.0000
  Ho: median of DA_T_1 = 0 vs.
  Ha: median of DA_T_1 < 0
      Pr(#negative >= 125) =
         Binomial(n = 346, x >= 125, p = 0.5) =  1.0000
Two-sided test:
  Ho: median of DA_T_1 = 0 vs.
  Ha: median of DA_T_1 != 0
      Pr(#positive >= 221 or #negative >= 221) =
         min(1, 2*Binomial(n = 346, x >= 221, p = 0.5)) =  0.0000
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/