Learn R Programming

LadR (version 1.0.6)

likelihoodD: Calculate Likelihood Displacement

Description

Calculate Likelihood Displacement

Usage

likelihoodD(y, X)

Arguments

y

A vector with response variables.

X

A matrix or vector with explanatory variables.

Value

Likelihood Displacement

A vector with Likelihood Displacement for each observation.

.

References

Elian, S. N., Andr<U+00E9>, C. D. S. and Narula, S. C. (2000) Influence Measure for the regression. Communications in Statistics - Theory and Methods, 29(4), 837-849. 10.1080/03610920008832518.

Examples

Run this code
# NOT RUN {
### Using stackloss data

likelihoodD(stack.loss, stack.x)
# }

Run the code above in your browser using DataLab