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 it possible to make the computer game "pong" in stata?I'm trying to make a (simplified) version of the 1972 arcade game "Pong" in Stata but I've run into …
Confidence interval for Chi-square testDear All, Can someone please help me out, to find out the confidence interval for chi-square test or…
Fairlie decomposition for longitudinal/panel dataI am trying to use fairlie decomposition technique (I am using mvdcmp as it produces same results as…
Fairlie decomposition for Panel dataI am trying to use fairlie decomposition technique (I am using mvdcmp as it produces same results as…
Grouped data to individal patient dataI have some binary grouped data like events1, events2, n1, n2 (see below). But I want to translate i…
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