Description Usage Arguments Value
Create a sample of surviving observations for simulation
1 2 3 |
obs |
The number of observations in the dataset |
rate |
The survival rate. This should be a number between 0 and 1. The closer to 0 the stronger the pressure to be optimal. |
sd |
The standard deviation of noise term of the performance. A higher
|
d |
The quadratic effect of the two decisions that captures their the diminishing returns. |
b |
The contribution to performance of the two decisions of interest. A
four element vector for the intercept, |
g |
A vector of two coefficients that indicate the size of the moderation effect of z on the relation between x and y. |
A dataset with simulated y
and x1
, x2
for
surviving observations. The data has dimensions = c(obs, 7)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.