Publication | Closed Access
CROSSFOLD: Stata module to perform k-fold cross-validation
14
Citations
0
References
2012
Year
Stata ModuleParallel AnalysisEngineeringData ScienceData MiningUnused GroupDataset CreationK PartitionsManagementData PreparationData IntegrationSpecified ModelStatisticsData Modeling
crossfold performs k-fold cross-validation on a specified model in order to evaluate a model's ability to fit out-of-sample data. This procedure splits the data randomly into k partitions, then for each partition it fits the specified model using the other k-1 groups and uses the resulting parameters to predict the dependent variable in the unused group.