pfactor_nllk: log-likelihood Gaussian p-factor structure correlation matrix
Description
log-likelihood Gaussian p-factor structure correlation matrix with gradient
Usage
pfactor_nllk(rhvec,Robs,nsize)
Value
negative log-likelihood and gradient for Gaussian p-factor model
Arguments
- rhvec
vector of length d*p with partial corr representation of loadings
- Robs
dxd empirical correlation matrix
- nsize
sample size