Description Usage Arguments Value References Examples

Fitting LAD Models

1 |

`y` |
A vector with response variables. |

`X` |
A matrix or vector with explanatory variables. |

`intercept` |
1 for a model with intercept and 0 for a model without intercept. |

`alpha` |
significance level to hypotheses tests. |

`print` |
1 to print response variables, fitted values and residuals, 0 to don't print. |

`outliers ` |
A vector with outliers indices. |

.

Dielman, T. E. (2005) Least absolute value regression: recent contributions.
*Journal of Statistical Computational and Simulation*, **75**(4), 263–286. doi: 10.1080/0094965042000223680

1 2 3 | ```
### Using stackloss data
ladreg(stack.loss, stack.x, intercept =1, alpha=0.05, print=1)
``` |

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.