|
|
|
|
|
by alexhutcheson
2460 days ago
|
|
Yes, and it's also non-trivial to write R code that matches your textbook's answer if your textbook used Stata. You have to do things like look up which specific variant of the sandwich estimator Stata uses for robust standard errors, so you can tell R to match that. In Stata's defense: It helps that Stata is actually really good for the "running regressions" part. In particular, it gets robust standard errors right without much extra work in complex cases that would require a lot of additional code in Python or R. R wins easily for data visualization and scripting, though. It's also much better as a skill you can "take with you". If you end up working in industry, you may not be able to expense a Stata license, but you'll almost certainly be able to use R (although maybe not RStudio). |
|