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
Panel regressionHello, I have some doubts about panel regression in fixed effects: 1) When I run fixed effects sho…
Testing overidentification with categorical covariatesHi everyone, I am using Stata Version 14.2 and currently run a 2SLS Regression using the ivprobit c…
How to Create Pie ChartHi, I want to create a pie chart in the same way like in the link below https://imaa-institute.org/…
Not able to convert string to date using date()Hi, I am having trouble converting a string to a date. I have imported an excel file, and have a v…
Pie ChartHi, I want to create a pie chart in the same way like in the link below https://imaa-institute.org/…
Subscribe to:
Post Comments (Atom)
0 Response to mrgraph error - variables R _variables do not uniquely identify the observations
Post a Comment