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
delete observations conditionallyDear All, I find this question here (https://bbs.pinggu.org/forum.php?mod...=1#pid57289524). The dat…
Offset() option in Poisson/negative binomial regressionHello everyone, I am working on count data and have the follow-up time in days. Do I need to log-tr…
Interpreting regression coefficients in terms of standard deviationHi! I feel it's more of an econometrics/statistics question, but I would also want to learn how I c…
ItsaDear I am new using time series analises in stata, so need some help. I am try to use the ITSA comma…
How to write a heckman selection model whose second stage is a finite mixture modelDear statalist: I want to do a heckman seclection model whose second stage is a fmm by joint maximu…
Subscribe to:
Post Comments (Atom)
0 Response to Nested Variables in glm
Post a Comment