linearreg_ci_slo(X, Y, cl)
Computes a confidence interval for the slope of the regression line using samples X and Y and confidence level cl.
See also linearreg linearreg_ht_slo linearreg_ht_reg
Example
X=(3, 4, 6, 6, 7, 8)
( 3 4 6 6 7 8 )
Y=(4, 5, 6, 6, 7, 8)
( 4 5 6 6 7 8 )
linearreg_ci_slo(X, Y, .95)
Linear Regression.
Confidence interval for the slope of regression line.
Confidence level : 0.95 (95%)
Results:
Interval : (0.583279864186363, 0.9167201358136361 )
Margin of error : 0.16672013581363657