I'm relatively new to Stata so I am hoping that this error is a quick fix.
I've been trying to run a Mann Whitney U test on data about whether administering a certain drug to patients affects their length of stay in the hospital. I have one column labeled GROUP (which has either "Drug" or "No Drug" as an entry) and another column labeled LOS (length of stay in the hospital, measured in hours).
So far I've tried:
ranksum LOS, by (GROUP) exact
ranksum LOS, by (GROUP)
ranksum GROUP, by (LOS) exact
ranksum GROUP, by (LOS)
No matter which iteration I try, I keep getting the same "no observations found" message.
If anyone has dealt with something similar or knows a workaround, I would appreciate it so much!
Related Posts with Issues running ranksum - says "no observations found"
How to in Stata get data from different WRDS library in one batchIt works if I execute in Stata odbc load, exec("select permno, shrcd, date, prc, vol, ret from crsp.…
gmm estimation of probit model in the presence of heteroscedasticityDear statalists, I tried to conduct a Monte Carlo simulation to show that under conditional heteros…
Making new schemes - problem with margins between plotregion and axes Dear Stata list, I am currently exploring how to make my own schemes, and I can't find a way to su…
Excluding specific combinations of variables from a foreach variable loop with 2 or more varlistsHi all I have 2 lists of variables (i.e. varlist1 and varlist2) and I would like to use a command t…
Instrumental variables with many missing values in the endogenous regressorHi, I have a data set with 10k observations for Y and an endogenous regressor X with many missing o…
Subscribe to:
Post Comments (Atom)
0 Response to Issues running ranksum - says "no observations found"
Post a Comment