Report the results of the experiment as well as confidence intervals.
Usage
experimental_results(xs, ys, alpha = 0.05, B = 1000)
Arguments
- xs
The design
- ys
The measurements of the response
- alpha
1 - alpha is the confidence of the computed intervals. Default is 0.05.
- B
For the confidence interval methods with an embedded bootstrap (or resampling), the number
of resamples (defaults to 1000).
Value
A list object containing the estimate as well as confidence intervals and parameters.
Examples
n = 10
xmin = 5 / 15
xmax = 19 / 1
xs = runif(n, xmin, xmax)
ys = 2 + 3 * xs + rnorm(n)
experimental_results_info = experimental_results(xs, ys)