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
Time Variable ConversionHi everyone, I'm looking to convert an integer variable into a time variable. The integers are all b…
To declare as Survey data or not to declare, that is the question! -svyset-Well I am working with a large scale national level survey data on Household Consumption , (by NSSO …
Ask how to estimate error correction almost ideal demand system in stata?Dear Statalisters, I am using Stata ver 15, and the built in command aidsills written by Lecocq and…
Bar chart for two categorical variables with same value labelsHello! I have two categorical variables ("concerned_chemicals" and "concerned_bacteria") with the sa…
Questions about using -stpm2- and flexible proportional modelDear Stata Specialists, I'm trying to use flexible parametric model to estimate Hazard ratio over t…
Subscribe to:
Post Comments (Atom)
0 Response to mrgraph error - variables R _variables do not uniquely identify the observations
Post a Comment