ndfa_nonconstant: Normal Discriminant Function Approach for Estimating Odds...

Description Usage Arguments Value References

Description

See ndfa.

Usage

1
ndfa_nonconstant(y, xtilde, c = NULL, merror = FALSE, ...)

Arguments

y

Numeric vector of Y values.

xtilde

List of numeric vectors with Xtilde values.

c

Numeric matrix with C values (if any), with one row for each subject. Can be a vector if there is only 1 covariate.

merror

Logical value for whether there is measurement error.

...

Additional arguments to pass to nlminb.

Value

List containing:

  1. Numeric vector of parameter estimates.

  2. Variance-covariance matrix.

  3. Returned nlminb object from maximizing the log-likelihood function.

  4. Akaike information criterion (AIC).

References

Lyles, R.H., Guo, Y., and Hill, A.N. (2009) "A fresh look at the discriminant function approach for estimating crude or adjusted odds ratios." Am. Stat 63(4): 320–327.


vandomed/meuc documentation built on May 12, 2019, 6:17 p.m.