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
Help with one step system gmmHello, my case is described below and I would like help on how should I run One step system GMM usin…
Average values of dependent variableHi everyone, I have one question which is a little bit harder to explain but I will give my best. …
Problem with calculating employment (unemployment) duration until first unemployment (employment)Hello everyone, I have trouble working with duration data. I am working with spell-type data. The …
Multiple-answer questions: When to reduce multivariate to univariate probit?Problem description Assume there are individuals j who each need to choose from two alternatives i=…
interpreting categorical odds ratiosI ran a logistic regression to look at the difference of an outcome ( low birth weight infant) among…
Subscribe to:
Post Comments (Atom)
0 Response to Nested Variables in glm
Post a Comment