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?
Calculating ratios in panel dataI searched Stata help and this forum but found no solution. I want to calculate some simple ratios o…
Clique identification within larger networkI am interested in identifying cliques of entities (think of groups of common friends within a socia…
How can determine the best cut point with large number of observationI have data set contains 300 observation and when I am using the Roctab command to calculate sensiti…
Divide population according to predefined predicted probabilities cut-offsDear all, I run a logistic regression model with predictors (age, diabetes, hypertension, tobacco)…
Merge if mergeHi, I have used the command "merge", creating a new var called "epr" instead of "_merge": merge m…
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