Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: test for percentage change


From   "Jonathan A. Schwabish" <[email protected]>
To   [email protected]
Subject   st: test for percentage change
Date   Wed, 27 Apr 2005 12:38:44 -0700 (PDT)

This may be more of a statistics question than a Stata
question but was hoping someone might be able to help.

I am trying to test the statistical significance of
the percent change in the number of observations
between two years and the median income between two
years. 

For the first, I assume I should use the hypothesis
test for a proportion:

Z = p1-p2 +/- 1.96*sqrt[p1*(1-p1)/n1 + p2*(1-p2)/n2],

where p1=#obs in year1/total #obs in year 1; and
p2=#obs in year2/total #obs in year 2. A value of Z
less than 1.96 would reject the null that the percent
change is statistically significant.

For the latter, I've used the -median- command to test
whether the two medians are the same. If the test
rejects the null that the two medians are the same,
does this imply that the percent change is
statistically significant? If not, what test should I
use?

Thanks,
jon

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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