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
Looking to add ifxed effects for a model but unsure how to go about it.Hi, I am doing a project where I am looking at state incarceration rates for the year 2016. I am loo…
Getting same estimates for Fixed Effects and Random Effects but not for pooled OLSI estimated pooled OLS, Fixed Effect, and Random Effect Model using Grunfeld's investment data. The …
SAS date to Statahi, i am working with a SAS data set and birthday variable reads as , list BIRTHY in 1/10 +------…
Conditional Risk Using STPM2Dear All, I would like to predict a conditonal risk for a recurrence at 6 months after having had n…
Problem with random-effects GLS regression and dummy variablesDear reader, I am a business student currently writing a thesis about the impact of global cities (…
Subscribe to:
Post Comments (Atom)
0 Response to Nested Variables in glm
Post a Comment