Description Usage Arguments Details Value Author(s) Examples

View source: R/extractAIC.logistf.r

Compute all the single terms in the scope argument that can be added to or dropped from the model, fit those models and compute a table of the changes in fit.

1 2 3 4 |

`object` |
a fitted logistf object |

`scope` |
The scope of variables considered for adding or dropping. Should be a vector of variable names. Can be left missing; the method will then use all variables in the object's data slot which are not identified as the response variable. |

`test` |
The type of test statistic. Currently, only the PLR test (penalized likelihood ratio test) is allowed for logistf fits. |

`...` |
further arguments passed to or from other methods. |

`drop1`

and `add1`

generate a table where for each variable the penalized likelihood ratio chi-squared, the degrees of freedom, and the p-value for dropping/adding this variable are given.

A matrix with `nvar`

rows and 3 columns (Chisquared, degrees of freedom, p-value).

Georg Heinze

1 2 3 4 5 6 |

logistf documentation built on May 30, 2017, 5:25 a.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.