fastLm: Fast least squares

Description Usage Arguments Value

View source: R/RcppExports.R

Description

This functions fits the regression y ~ X using Armadillo solve function.

Usage

1
fastLm(y, X)

Arguments

y

Vector of outcomes.

X

Matrix of covariates (first column should be 1's)

Value

List of regression output with elements coef, stderr.


ptoulis/residual-randomization documentation built on July 12, 2019, 8:54 p.m.