ladreg: Fitting LAD Models

Description Usage Arguments Value References Examples

Description

Fitting LAD Models

Usage

1
ladreg(y, X, intercept = 1, alpha = 0.05, print = 1)

Arguments

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.

Value

outliers

A vector with outliers indices.

.

References

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

Examples

1
2
3
### Using stackloss data

ladreg(stack.loss, stack.x, intercept =1, alpha=0.05, print=1)

LadR documentation built on May 1, 2019, 7:12 p.m.

Related to ladreg in LadR...