Hi,
I have a dataset with COVID-19 mortality rates categorized by occupation and industry, consisting of around 1,000 cells. Please see a snapshot of the data below. The full reshaped dataset has approximately 100,000 workers * 1000 cells. I would like to perform an occupational choice model using the mortality rate * post2021 variable as an independent variable and the probability of employment as the dependent variable. However, I also want to control for occupation by industry fixed effects and year fixed effects, and I am curious if it is feasible to cluster standard errors at the occupation by industry level. Although I was able to run a linear probability model, I prefer to use a non-linear estimation method that takes into account the fixed effects and clustering to make accurate predictions.
My question is, is it possible to perform this estimation using clogit or some other Stata commands? I have only seen examples where independent variables vary across both case and choice, but not for choice only where there is only significant variation when there are multiple choices. I would greatly appreciate any advice on this matter.
Array
Related Posts with Conditional logit model when there are multiple choices and independent variable only varies across choices
Logistic Regression with ClusteringHello users, I am new to the forum, but hoped you would be able to settle a small dispute we are ha…
gmm estimation of probit model in the presence of heteroscedasticityDear statalists, I tried to conduct a Monte Carlo simulation to show that under conditional heteros…
Help with regression of (unbalanced) panel data - xtreg, statsby/regressby generating difference resultsHi Statalist! First of all, thank you for all the help you give on a daily basis! It's been very he…
Instrumental variables with many missing values in the endogenous regressorHi, I have a data set with 10k observations for Y and an endogenous regressor X with many missing o…
How to in Stata get data from different WRDS library in one batchIt works if I execute in Stata odbc load, exec("select permno, shrcd, date, prc, vol, ret from crsp.…
Subscribe to:
Post Comments (Atom)
0 Response to Conditional logit model when there are multiple choices and independent variable only varies across choices
Post a Comment