logACi2q.score2: Gradient of the log of the ascertainment correction piece for...

Description Usage Arguments Value

View source: R/Functions5.R

Description

Calculate the gradient of the log transformed ascertainment correction under designs that sample based on a bivariate Q_i (numerically).

Usage

1
logACi2q.score2(subjectData, beta, sigma.vc, rho.vc, sigma.e)

Arguments

subjectData

a list containing: yi, xi, zi, Weights.i, w.function, SampProb, cutpoints

beta

mean model parameter p-vector

sigma.vc

vector of variance components on standard deviation scale

rho.vc

vector of correlations among the random effects. The length should be q choose 2

sigma.e

std dev of the measurement error distribution

sigmae

std dev of the measurement error distribution

Value

gradient of the log transformed ascertainment correction under the bivariate sampling design


schildjs/ods4lda documentation built on March 16, 2020, 8:16 a.m.