I am trying to get a graph for a multiple response question. I have read the resource and the mrtab function has been very helpful. However when I run the mrgraph command, I get error r(459) which says "variables R _variables do not uniquely identify the observations" I really need help in doing this. Sample data in excel attached
The command I have used is illustrated below
mrgraph bar farmact_manualringweeding farmact_manualpathweeding farmact_chemicalringweeding farmact_chemicalpathweeding farmact_prunning farmact_weedgrowtheradication farmact_manualweeding farmact_chemicalweeding farmact_boxfrondstacking farmact_leguminouscrop farmact_emptyfruitformulching farmact_emptyfruitforerosion farmact_other
and in each of farmact* 1 represents TRUE and 0 represents FALSE.
Related Posts with mrgraph error - variables R _variables do not uniquely identify the observations
quick help on identifying the first admission dateHey there, I have a dataset consisting of the two variables below (ID-number and admission date) wi…
How to sum up (frequency and percentage) by group?Hello, I have a dataset like below. What I want to do is to group based on icd_code (first 3 digit…
Change of direction of OR in logistic regressionDear stata users, I am not an expert concerning statistics, so I hope to find some answers in this …
Using stata to choose between tobit and double hurdle modelsHi Dear users of statalist forum, I am working on double hurdle model to specify factors affecting a…
Statistical Analysis with Control and treatment groupI would like some advice on what statistical analysis to use to test my hypothesis. I have two group…
Subscribe to:
Post Comments (Atom)
0 Response to mrgraph error - variables R _variables do not uniquely identify the observations
Post a Comment