Thanks for this video! Great explanation, looking forward to exploring more of your videos! really helped in the assignment ty :)
@alinak28233 ай бұрын
great video
@sofialozanosamper3926Ай бұрын
Thanks so much for your explanation. I'm using it for my project on the effect of Amazon's acquisition of WholeFoods on consumer prices, by looking at different product prices through time. Why do you think it would it be good to cluster the SEs by products in that sense?
@ski34able9 ай бұрын
Really good, thank you for your help!
@ShengChai-zm3wh2 жыл бұрын
Thanks for your video. Really clear! Is there a guidance on how many clusters are needed for clustered standard errors to make sense? I tried running a regression with cov_type='clustered' and keep getting "covariance of constraints does not have full rank" warning, but this error does not exist when I just use the default nonrobust regression. Did some googling and literature is suggesting between 20-50 clusters. I only have ~ 10 clusters in my dataset. Is there an intuition on why there needs to have enough clusters for clustered standard errors to work? Or have I mis-understood the whole thing.
@hualinchu Жыл бұрын
thank u so much!that really helps me a lot! but i still have some confusion about cluster command in stata, for example, robust and vce cluster, should we use vce cluster preferentially?thx!
@TheBnc25032 жыл бұрын
What would be a valid reason not to include firm fixed effects in a regression but year fixed effects? Thanks for your video by the way.
@doctormarket2 жыл бұрын
My pleasure! You might not want to include firm fixed effects when there is not enough variation in your data within each firm and therefore you need to test the variation across firms. You might use year fixed effects when there is variation over time that is not attributable to your other explanatory variables. A good example of where you would not want to use firm fixed effects, but would want to use year fixed effects is if you were testing the difference in stock performance at companies run by male CEO's and female CEO's and in your data the companies that were run by male CEO's were only ever run by male CEO's and the companies that were run by female CEO's were only ever run by female CEO's. In this case, you could not use firm fixed effects, but you could use year fixed effects to take out the effect of the overall market in given years. Let me know what other videos we can make that might help you!
@nnicola55555 Жыл бұрын
I am attempting to identify the appropriate code for calculating clustered standard errors following the execution of a regression using the multinom() function in r. I attempted the following code but consistently encountered an error: Calculate the cluster-robust variance-covariance matrix vcov_clustered