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
Policy change within the policy - triple difference analysisHi everyone, I am trying to evaluate a policy that was implemented in 2007 in the US to stimulate r…
“if” command after mutiple-imputated variableDear Members, Could anyone please to advice on a problem in mutiple-imputated dataset. I have a var…
Sign flip after using Instrument variableHi Statalist, I met a problem when I was using the IV approach to estimate an equation, I am using …
name conflict error after running collapse commandHi, After running the below collapse command, I got an error on the name conflict (pasted below). Wh…
Creating sum over groups/keyHello everybody, I am working on a dataset right now and need to know a simple thing. The dataset l…
Subscribe to:
Post Comments (Atom)
0 Response to Nested Variables in glm
Post a Comment