generate.eive.data | R Documentation |
Generates simulated errors-in-variables regression data
generate.eive.data(n, e.sd, delta.sd, seed = 12345, useotherx = FALSE)
n |
Number of observations |
e.sd |
Standard deviation of error term of regression |
delta.sd |
Standard deviation of error in exploratory variable |
seed |
Seed for random number generator. 12345 by default |
useotherx |
Logical. If TRUE, an additional independent variable is added. |
A matrix of variables.
xdelta
Errorenous X variable
otherx
Other X variable
y
Response variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.