Dear all,
Thanks to Prof Baum, a new command is available from SSC.
cv_kfold is a post estimation command that implements a k-fold cross-validation procedure. You can choose the number of "folds" and repetitions you want to do to implement the procedure.
For the case of "regress" you can also use cv_regress, which is faster, and implements the leave-one-out CV procedure.
Best regards,
Fernando
Related Posts with new to SSC cv_kfold
Coefplot for balance tests using rdrobustI'm trying to plot the coefficients of rdrobust estimates using coefplot: Here is what I'm trying to…
Titles for graphs in loopsHello everyone, I'm trying to save some graphs, and the code is working for saving them, but I can'…
Generating variables recording the properties of other variablesHi all, I'm a beginner of Stata user. I'm struggling with my dataset. I have four variables: househo…
missing values with egen anycountHi there. Is it possible to generate a newvar that counts up the number of particular values for a v…
Linking matches in StataHi everyone! I was wondering if it is possible in Stata to turn Table1 into Table2. I simply want t…
Subscribe to:
Post Comments (Atom)
0 Response to new to SSC cv_kfold
Post a Comment