Description Usage Arguments Value Examples

Robust stepwise selection of covariates

1 |

`y` |
Dependent variable |

`x` |
Covariates |

`cn` |
The constant for Huber's psi-function |

`cnr` |
The constants for Hampel's three part redescending psi function |

`p0` |
The P-value cut-off |

`sg` |
Scale value of residuals |

`nu` |
The order for calculating the P-value |

`kmx` |
The maximum number of included covariates |

`mx` |
The maximum number of included covariates if the option subset =TRUE is used |

`kex` |
The excluded covariates |

`sub` |
Logical, if TRUE best subset selected |

`inr` |
Logical TRUE to include intercept |

`xinr` |
Logical TRUE if intercept already included |

`red` |
Logical If true Hampel's three part redescending psi function |

pv In order the subset ind, the regression coefficients, the Gaussian P-values, the standard P-values.

res The residuals

stpv The stepwise regression results: covariate, P-value and scale

1 2 |

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.