Hello,
I am wondering if someone can confirm that the below code is correct. Specifically, I want to make sure that I am properly adjusting the standard errors based on a paper that I am trying to follow, where the author adjusted standard errors for heteroskedasticity (White 1980) and firm clustering (Petersen 2009).
My code is:
Is the above code properly adjusting the standard errors for heteroskedasticity and firm clustering? I read section 20.21.2 from "https://www.stata.com/manuals13/u20.pdf#u20.21Obtainingrobustvarianceestimates" and I am still a bit unsure.
Thank you in advance
I am wondering if someone can confirm that the below code is correct. Specifically, I want to make sure that I am properly adjusting the standard errors based on a paper that I am trying to follow, where the author adjusted standard errors for heteroskedasticity (White 1980) and firm clustering (Petersen 2009).
My code is:
Code:
reghdfe dependent_variable variable_of_interest control , absorb(firm year) vce(cluster firm)
Thank you in advance
Comment