makedat | R Documentation |
This function generate data follows linear model based on parameter input.
makedat(n, p, beta, xsig, errsig, powx, powy, sqrtsig)
n |
sample size |
p |
number of covariates |
beta |
regression coefficients |
xsig |
standard deviation of x variables |
errsig |
residual standard deviation |
powx |
power for x variable transformation |
powy |
power of y variable transformation |
sqrtsig |
square root decomposition of correlation matrix |
x covariates. y outcome variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.