Hi everybody,
I have an issue with Stata.
I am new on Stata.
I want to perform Mann-Withney between two groups (as follow), but Stata says "no observations". I tried to destring my variables but it says "already numeric; no replace".
If someone has an idea, I will really appreciate it.
Thanks
. tabstat newpH1 newpH2, stat(n mean sd q min max)
stats | newpH1 newpH2
---------+--------------------
N | 67 42
mean | 7.416313 7.426238
sd | .0523358 .0754838
p25 | 7.383 7.393
p50 | 7.416 7.4245
p75 | 7.451 7.466
min | 7.247 7.101
max | 7.519 7.555
------------------------------
.
end of do-file
. ranksum newpH1, by(newpH2)
no observations
r(2000);
Related Posts with ranksum "no observation"
Reshape data and order contents in columnsDear community, I would like to transfer a data record from the long to the wide format and combine…
Calculating portfolio returns before formationHi all, I am trying to create hedge portfolios for different asset pricing models like Daniel, Mota,…
Computing Partial Effect and Average Partial Effect of Binary VariablesI tried to compute the PE and the APE of a dummy using the usual Code: margins command. However, I …
Creating a dummy based on groupI am having some data by group and would want to create a dummy of whether there’s at least one case…
panel data with 2 different kinds of time unitsHello! I have an issue with some data I want to work with. I like to use panel data to execute a dif…
Subscribe to:
Post Comments (Atom)
0 Response to ranksum "no observation"
Post a Comment