cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

JMP Knowledge Base

Choose Language Hide Translation Bar
How are the crossvalidation statistics defined in Partition?

The k-fold crossvalidation method randomly divides all of the (non-excluded) rows in the datatable, D, into k subsets: D1, D2, . . . , Dk. Each row is randomly assigned to one of the k groups.

First, a model is fit using all of the data. Then, K different models are fit, using the same splits, with data from D - Di, where Di is the holdout fold. For continuous responses, the error for each observation in Di is calculated using the model, evaluated from D - Di. For nominal and ordinal responses, JMP® calculates -2LogLikelihood for each observation in Di using the model, trained from D - Di. This is repeated for each of the k folds. The root mean square errors for each of the k folds are squared and summed (or in the case of nominal and ordinal responses, the -2loglikelihood values are summed) to construct the crossvalidation SSE (or crossvalidation -2loglikelihood in the case of nominal and ordinal responses). The resulting folded SSE is then used to calculate a folded R square value.

 

[Previously JMP Note 36388]

Details
Operating System
macOS Windows
Products JMP

Recommended Articles