LogLikeiC2: Calculate the ss contributions to the conditional likelihood...

Description Usage Arguments Value

View source: R/Functions5.R

Description

Calculate the ss contributions to the conditional likelihood for the univariate and bivariate sampling cases.

Usage

1
LogLikeiC2(subjectData, beta, sigma.vc, rho.vc, sigma.e)

Arguments

subjectData

a list containing: yi, xi, zi, Weights.i

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

w.function

options include "mean" "intercept" "slope" and "bivar"

cutpoints

cutpoints defining the sampling regions. (a vector of length 4 c(xlow, xhigh, ylow, yhigh))

SampProb

Sampling probabilities from within each region (vector of length 2 c(central region, outlying region)).

Value

ss contributions to the conditional log likelihood. This is an internal function used by LogLikeC2


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