I am trying to use nested variables in glm because I have a non-normal dependent variable potentially explained by nested categorical and continuous variables. I see how to do this in anova (e.g., anova allwasps PlotCode / TmtCode|PlotCode / YR / Month/YR), but if I try the same with glm (e.g., glm allwasps PlotCode / TmtCode|PlotCode / YR / Month/YR, family(poisson)), I get the error message "'/' not allowed in varlist". Is there a way of nesting variables in glm syntax? Thank you.
Related Posts with Nested Variables in glm
Building a panel dataset from individual level data using loopsHi guys, I am quite new to Stata and I can't find a solution to the following problem: I am workin…
xtivreg2 with interaction between categorical var and continuous var.Dear Stata users, I am trying to analyze IV regression but xtivreg2 does not support interaction. …
Box plot - Only lable Most extreme outliersDear Statalists, after going through several tutorials and information about box plots in Stata, I …
Generating values in a variable through two other variables in the datasetHi! I need help to create the values in a variable automatically from two other variables. My data …
Panel Date IV Regression, Fixed EffectsHello! I am running an IV Fixed Effects Regression with Panel Data. I have t=4 (1995-1998), N=550 d…
Subscribe to:
Post Comments (Atom)
0 Response to Nested Variables in glm
Post a Comment