- n
a positive integer, the sample size.
- p
an positive integer, the variable dimension.
- seed
a nonnegative integer, the random seed, default as 1.
- q
a positive integer, the number of factors.
- pzero
a positive integer, the number of zero loading vectors, default as p/4.
- sigma2
a positive real number, the homogenous variance of error term.
- gamma
a positive number, the common component of heteroscedasticity of error term.
- heter
a logical value, indicates whether generate heteroscendastic error term.
- rho
a positive number, controlling the magnitude of loading matrix.