Learn R Programming

metaSDTreg (version 0.2.2)

metaSDT.loglik: Meta-SDT log-likelihood

Description

Meta SDT log-likelihood function, internal function. Used by metaSDTreg.

Usage

metaSDT.loglik(parm, df, A, X, X.n = NULL, X.s = NULL, L0, K0)

Arguments

parm

Parameters of the model, c(intercepts^T,d.n,d,d.s,beta^T)^T, where length(intercepts)=K0-1 and lenght(beta)=ncol(X).

df

Data frame

A

Matrix of responses

X

Matrix of covariates

X.n

Presently not in use

X.s

Presently not in use

L0

Levels of the type 2 task

K0

Levels of the ordinal variable A