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
Merge multiple .dta files in a folderI have an Excel file (demo.xlsx) with multiple sheets with unique sheet names (A,B,C, etc). I proces…
Grouping and Panel DataI am carrying out a study using panel data I would like t group the countries into regions, which I …
Tagging observations in pre and post periods by idHello! I have a weakly balanced dataset (2007-2019), in which 2015 is the year when the interventio…
xtmelogit - How to solve the problem "error obtaining starting values; try fitting a marginal model in order to diagnose the problem"Dear all, I am been working on a study to examine the effect of two drugs (drug A = 1, drug B = 0) …
K-M x-axis limitsPlease! I need help with K-M survival graph x-axis modification. I have two populations I am compari…
Subscribe to:
Post Comments (Atom)
0 Response to Nested Variables in glm
Post a Comment