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
Repeated indicator approach using plssemDear Stata users, I am trying to apply the repeated indicators approach using plssem. I have two I…
Managing dates for Panel dataDear All, I have a monthly stock market for 4 countries(Country ID). When I am trying to change the …
Simple question about SEM postestimation command: estat residualsHello, I am using the SEM command (with maximum likelihood estimation) in Stata. I am wondering if…
how do you drop all data not equal to two values in a columnI know I can use the drop and keep functions to clean my data, but what happens if I have a column a…
Average (Mean) of previous quartersHello everyone, I have the following problem with my unbalanced monthly panel data, where "permno" …
Subscribe to:
Post Comments (Atom)
0 Response to Nested Variables in glm
Post a Comment