GenStrucData_Normal: Generate normal data using latent variable model

Description Usage Arguments Value

Description

Generate normal data using latent variable model

Usage

1
2
GenStrucData_Normal(u, v, n = 50, sigma_z = 1, sigma_x = NULL,
  sigma_y = NULL)

Arguments

u:

caonical coefficients for x

v:

canonical coefficients for y

n:

sample size

sigma_z:

sd of the latent variable z, scalar

sigma_x:

covariance matrix of x, default to be identity

sigma_y:

covariance matrix of y, default to be identity

Value

a list containing data mattrix X and Y


DongyueXie/scca documentation built on May 29, 2019, 2:37 p.m.