Hello Statalist,
I'm using xtdpdqml for a quasi-maximum likelihood model to estimate a nonlinear relationship between "lc" and "zsc", with "pol_stab" moderating this relationship. The following stata code is used to run the regression:
xtdpdqml zsc lc lc*lc lc*pol_stab lc*lc*pol_stab capi size dep roe costincome gdp gdpcap inf pol_stab y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 y11, fe vce(robust) nolog
Could someone please advise on how to visualize this nonlinearity using xtdpdqml command? I've tried marginsplot but encountered issues with predicted values ("default prediction is a function of possibly stochastic quantities other than e(b)").
Thank you for your assistance!
I'm using xtdpdqml for a quasi-maximum likelihood model to estimate a nonlinear relationship between "lc" and "zsc", with "pol_stab" moderating this relationship. The following stata code is used to run the regression:
xtdpdqml zsc lc lc*lc lc*pol_stab lc*lc*pol_stab capi size dep roe costincome gdp gdpcap inf pol_stab y1 y2 y3 y4 y5 y6 y7 y8 y9 y10 y11, fe vce(robust) nolog
Could someone please advise on how to visualize this nonlinearity using xtdpdqml command? I've tried marginsplot but encountered issues with predicted values ("default prediction is a function of possibly stochastic quantities other than e(b)").
Thank you for your assistance!
Comment