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
Marginal effects for interaction after MlogitDear all, I'm new in this forum and also pretty new to Stata, so I don't know if my question is act…
Export mdesc table to ExcelI am wondering if there is way to export (not copy paste) and mdesc table (run on the full set of my…
Problems with -asdoc- commandHello all, I am having issues with the -asdoc- command after first installing it from -ssc install-…
Displaying mean values for groups on a lineHello Statalisters, I wish to display the means of a continuous variable for different values of a …
How many variables are necessary to carry out a logistic regression?Is it possible with only 2 events in the group of exposed (n=5) and 32 in the group of non-exposed (…
Subscribe to:
Post Comments (Atom)
0 Response to mrgraph error - variables R _variables do not uniquely identify the observations
Post a Comment