Learn R Programming

crctStepdown (version 0.5.2)

simpleLM: A very basic linear model solver

Description

Returns the OLS paramter estimates and fitted values. Used internally for quick fitting of null models.

Usage

simpleLM(y_, X_)

Value

A list with the parameter values and fitted values

Arguments

y_

A vector of outcome values

X_

The design matrix of fixed effects