Learn R Programming

diagL1 (version 1.0.0)

lambda_mle: Function to estimate lambda via MLE

Description

Function to estimate lambda via MLE

Usage

lambda_mle(model)

Value

lambda MLE (Maximum Likelihood Estimator) estimator.

Arguments

model

A linear model L1 fitted with the rq function from the quantreg package.

Examples

Run this code
data(stackloss)
model_L1 = regL1(stack.loss ~ stack.x)
lambda_mle(model_L1)

Run the code above in your browser using DataLab