lssvd: lsfit using SVD

View source: R/wald.R

lssvdR Documentation

lsfit using SVD

Description

not well optimized yet

Usage

lssvd(x, y, zero = 1e-07, ...)

lssvd_old(x, y, zero = 10^(-16), has_intercept = all(cbind(x)[, 1] == 1))

Arguments

x

a matrix of predictors. Should include an intercept term if needed

y

a vector or matrix of responses

zero

a value used to identify latent roots eseentially 0

has_intercept

not yet used

Value

A list with three elements: Beta, the matrix of coefficients; residuals and sse

Functions

  • lssvd_old(): previous version not using MASS::ginv


gmonette/spida2 documentation built on Aug. 20, 2023, 7:21 p.m.