I am studying econometrics for a PhD and am more familiar with STATA, so I am currently using that for homework as I do not have enough time to learn another language, however, I am having difficulties using leave-one-out cross validation (the LOOCV command) and was wondering if there is a do file available online or if there are any nice likes that explain how to go about doing this in STATA? Any hints or tips will be helpful, I have found nothing anywhere on the internet that will help, and my teacher is not familiar with the program as we are responsible to learn and be confident in a program of our choice. I need to use loocv to find a "better" R-squared (better than adjusted R squared as well), which would be with loocv. Any help would be appreciated. Thank you.
Related Posts with How to use Loocv?
Using for loop to plot multiple graphs.Hey Everyone, I am trying to plot multiple graphs using a for loop. At the time, I am trying to mak…
pooled mean group estimationHello. I get errors when I run below command and could not figure out what is the cause. It would be…
Estimation results not found with 'Coefplot'Hello, Using the user-written khb command by Ulrich Kohler and Kristian Karlson, I have decomposed …
Stata only creates 4 out of 5 quintiles?I have a continuous variable in some panel data (xtset by id and year over 5 years) that I would lik…
Creating new variables on the basis of relationship to head, age and wages?Hi, I want to do two things in STATA but I do not know the commands to it. The data is of two rounds…
Subscribe to:
Post Comments (Atom)
0 Response to How to use Loocv?
Post a Comment