bifit: Compute WLS using Tukey's biweight function

Description Usage Arguments

View source: R/fun_Wilmoth.R

Description

Compute WLS using Tukey's biweight function

Usage

1
bifit(x, y, c, intercept, tol.biweight, tol.lsfit)

Arguments

x

A matrix whose rows correspond to cases and whose columns correspond to variables. x matrix should not include a column of ones

y

The responses, possibly a matrix if you want to fit multiple left hand sides. y can be matrix if there are multiple left-hand sides

c

Tuning constant when compute weighted least squared using Tukey's biweight function. Typically, between 6 to 9.

intercept

logical. Whether or not an intercept term should be used in least squares estimation. See lsfit.

tol.biweight

Tolerance for convergence of the biweight fit

tol.lsfit

Tolerance to be used in the matrix decomposition in least squares estimation. See lsfit.


mpascariu/LinearLink documentation built on May 6, 2021, 10:51 a.m.