Learn R Programming

FactorCopulaModel (version 0.1.1)

oblique_grad_fa: Gaussian oblique factor structure correlation matrix

Description

MLE of parameters in the Gaussian oblique factor model for d variables and m groups,

Usage

oblique_grad_fa(grsize, start, data=1, cormat=NULL, 
                            n=100, prlevel=0, mxiter=100)

Value

list with nllk: negative log-likeilihood;rhovec: the estimated mle; loadings: loading matrix; cor_lat: correlation matrix of the latent variables; Rmod: the correlation matrix with optimized parameters.

Arguments

grsize

vector of group sizes (variables ordered by group)

start

starting 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)

data

n x d data set to compute the correlation matrix if correlation matrix (cormat) not given

cormat

dxd (empirical) correlation matrix of normal scores

n

sample size, if available

prlevel

print.level for nlm()

mxiter

maximum number of iterations for nlm()