Skip to main content

Questions tagged [confidence-interval]

A confidence interval is an interval that covers an unknown parameter with $100(1-\alpha)\%$ confidence. Confidence intervals are a frequentist concept. They are often confused with credible intervals which is the Bayesian analog.

Filter by
Sorted by
Tagged with
4 votes
1 answer
92 views

I am trying to understand how to obtain the confidence interval for a function fitted with scipy.optimize.least_squares. If my understanding is correct, I'd need to take the "Modified Jacobian ...
opengisapprendice's user avatar
8 votes
1 answer
172 views

I fitted a linear mixed model in R and tried to compute marginal means using emmeans, ggemmeans (from ggeffects), and ggpredict (also from ggeffects). The predicted means are similar, but the ...
Fmt's user avatar
  • 81
2 votes
1 answer
52 views

I’m trying to design an experiment for a system where two different components both contribute to the final accuracy, and I can only test a small subset of all possible combinations. A concrete ...
Sampling Sapling's user avatar
5 votes
1 answer
509 views

Original question: ~~I don't know how to intrepet the result I got from my OLS analysis. The issue is that I can fit a horizontal line within the 95% CI even though the overall p-value for the model ...
Melon's user avatar
  • 61
0 votes
1 answer
27 views

On the page https://www.ons.gov.uk/methodology/methodologytopicsandstatisticalconcepts/uncertaintyandhowwemeasureit, there's a section where the UK Office for National Statitics talks about non-...
Coris's user avatar
  • 3
5 votes
3 answers
171 views

Many years ago, I needed a lower bound for a $(1- \alpha )100 \% $ one-sided confidence interval for $| \mu |$, assuming $X\sim N( \mu , \sigma^2I_n) $ with $ \sigma^2 $ known. Now $\bar{X}\sim N( \mu ...
Graham Bornholt's user avatar
2 votes
1 answer
242 views

The question titled “How are the standard errors of coefficients calculated in a regression?” is asking how the standard errors of regression coefficient estimates are computed (for example, the ...
Laut567's user avatar
  • 83
1 vote
1 answer
51 views

The question: I obtained a dose-response function (predictor vs relative risk) through meta-analysis using the dosresmeta package for R. The package applies a random effects model (REML)and I fitted a ...
Jade's user avatar
  • 413
1 vote
1 answer
34 views

Question: Given a component lot where a sample is drawn for testing leading to the determination of the sample mean and variance, a one-sided tolerance limit,$\mu + \mathrm{KTL} \cdot \sigma,$ is ...
TimC1's user avatar
  • 11
7 votes
1 answer
265 views

I'm doing stats for medical chart review research. The binary outcomes vary in probability from less than 0.05 to greater than 0.5 depending on risk factors. For relatively more common outcomes like ...
syndromeofme's user avatar
3 votes
1 answer
66 views

I am trying to understand this multinomial logistic regression model. The dependent variable is subjective class. There are two independent variables and an interaction term (objective class and year)....
spindoctor's user avatar
0 votes
0 answers
30 views

I have problems designing a confidence interval for an quantum-based authentication protocol in my thesis. The protocol is based around measuring (Pearson) correlation $\rho$ between $2\times N$ ...
practical seal's user avatar
10 votes
4 answers
426 views

Let $X,Y$ be random variables given by $X=X_1 + \dots + X_n$, $Y=Y_1 + \dots + Y_n$, where the $X_i$ are iid with distribution Bernoulli($p$) and the $Y_i$ are iid with distribution Bernoulli($q$). ...
D.W.'s user avatar
  • 7,188
11 votes
1 answer
892 views

Let's say i want to test for the difference of mean values of two distinct groups having each N observations. The null hypothesis would be that there is no difference - this could for example be ...
Ggjj11's user avatar
  • 2,345
1 vote
0 answers
84 views

I have implemented the following model using mgcv package ...
Rahul's user avatar
  • 133
7 votes
4 answers
909 views

I am in the field of medical research and had a few questions regarding statistics. Is it preferred for a study to state both p-values and confidence intervals together? What extra information do ...
Melvin's user avatar
  • 101
0 votes
0 answers
35 views

There is a population of devices that undergo a repeating cycle of stimuli when in standby. The time in standby mode is a random variable. When called upon to operate they may either fail to operate ...
Micks's user avatar
  • 11
12 votes
3 answers
526 views

I run a sign test in R and get repeatedly contradicting p-values and confidence interval (CI). See for example these results of BSDA::SIGN.test() with two dummy ...
LulY's user avatar
  • 566
5 votes
2 answers
447 views

I run an Exact Wilcoxon signed rank test using exactRankTests::wilcox.exact() in R. The test is not significant (p>.05) but the 95% CI does not include zero. How ...
LulY's user avatar
  • 566
2 votes
1 answer
103 views

Consider a random sample of size n $X$, and a statistical model for the data generation process $\{{\mathbb{P}_\theta}\}_{\theta \in \Theta}$ with the true parameter being $\theta_0$. In many ...
JYR's user avatar
  • 23
2 votes
0 answers
64 views

In ordinary least squares regression with multiple predictors, statisticians sometimes choose a model using only some of the predictors, after concluding that the others are not significant. I have ...
Michael Hardy's user avatar
0 votes
1 answer
82 views

I have a dataset of participants performing a maximum work task at various loads, under two conditions c("A", "B"). I would like to estimate at what load work becomes the same in ...
Jem Arnold's user avatar
0 votes
1 answer
59 views

Background: Working on Exercise 9.23 (a) in "Statistical Inference, 2nd Edition" by Casella and Berger. Simply speaking, the problem asks for a $1 - \alpha$ confidence interval for a Poisson ...
w116c576's user avatar
4 votes
3 answers
175 views

When writing complex software, it is common for some of the tests to be "flaky", failing in a seemingly random fashion some fraction of the time. Such failures can often be eliminated by ...
l0b0's user avatar
  • 183
0 votes
0 answers
56 views

I’m plodding along as I try to figure out my mixed modeling output. I have some confusion understanding the output that I hope someone can clarify. I have a 2 x 2 repeated measures design (Consistency:...
Elizabeth's user avatar
  • 373
3 votes
1 answer
94 views

I am building a model to predict an output parameter based on three inputs, and collecting sample data is relatively expensive. I'd like to optimise the selection of the next sample points I take to ...
Cameron Dowd's user avatar
3 votes
2 answers
343 views

I am not sure if my question is more for crossvalidated or stackoverflow, because I am not sure if the problem is in the code or my understanding of the problem. I am trying to run Inverse Probability ...
AnnaP's user avatar
  • 93
1 vote
0 answers
59 views

Assume I have several estimates each with its own SE. If I compute the mean of those estimates, how can I compute the final CI of the mean? This is how I would do it if those values were random ...
quantum.girl's user avatar
4 votes
1 answer
256 views

A colleague of mine is running fresh analyses on an old dataset, using multiple logistic regression. We have the output from an old analysis, giving 95% CIs for odds ratios for different predictors, ...
Mohan's user avatar
  • 1,091
2 votes
0 answers
46 views

I'm working on a problem that arises in a physics context and involves probabilistic modeling using binary outcomes. I'm not a mathematician by training, so apologies in advance if I miss standard ...
Dotman's user avatar
  • 91
0 votes
1 answer
86 views

I have aggregated data on disease occurence for two time intervals, time A and time B say, in different countries. I am interested in the relative change from time A to time B relative to time A. (...
kappie88's user avatar
2 votes
1 answer
132 views

Imagine we have a random variable: $$X = \mu + I + J + K + \varepsilon$$ where $\mu$ is a fixed unknown parameter, $I \sim \mathcal{N}(0, \sigma_i^2)$, $J \sim \mathcal{N}(0, \sigma_j^2)$, $K \sim \...
Alfredo Montero's user avatar
0 votes
1 answer
66 views

If I compute the observed probability of an event like so: observed probability = positive outcome/total number of outcomes How can I compute confidence intervals ...
Bob's user avatar
  • 1
2 votes
1 answer
76 views

I’m running a study with 4 conditions, each representing a different visual design of a network visualization. I want to compare how effective each design is across different task types. Effective ...
Hesper's user avatar
  • 23
1 vote
1 answer
95 views

I am currently trying bootstrapping. My dependent variable is continuous (Change in ROA). My independent variables are GDP growth and inflation rate (both continuous). I also include three control ...
Marie's user avatar
  • 11
7 votes
1 answer
282 views

I am analyzing data consisting of observations of i.i.d. users. For these users I compute all pairwise distances, forming a distance matrix $D$. From this, I calculate for each user i the average ...
francesco's user avatar
4 votes
1 answer
321 views

I'd like to create a graph for my paper that visualizes my binomial glmm, ideally with confidence intervals. However, my CIs using ggpredict came out a bit funky. Here is some example code using the ...
mels's user avatar
  • 343
13 votes
3 answers
697 views

I'm trying to calculate the 50% confidence interval of the true mean based on a sample of a gaussian distribution. I've written some code in python which tests if the 50% confidence interval of 3 ...
AReubens's user avatar
  • 133
1 vote
0 answers
37 views

I am currently writing a small library for sign restricted SVAR, and I ran into a problem of constructing error bands for impulse responses. At this moment, I use Lutkepohl delta-method to construct ...
bns communism's user avatar
0 votes
1 answer
45 views

I've created a custom anomaly detection algorithm. I have time series data sampled at 100Hz which contains artifacts which repeat in a semi regular pattern, at a rate of about 10/min. The artifact ...
pnadeau's user avatar
  • 103
3 votes
2 answers
131 views

Second attempt at asking this question: Consider $N$ IID realizations of random variables $X_i, i\in\{0,1,\cdots,N-1\}$ where the random variables are interval constrained i.e., $X_i\in[0,1]$. I ...
rhz's user avatar
  • 237
6 votes
3 answers
290 views

I have a generic but very practical question which I am not able to find answers in textbooks so far: Suppose I have taken $N$ measurements of a value with unlimited bounding range. The mean and ...
CPW's user avatar
  • 79
3 votes
2 answers
379 views

I'm taking a statistics class. The question has been graded, but I question the validity of the official answer. We are asked whether, based solely on the confidence intervals, the mean BMI differs ...
Dana's user avatar
  • 41
1 vote
0 answers
55 views

I am reviewing data from a stratified random sample to describe the proportion of the total population exhibiting Trait A ($p_A$). Due to time/resource constraints, I conducted a disproportionate SRS ...
xodlam's user avatar
  • 11
7 votes
2 answers
316 views

Below is a question that has nagged me for a long time. I've had a look at some other threads about confidence intervals (in particular this one What, precisely, is a confidence interval?) but I ...
Denis's user avatar
  • 73
8 votes
2 answers
512 views

I have computed a geometric mean ratio (variable=area under plasma concentration curve) of two groups (males/females) as 0.9338682 and its 90% confidence interval as 0.9684333 to 1.184019. Clearly, ...
Mubita 's user avatar
  • 121
1 vote
1 answer
179 views

How can I compute the 90% confidence interval of the geometric mean ratio of two unequal groups given the group sizes, geometric means and geometric standard deviations of the two groups? I have tried ...
Mwangana's user avatar
2 votes
1 answer
158 views

I am trying to approach a problem that I have that involves portioning sufficiently-identical/interchangeable objects (think small medical devices, toys, etc.) with close, but not identical masses ...
1a28934's user avatar
  • 23
1 vote
0 answers
98 views

Typically when estimate different statistical parameters like Correlation between 2 variables like Height and ...
Daniel Lobo's user avatar
0 votes
0 answers
41 views

I've run a Poisson QAP (quadratic assignment procedure) regression in R on my network data. As expected, the output provides permutation-based p-values, but not standard errors or confidence intervals....
user23757853's user avatar