Top "Confidence-interval" questions

In statistics, a confidence interval is a measure of the precision of an estimate of an underlying parameter.

Compute a confidence interval from sample data

I have sample data which I would like to compute a confidence interval for, assuming a normal distribution. I have …

python numpy statistics confidence-interval
How to calculate the 95% confidence interval for the slope in a linear regression model in R

Here is an exercise from Introductory Statistics with R: With the rmr data set, plot metabolic rate versus body weight. …

r statistics linear-regression confidence-interval
Correct way to obtain confidence interval with scipy

I have a 1-dimensional array of data: a = np.array([1,2,3,4,4,4,5,5,5,5,4,4,4,6,7,8]) for which I want to obtain the 68% confidence interval (ie: …

python numpy scipy confidence-interval
Confidence intervals for predictions from logistic regression

In R predict.lm computes predictions based on the results from linear regression and also offers to compute confidence intervals …

r statistics glm confidence-interval
Python function to get the t-statistic

I am looking for a Python function (or to write my own if there is not one) to get the …

python python-2.7 statistics confidence-interval
How do I plot confidence intervals in MATLAB?

I want to plot some confidence interval graphs in MATLAB but I don't have any idea at all how to …

matlab plot confidence-interval
Calculating confidence intervals for a non-normal distribution

First, I should specify that my knowledge of statistics is fairly limited, so please forgive me if my question seems …

matlab normal-distribution confidence-interval
Confidence interval for binomial data in R?

I know that I need mean and s.d to find the interval, however, what if the question is: A …

r statistics probability confidence-interval
Get 95% confidence interval with glm(..) in R

Here are some data dat = data.frame(y = c(9,7,7,7,5,6,4,6,3,5,1,5), x = c(1,1,2,2,3,3,4,4,5,5,6,6), color = rep(c('a','b'),6)) and the plot of …

r statistics glm confidence-interval mixed-models
How to plot confidence interval in Python?

I recently started to use Python and I can't understand how to plot a confidence interval for a given datum (…

python python-3.x confidence-interval