Description Usage Arguments Value Author(s) References Examples

The cross-validation estimate of accuracy is sufficiently independent of the available model fitting criteria (including Generalized Cross-validation) that it provides a useful check on the extent of downward bias in the estimated standard error of residual.

1 2 |

`formula` |
Model formula, for passing to the |

`data` |
data frame that supplies the data |

`nfold` |
Number of cross-validation folds |

`debug.level` |
See |

`method` |
Fit method for GAM model. See |

`printit` |
Should summary information be printed? |

`cvparts` |
Use, if required, to specify the precise folds used for the cross-validation. The comparison between different models will be more accurate if the same folds are used. |

`gamma` |
See |

`seed` |
Set seed, if required, so that results are exactly reproducible |

`fitted` |
fitted values |

`resid` |
residuals |

`cvscale` |
scale parameter from cross-validation |

`scale.gam` |
scale parameter from function |

The scale parameter from cross-validation is the error mean square)

John Maindonald

https://maths-people.anu.edu.au/~johnm/nzsr/taws.html

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.