censReg.fit: Support Functions for Censored Regression

censReg_AMLE.fitR Documentation

Support Functions for Censored Regression

Description

These are support functions for fitting censored regression. They perform either AMLE or MLE regression.

Usage

censReg_AMLE.fit(Y, X, dist = "normal")

censReg_MLE.fit(Y, X, Wt, dist = "normal")

Arguments

Y

the response data.

X

a matrix of the explanatory variables, including the intercept term.

dist

the distribuiton, either "normal" or "lognormal."

Wt

observation weights.

Value

a list containing the output from the FORTRAN code,or converted from survreg.

See Also

censReg, survreg


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.