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

Description Usage Arguments Value NOTE

View source: R/CreateScoreFun.R

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.

Value

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

NOTE

This function is not exported.


pim documentation built on March 26, 2020, 7:57 p.m.