Description Usage Arguments Details Value See Also
This function generates response variables Y under a given conditional model.
1  | 
X | 
 a n by p matrix, containing all the covariates.  | 
beta | 
 a p-dimensional vector, true regression coefficients.  | 
Ydist | 
 the type of conditional model.  | 
There are four choices of the conditional model: use "gaussian" to specify a linear model with gaussian noises, use "laplace" to specify a linear model with laplacian noises, use "binom" to specifiy a logistic model, with Y taking values in {-1,1}, use "poisson" to specify a log-poisson model.
A matrix of size n-by-1 containing the response variables.
Other models: 
Genotypes.parm(),
HMM.parm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.