Hello everyone,
I want to run a logistic regression where I cluster by both year and industry.
I know Stata can do the one-way clustering, however to correct for Cross-Sectional and Time-Series Dependence I would need to do two-way clustering.
As I realized from prior posts this is not a straightforward approach, and actually entails multiple steps.
Can someone please provide me with the commands to follow to run my two-way clustered logistic regression?
P.S. I am using Stata/SE 16.0
Thank you!
I want to run a logistic regression where I cluster by both year and industry.
I know Stata can do the one-way clustering, however to correct for Cross-Sectional and Time-Series Dependence I would need to do two-way clustering.
As I realized from prior posts this is not a straightforward approach, and actually entails multiple steps.
Can someone please provide me with the commands to follow to run my two-way clustered logistic regression?
P.S. I am using Stata/SE 16.0
Thank you!
Comment