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
Chamberlain Moment Conditions and endogenous X in dynamic Poisson modelHello good people, I am dealing with the following Linear Feedback Model: y_{it} = a*y_{it-1} + e…
robust standard errors by two-way cluster-robustI want to calculate a two way cluster by robust standard error of a regression on stata I need the c…
Question about the command --tuples--Dear all, I get an error when I run the command --tuples--(SSC). sysuse auto,clear global m mpg rep…
Plot mean and standard deviation by time, for two groups on the same figureI am trying to plot the time series of mean and standard deviation of a variable, for 2 different gr…
Regressions with 'long'/panel data: misleading test statistics?Greetings, I'm running Stata 15.1 on a Mac OS and am currently working with Pew panel data. I belie…
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