Questions tagged [confidence-interval]

In statistics, a confidence interval is a measure of the precision of an estimate of an underlying parameter. In principle, if the estimate is computed several times on independent samples of data, the parameter should fall within associated confidence intervals a set proportion of the time. This proportion is known as the coverage probability, and is most commonly set to be 95%.

When estimating a vector of parameters, c(θ), based on observations of some random variables whose distribution depends on those parameters in some way, a confidence interval (for scalar θ) or confidence region (for vector c(θ)), is some set C=C(X) such that P(c(θ) ∈ C) = 1−α. To note:

  1. The confidence interval is a function of the data, X, so is itself random.
  2. The statement regarding the probability that c(θ) ∈ C should be regarded with respect to the randomness in X which controls C. Since confidence intervals are a frequentist notion, one should not think of the probability as applying to the unobserved parameter c(θ), which, to a frequentist, is not random.
  3. Often one can only compute approximate confidence intervals, which may have the nominal coverage asymptotically in the sample size.

Tag usage

Questions on should be about implementation and programming problems, not about the statistical or theoretical properties of the technique. Consider whether your question might be better suited to Cross Validated, the StackExchange site for statistics, machine learning and data analysis.

1131 questions
-3
votes
1 answer

How create Grafana dashboard for view metric and her confidence intervals?

Research Grafana how tool for create dashboard for view metric and her confidence intervals. Prepare data frame and import to PostgreSQL. CREATE TABLE public.rnd_ci ( datetime TIMESTAMP, yhat_lower float, yhat_upper float, yhat float, y…
Nikolay Baranenko
  • 1,582
  • 6
  • 35
  • 60
-3
votes
1 answer

add confidence interval to summary output in R

I am running a linear regression model, using stepwise selection procedure and would like to get the confidence intervals in the summary table. How can i do this ? The purpose is to be able to use xtable to use the output in Latex step.model <-…
user1607
  • 531
  • 7
  • 28
-3
votes
1 answer

How to calculate confidence intervals for a vector?

I have a vector: vector <- c(12, 17, 24, 35, 23, 34, 56) How to calculate confidence intervals (90%, 99%, 95%) for this vector in R? This is example of result I want: enter image description here
Cuong.S
  • 39
  • 1
  • 1
  • 5
-3
votes
1 answer

Confidence interval for expected value of variable in linear model R

I have uploaded a dataset and fit a linear model to it where yis the predictor, x is the response, and d is the dataset.
uytt
  • 1
  • 3
-3
votes
1 answer

How to change confidence interval level of marginsplot in Stata

Is it possible to change the confidence interval level (say from the default 95% to 90%) when using Stata's marginsplot command? It does not seem to accept the level(90) option or keep information from a preceding margins, level(90) command.
M Duna
  • 1
  • 1
  • 2
1 2 3
75
76