ifa.init.random: A function to randomly inizialize the IFA parameters

Description Usage Arguments Value See Also Examples

Description

A function to initialize the IFA parameters to random values.

Usage

1

Arguments

y

The data to be fitted

L

The number of factors

Value

A list containing 2 initialized parameters:

H

The factor loading matrix

psi

The noise diagonal variance matrix

See Also

ifa.init.pca

Examples

1
2
3
data(memory)
init.values<-ifa.init.random(memory$x,2)
fit<-ifa.em(memory$x,c(2,2),it=50,eps=0.0001,init.values)

ifa documentation built on May 2, 2019, 1:07 p.m.