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"
Applying weights to multilevel hazard analysis using Cox regressionHello everyone, I'm running a Stata code for frailty survival model (multilevel hazard analysis) us…
Generate date on conditionDear all Please advise how I can replace "extr_date" ONLY for id's where "age2019" is less than 18 …
propensity score matching with ordered outcome variableHi all, I have a question on propensity score matching for the outcome variable that is not in a con…
Model development support: Mixed effects on a quantile regressionHi there, I am wondering the best way to go about accounting for mixed effects of a variable in quan…
Grouping Households in Panel Data Based on IdentifiersHi All, I am trying to follow households over time in a panel dataset. Currently, each individual h…
Subscribe to:
Post Comments (Atom)
0 Response to Issues running ranksum - says "no observations found"
Post a Comment