c_out_dep: Object class constructor

Description Usage Arguments Value

View source: R/Functions_Model_Criteria.R

Description

This function constructs an object class for the generic function out_dep()

Usage

1
c_out_dep(lc, eta = NULL, modclass = "lmcd")

Arguments

lc

linear combination ‘lc = X’beta'

eta

for models needing extra parameter besides beta in the linear combination lc. eta can be a vector. For "lmcd", eta is the vector of errors; must of the same length as Y For "nbcd", eta must be a vector of two elements; the first one is parameter th and the second is the seed for random generation. For other classes, eta is the seed for random generation.

modclass

the class of model. Currently "lmcd" for linear regression, "logitcd" (logit model), "poiscd" (poisson model), "probitcd" (probit model), "nbcd" (negative binomial) are supported.

Value

object an object list with class attribute modclass.


estsyawo/RpacSPD documentation built on Aug. 12, 2019, 5:22 a.m.