experimental_results: Report the results of the experiment as well as confidence...

View source: R/public.R

experimental_resultsR Documentation

Report the results of the experiment as well as confidence intervals.

Description

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.

Author(s)

Adam Kapelner

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)

optDesignSlopeInt documentation built on July 9, 2023, 6:43 p.m.