Hi everyone,
I was wondering if marginsplot can be combined with if statement to obtain marginsplot for each _predict (e.g., _predict==1). I know how to combine marginsplot with by statement but the plots are suppressed because the y scale is similar across the plots. I was wondering if there is any way to control y scale.
Thanks,
NM
Related Posts with Combining marginsplot with if
How to take a random sample of panel data and keep all person-year-observations for a particular IDI try to take a random sample from a huge unbalanced panel dataset. For the MWE data, I would like t…
Editing graphHi, I need to edit a graph that starts from 0 to start from 10. I know how to change the x axis ran…
Mediation analysis (bias-corrected bootstrapping): Using panel survey data with fixed effects (sem/gsem/xtdpdml command)Hello, I am new to the Stata forum (let me know if I have not correctly followed the forum's rules)…
Combining the values of different categories into ONE with a repeated IDI have a variable (foodgr) which is divided into 4 categories (1,2,3,4). I have another variable, v…
How to add scatter plot to xtline and modify its colours accordinglyHi, I'm trying to add orginial data to xtline. Sometimes a unit exhibits a constant variable over se…
Subscribe to:
Post Comments (Atom)
0 Response to Combining marginsplot with if
Post a Comment