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%.
confidence-interval
1,171
questions
0
votes
0
answers
10
views
Significance of the coefficients of a multinomial mixed regression built with npmlt function
I fitted (using npmlt function) a mixte multinomial regression model which ran without errors.
I expected that the outputs of the model include p-values that I didn't find.
My need now is that someone ...
2
votes
1
answer
113
views
Plotting Confidence Intervals on a ggplot
I am quite new with r so bear with me please. I am plotting a daily avg temperature across a four month period. I want to be able to visualize the confidence I have across the data. I believe the best ...
0
votes
0
answers
29
views
How to calculate confidence interval using the delta method in R? [migrated]
I'm trying (struggling) to calculate the delta method for a confidence method in R. Does anyone know how to do it? Any advice would be most welcome.
In the literature, there's a simple IV/2SLS model ...
0
votes
0
answers
18
views
How to calculate the confidence intervals for a time-lagged cross correlation?
I am trying how to calculate the confidence intervals for a time-lagged cross-correlation graph. It's a bit complicated for me to understand probability concepts. I have investigated the formulas to ...
1
vote
0
answers
76
views
Why are R and Python giving me different confidence intervals in a logistic model?
I'm making a logistic model predicting whether individuals' health (0=good, 1=poor) is affected by whether they're exposed to secondhand smoke and a few other demographic factors. In R, the code I run ...
0
votes
0
answers
21
views
how to calculate confidence score for each prediction value in CNN regression problem?
In regression let's say i am doing a prediction using CNN and if i have to answer the confidence value for each prediction what should be the way to calculate the confidence level for each value of ...
0
votes
0
answers
6
views
Values used by the predict funtion
For un linear mutivariate model as :
Y ~ OM + SOCA + STIR + Uncov
built on 120 observation
when I compute
predict(Mod,data.frame(OM=15, SOCA =10, STIR=130, Uncov =3), interval ="prediction" )...
0
votes
0
answers
18
views
statsmodels ETSModel get_prediction() returns error: "Object has not attribute 'index'"
Here is my code:
import numpy as np
from statsmodels.tsa.exponential_smoothing.ets import ETSModel
vec = np.linspace(0,10, num = 50 )
ETS_model = ETSModel(vec,
error="add",
trend=&...
1
vote
1
answer
95
views
How to Calculate and Plot Prediction and Confidence Intervals for Linear Regression
I need to plot prediction and confidence intervals and need to use python and only the following packages. How do I plot both intervals in the same model. I managed to plot the prediction intervals ...
3
votes
1
answer
54
views
Bootstrapped confidence intervals for predicted data shows overlap when fixed effects do not
Note: This might be more appropriate for Cross Validated, and I'm fine moving it over there if requested, but I thought I would try here first since it could be r-related.
I am comparing growth curve ...
0
votes
0
answers
36
views
Confidence level and error margin calculation via python
I wanted to calculate confidence level and error margin via python language using numpy. However, I am not sure whether formaulation is true or not. I could not apply the formula of error margin to ...
0
votes
0
answers
34
views
How to interpret output of mixed effects logistic regression (glmer) with one scaled fixed effect?
I am running a logistic regression to examine the effect of year on the probability that a given cell contains off highway vehicle routes (binary response of Y or N). I am including two random effects ...
0
votes
0
answers
47
views
Different interval confidences on the same forest plot (R, survival)
I'm currently working on survival functions and especially on forest plots. I would like to plot the different levels of confidence intervals on the same line, with different colors or shades.
To do ...
0
votes
0
answers
27
views
Is plot_pacf bugged, or am I misinterpreting?
Working with univariate time series, and pacf and plot_pacf look like they disagree.
data = pd.DataFrame([92.525053,94.143395,94.411914
,93.575748,91.589286,90.287014,94.079157
,87.876495,87.574407,89....
0
votes
2
answers
128
views
Is there support for computing confidence intervals for Wilcoxon Test in Python?
Introduction/Summary of Problem
I'm working on a project with an intention of computing one-sample confidence intervals about the mean for several variables of interest in my dataset. After performing ...