Description Usage Arguments Details Value References Examples

Tests for the degree of a polnomial. This test was suggested by Graybill (1976) and is discussed from a robust point-of-view in Section 4.7.1. of Kloke and McKean (2014).

1 | ```
polydeg(y, x, P, alpha = 0.05)
``` |

`y` |
vector of responses |

`x` |
Predictor |

`P` |
Super degree of polynomial which provides a satisfactory fit |

`alpha` |
Level of the testing |

Returns the degree of the polynomial based on the algorithm.

`deg` |
The determined degree |

`coll` |
Matrix of step information |

`fitf` |
Fit of the polynomial based on the determoned degreer |

Graybill, F.A. (1976), *Theory and application of the linear model*,
North Scituate, Ma: Duxbury Press.

Kloke, J. and McKean, J.W. (2014), *Nonparametric statistcal methods using R*, Boca Raton, FL: Chapman-Hall.

1 2 3 4 5 |

kloke/npsm documentation built on May 18, 2017, 9:42 p.m.

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.