Description Usage Arguments Value
Constructs a 100(1-alpha) percent confidence interval for the slope of a simple linear regression model.
1 | Slope.1Regressor.CI(form, data, n, alpha = 0.05, one.sided = F)
|
form |
expression representing the relationship between the variables contained in data (e.g., y ~ x). Variable names in this expression must match the column names of data. |
data |
data frame object containing the data. Columns must represent the predictor and response variables, in either order. |
n |
the number of data points collected. |
alpha |
the significance level. Set to 0.05 by default. |
one.sided |
boolean denoting whether the function should return one-sided confidence intervals. False by default. |
The confidence interval(s): one-sided lower and upper bounds (in a list) or just the two-sided confidence interval (as a simple vector).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.