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
Heckman MLE and convergence issueHello Everyone, I am currently trying to estimate a gravity model for migrations and face a problem…
keep the observation nearest to 4/20?Dear All, I found this question here (https://bbs.pinggu.org/thread-7644841-1-1.html). The data is …
Coefficient change sign from negative to positive when control variables are added. Why?Hi! I'm making multiple regression and has a variable namned RP as an independent/control variable.…
How to remove variable label from x axis using catplotHi I am using Stata 15 and trying to create a simple graph using catplot. The variable I am trying …
Bootstrapping or robust standard errors?Hi, I am new to stata and self-thought, so please have overlook if I have missunderstood anything. I…
Subscribe to:
Post Comments (Atom)
0 Response to mrgraph error - variables R _variables do not uniquely identify the observations
Post a Comment