eel.lm: Extended empirical likelihood for linear regression

Description Usage Arguments Value Examples

View source: R/eel.lm.R

Description

Extended empirical likelihood for linear regression

Usage

1
eel.lm(b, x, y, abstol = 1e-08, maxit = 100)

Arguments

b

a vector of parameters to be tested.

x

a matrix or vector of data. Each row is an observation vector.

y

a matrix or vector of responses(numeric).

abstol

an optional value for the absolute convergence tolerance. Defaults to 1e-8.

maxit

an optional value for the maximum number of iterations. Defaults to 100.

Value

An object with S3 class "eel"

Examples

1
2
3
4
b <- c(1, 1)
x <- matrix(rnorm(100), nrow = 50)
y <- rnorm(50)
eel.lm(b, x, y)

markean/bayesEL documentation built on Nov. 28, 2020, 11:32 p.m.