CreateScoreFun: Create a score function for use in a pim.

Description Usage Arguments Value NOTE

Description

This function creates a suitable score function for the fitting process of a probabilistic index model.

Usage

1
CreateScoreFun(Z, Y, link = c("probit", "logit", "identity"), W = NULL)

Arguments

Z

the model matrix of pseudo-observations

Y

a vector with the response of the pseudo-observations

link

a character vector indicating the link function to be used.

W

a vector with weights. Currently ignored.

Value

a function used for estimating the coefficients by the estimator functions.

NOTE

This function is not exported.


pimdevel documentation built on May 2, 2019, 4:58 p.m.