Linear Latent Variable Models in R: Odel Building ON Linear Constraints
Linear Latent Variable Models in R: Odel Building ON Linear Constraints
Linear Latent Variable Models in R: Odel Building ON Linear Constraints
> plot(e) x1 x2
M ULTIVARIATE PROBIT
R ANDOM REGRESSION
> m <- lvm(c(y1,y2)~f(x,b)+f(z,b))
> binary(m) <- ~y1+y2
Random slopes allowing for unbalanced designs
> covariance(m) <- y1~y2
> estimate(m,data,control=list(trace=1))
> m <- lvm(c(y1,y2,y3)~f(eta,1))
> regression(m,c(y1,y2,y3)~u) <- list("x1","x2","x3") M ULTIGROUP ANALYSIS I
> intercept(m,~y1+y2+y3) <- list("mu")
> covariance(m,~y1+y2+y3) <- list("v","v","v") P
log L(θ|d) = i log Li (θ|di )
> latent(m) <- ~u+eta
> estimate(m,data,missing=TRUE)
> estimate(list(m1,m2,m3),list(d1,d2,d3))
G RAPHICS I I NDIRECT EFFECTS . TOBIT /P ROBIT MODEL
y u E(y | x, z) = a(x + z)