Learn R Programming

FactorCopulaModel (version 0.1.1)

oblique_grad_nllk: log-likelihood Gaussian oblique factor structure correlation matrix

Description

log-likelihood Gaussian oblique factor structure correlation matrix with gradient for d variables and m groups,

Usage

oblique_grad_nllk(theta, grsize, Robs, nsize=100)

Value

negative log-likelihood and gradient for Gaussian p-factor model

Arguments

theta

vector of length d + m*(m-1)/2; d loading parameters followed by m*(m-1)/2 entries in correlation matrix of latent variables (lower triangle by row)

grsize

vector of group sizes (variables ordered by group)

Robs

dxd empirical correlation matrix

nsize

sample size if available