GenStrucData_Count_normal: Generate count data

Description Usage Arguments Value

Description

Generate count data, using normal data from latent variable model

Usage

1
2
GenStrucData_Count_normal(u, v, n = 50, n_y = 1000, n_x = 1000,
  theta = 0.01, 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

n_y:

parameter n in DM model

n_x:

parameter n in DM model

theta:

oversidpersion parameter in DM model

Value

a list containing data matrix X and Y


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