Hello,
I ran into difficulties when building fixed effects Multinominal Logistic Regression Model with Panel Data using Stata.
The dataset is a longitudinal and the variable "StudentID‘’ is nested within the variable "SchoolID".
Meanwhile, each student was measured multiple times and the variable "time" is in the dataset.
My boss wants me to do a fixed effect multinominal logistic regression model for him and he said he knew nothing about it. (His boss asked him to do this)
The 1st question is when using xtset command, for this dataset, I should use xtset studentID or xtset studentID time or xtset schoolID?
The 2nd question is when buidling the requested fixed effect model,
what command I should use?
xtmlogit depvar indvar1 indvar2 indvar3 indvar1#indvar2, fe vce(cluster schoolID) rrr is correct?
when adding (cluster schoolID) into the model, the error message said, "groups are not nested within clusters".
Thank you for your help.
Related Posts with How can I Correctly Build the Fixed Effects Multinominal Logistic Regression Model with Panel Data?
Is the normalized dependent variable suitable for fractional model or tobit model?The range of my dependent variable Y is [0,inf). Since it is left censored to zero, the tobit model …
MATA Error "Nothing found where while expected"I am studying from the STATA guide. I typed MATA and then copied and entered the following command a…
Fractional or beta regression, with weights that reflect the inverse variance of the proportionDear Statalisters, I am thinking of fitting a fractional response or beta regression for Y on X, fo…
Hausman TestHello, I am performing a hausman test to test if i should perform a fixed or a random effects regre…
Interaction terms for two dummiesHi I have a question about the interaction term for two dummies (In fact, my question is little bit …
Subscribe to:
Post Comments (Atom)
0 Response to How can I Correctly Build the Fixed Effects Multinominal Logistic Regression Model with Panel Data?
Post a Comment