update_lambda: Wrapper for 'optim' and 'qmle_obj'.

Description Usage Arguments Author(s)

View source: R/ruv2_fa.R

Description

Uses Brent's method to optimize the variance inflation parameter given sig_diag and alpha.

Usage

1
update_lambda(alpha, sig_diag, lambda, Y1, Y2, maxit = 10)

Arguments

alpha

The current factor loadings

sig_diag

A vector of the current variances

lambda

The current inflation parameter for Y1

Y1

The first part of the observations.

Y2

The second part of the observations.

maxit

The number of iterations to run. Shouldn't be too large since this is only an intermediate step.

Author(s)

David Gerard


dcgerard/vicar documentation built on July 7, 2021, 1:08 p.m.