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
Create a variable counting occurrencesHello, I'm using Stata for the first time and encountered some difficulties. I'm working with Stat…
-zipuse- unable to recognize .dta files inside zip foldersDear All, I am trying to use -zipuse- to use and append a number of files that are inside some zip …
Stata Codes for Post-estimation TestsGood day everyone, I am currently working on the focus - Working Capital Management and Performance …
Matrix of matricesDears I would like to create a matrix containing the results of other matrices generated after the …
panel data analysisHello, I am performing analysis on an unbalanced panel dataset, of 160 firms which have data availa…
Subscribe to:
Post Comments (Atom)
0 Response to Nested Variables in glm
Post a Comment