getIntegInfo_theta_y: Get integration info for log-likelihood calculation for...

Description Usage Arguments Details Value Author(s)

View source: R/getIntegInfo_theta_y.R

Description

getIntegInfo_theta_y determines the integration limits for the log-likelihood calculation for theta_y

Usage

1
getIntegInfo_theta_y(theta_y_list, Y)

Arguments

theta_y_list

theta_y as a list

Y

Matrix of dependent variable observations

Details

Determine the integration limits. For ordinal variables, this comes from tau in theta. For missing data, the integration limit is -Inf to Inf. Two variables are returned in a list:

(a) doIntegral, which is a [(J+K) x N] matrix J+K is the number of variables and N is the number of observations. doIntegral is T if an integration must be done and F otherwise. F occurs for non-missing, continuous observations.

(b) intLim, which is a [(J+K x N x 2] array and provides the integration limits for the maximum likelihood calculation

Value

A list consisting of the matrix doIntegral and array intLim [see details]

Author(s)

Michael Holton Price <MichaelHoltonPrice@gmail.com>


eehh-stanford/yada documentation built on June 18, 2020, 8:05 p.m.