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
Formatting Date so STATA can understand...I have date from Excel that is formatted as 8/31/15. The date has gaps. What's the optimal way of fo…
estat archlm, lags(1) no observations r(2000)Hello. I am working to build a CAPM-GARCH model in Stata in order to explain and predict the return…
Stata Journal Editors' Prize 2018 is awarded to Federico BelottiOn behalf of the Editors of the Stata Journal, H. Joseph Newton and myself, I announce with great pl…
Replacing variable labels if same prefix, different suffixI have multiple sheets of excel that I import one by one into Stata. Each of the sheets has about 15…
Problem with tokenize a local variable using mata and tabstatmatHi all, I am trying to get label names from a tabstat matrix, I am using tabstatmat ado, an example…
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