Learn R Programming

gofedf (version 0.1.0)

lmFisherByHessian: Compute Fisher information matrix in the case of linear model with Normal residuals.

Description

Compute Fisher information matrix in the case of linear model with Normal residuals.

Usage

lmFisherByHessian(x, y, theta)

Value

Fisher information matrix for linear models.

Arguments

x

a matrix with n rows and p columns containing the explanatory variables.

y

a numeric vector of length n containing the response variable.

theta

a numeric vector of length (p+1), containing MLE of parameters in a linear model.