Hi there,
I am working on my thesis, but got a bit stuck and am hoping someone can help me out...
First I have to say that I got trained to use SPSS, but for this study I am expected to use STATA. Because the outputs don't match, I am not sure what I am missing and how I should report this.
So about my study:
- I have two groups whose scores I want to compare.
- One group has only positive values and one group only negative. However, I want to compare the levels of these values, so I changed the negative values into positive values and labeled them 0 and 1.
- First I thought of a t-test, but the assumptions for homogeneity and normality are not met.
- Therefore, I want to conduct a Mann-Whitney test, which is from what I've understood also called a Wilcoxon rank-sum test?
- The code I use is:
ranksum dependentvar, by (independentvar)
- My output is:
Two-sample Wilcoxon rank-sum (Mann-Whitney) test
Independentvar| obs rank sum expected
-------------+---------------------------------
0 | 8412 60956067 55250016
1 | 4723 25314613 31020664
-------------+---------------------------------
combined | 13135 86270680 86270680
unadjusted variance 4.349e+10
adjustment for ties -1751666.6
----------
adjusted variance 4.349e+10
Ho: Dependentvar(Independentvar==0) = Dependentvar(Independentvar==1)
z = 27.362
Prob > |z| = 0.0000
- I see that the two groups significantly differ.
- Now I want to report this. with SPSS I'd say something like: Dependent variable in group 0 (median = ...) was significantly higher than in group 1 (median = ...), U = ..., z = 27.36, p < 0.001, r = ....
- r I can caulculate by z/squareroot(N) = 27.362/squareroot(13,135) = 0.24
- I assume I can get the median through summary statistics
-> But which number is U? In the SPSS output it is just reported, but I have no clue which number this is in STATA... Is this already in my output? Do i find this somewhere else? I have tried to look it up on Google, but can't find much about how to report statistics...
Can someone please help me out?
Thanks!
I am working on my thesis, but got a bit stuck and am hoping someone can help me out...
First I have to say that I got trained to use SPSS, but for this study I am expected to use STATA. Because the outputs don't match, I am not sure what I am missing and how I should report this.
So about my study:
- I have two groups whose scores I want to compare.
- One group has only positive values and one group only negative. However, I want to compare the levels of these values, so I changed the negative values into positive values and labeled them 0 and 1.
- First I thought of a t-test, but the assumptions for homogeneity and normality are not met.
- Therefore, I want to conduct a Mann-Whitney test, which is from what I've understood also called a Wilcoxon rank-sum test?
- The code I use is:
ranksum dependentvar, by (independentvar)
- My output is:
Two-sample Wilcoxon rank-sum (Mann-Whitney) test
Independentvar| obs rank sum expected
-------------+---------------------------------
0 | 8412 60956067 55250016
1 | 4723 25314613 31020664
-------------+---------------------------------
combined | 13135 86270680 86270680
unadjusted variance 4.349e+10
adjustment for ties -1751666.6
----------
adjusted variance 4.349e+10
Ho: Dependentvar(Independentvar==0) = Dependentvar(Independentvar==1)
z = 27.362
Prob > |z| = 0.0000
- I see that the two groups significantly differ.
- Now I want to report this. with SPSS I'd say something like: Dependent variable in group 0 (median = ...) was significantly higher than in group 1 (median = ...), U = ..., z = 27.36, p < 0.001, r = ....
- r I can caulculate by z/squareroot(N) = 27.362/squareroot(13,135) = 0.24
- I assume I can get the median through summary statistics
-> But which number is U? In the SPSS output it is just reported, but I have no clue which number this is in STATA... Is this already in my output? Do i find this somewhere else? I have tried to look it up on Google, but can't find much about how to report statistics...
Can someone please help me out?
Thanks!
Comment