1. Home
  2. Explore
  3. Statistics
  4. Confidence Intervals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Confidence Intervals

Transcript

All right. Well, welcome to this lecture where I'm going to be covering confidence intervals as part of our series on summary statistics specifically in the area of inferential statistics. Now, the 95% confidence interval is one of the most common metrics that we pair with the p value and effect size for the completeness and overall interpretation of the results. Now, if that seems a little confusing or scary, don't worry. I'm going to make it easy. But it is also part of a series that we're doing, okay? To make it easy. Now, I'm Dr. Busti, your faculty and host on This Is Why, a show that helps health care professionals transform the medical knowledge from what to why. Because when we know why we do what we do in the proper context of the evidence, it really changes the how. And that changes everything about those decisions that we make every day.

As I mentioned just a minute ago, if you need a full playlist or you need structure, which I'll cover here in a minute of where we're at, we have a playlist on this area of evidence-based medicine for descriptive and inferential statistics. Okay? You can see those on YouTube, but also at thisiswhy.health. Remember, this stuff is relevant for not only board exams and not only for people doing research, especially early on in your career if you're not familiar with some of the techniques, but it's most important for all of us who are expected to read the literature for lifelong learning. Okay. And also this particular topic on confidence intervals typically follows the review on what a p value is and what it's not. Okay. And again if you need that so you put the two together is the best way to utilize this particular topic.

All right so now orienting us where we are in the series. So part one before the study starts by a researcher they're supposed to do that. Part two at the completion of the study this is the analysis and that's where we're at. Part three of our series is really geared towards diagnostic tests. Now going back to part one before the study starts that's our statistical analysis plan again deciding what is our null and alternative hypothesis how many groups are we going to have okay what type of data am I dealing with is it nominal ordinal continuous that reflects our endpoint what's the question goes back to the null again we have lectures on all those topics if you need them now if you are considering analysis right then you have to decide is it parametric analysis or nonparametric analysis though I anticipate if you're going to do inferential statistics, which is where we're at today, right? Right now, you have to consider alpha values,

one-sided, two-sided power analysis to determine that sample size and where the level of significance is going to be. Now, we are in part two. So, the study was done by the researcher, right? And now, they're doing summary statistics of the results. And that's broken down into our descriptive statistics and our inferential statistics. We are right here. We're covering the 95% confidence interval. But remember, it's in the context of other metrics or things that we report in inferential statistics. That p value, the effect size or that you are reading yourself and doing in real time, which is not really that hard to do. Okay. So, what is a confidence interval? I mean, what does it really tell us? Why do we reveal that? Okay. So think about repeating a study under these sort of if you could do it under perfect ideal conditions which unfortunately doesn't exist the theoretical

okay where no random error is happening or you were to repeat the study indefinitely many times you would be 95% confident that the true population finding or the result is somewhere right in that interval. Now, you don't know exactly where it is, but it's somewhere in there. And so, what do we typically teach and want or hear? We want tight confidence intervals. We don't want wide confidence intervals because the true population result can be anywhere in between there. So, the tighter that we are, the more confident we are that the true population result parameter is somewhere in here. Okay? So that tighter, the smaller that is, the better. Okay.

Now, so the closer to the point of your study that truly lies in that midpoint of that 95% confidence interval, the more likely it's probably leaning towards the true population result or effect. Okay, said another way because sometimes we need to think about it more than one direction. The point estimate, okay, or that midpoint is our single best guess. Values near that center are more compatible overall with the data than those that are on the periphery or the edges.

And again, if we have a wide confidence interval, if you're on the periphery, the real result, well, that makes it, you know, it's off. Something's off with the data. We want to be more centered if we can and we want tight intervals. We don't want big wide areas. So what are some of the things that influence that interval? Okay, so you have to think going back to what are the components of making that calculation? I don't want to dive deep into

the calculation. Okay, I'm not trying to, you know, cause a seizure in anybody with this stuff. I know it gets to be a little bit frustrating and confusing, but remember there's it depends on the type of confidence interval we're dealing with. Okay? And it depends also on the standard error of the mean. Okay? Are we doing 95% confidence intervals or are we doing 99% confidence intervals? Okay, that then influences how many standard deviations which then influences our Z-score that we are going to use in that calculation. Okay. So, but if you look at the calculation of the confidence interval, right, not only do you need that mean and standard deviation, consideration of the standard error of the mean, but the sample size. And I just want to make a comment here that the larger the sample size, the tighter you start to see the confidence interval. Why? Because you regress and start to mimic,

okay, back to the population. So, if you could study the whole population, that would be ideal. But it's not feasible is it? And so sample size becomes very important contributor to the overall confidence interval that we see. And we see that that's true for data. When you look at them, especially on forest plots, you can it's very easy to see that delineation. Okay. Okay. So how to determine if a 95% confidence interval is actually statistically significant? Right. That goes back again thinking about the p value. Is the p value less than 0.05? That's what most people utilize as that benchmark, right? For statistical significance. So that's one question that we're asking. Okay, we talk about this in the p value lecture as well that the p value is simply talking about statistical difference. How likely

is that null hypothesis actually true? And so what do we typically want? We want p values that are very very very very small because we want to be able to say, "Oh, the results, especially if they're different, they're believable. That's real. There's a real difference there." Okay? So, we can reject the null hypothesis. All right? So, how do we determine if it's statistically significant? Well, the result is not going to be statistically significant. That means you can't reject the null hypothesis if the 95% confidence interval contains the null value of zero. 0 for means when you're comparing them or 1.0 for various ratios. And when I talk about ratios, I'm talking about relative risk, risk ratio, hazard ratios, those kind of things. Okay? Where the numerator and denominator, if they're the same number, i.e. each group same. Well, then they're one. Well, it can't

be different. Then the null is true. Remember, the null hypothesis is about saying there's no difference between what you normally do versus the intervention group, okay? Or exposed group. And so, let's look at an example or application of that in the context of statistical significance. Okay? That's all we're talking about here. Statistical, not clinical relevance, not clinical significance. Remember p values do not determine clinical relevance or significance.

So when you look at this, this is looking at cases of patients receiving certain types of drugs and their odds of achieving some endpoint. Does what does the endpoint matter? No. Make it blood pressure goal. It doesn't matter, right? But it's an odds ratio. So you have to always look at the confidence interval. What type of data are we dealing with? Because remember if it's means then it would be does that confidence interval include 0.00 if it's a ratio right odds ratio relative risk risk ratio hazard ratio and it includes 1.0 it cannot be statistically significant. So if you just go across here looking at the data of the different groups and combinations of antihypertensives in this basic diagram here you can see here does this confidence interval cross through 1.0? Well it does. So that cannot be statistically significant. The p value is greater than 0.05. I don't know what it is but it doesn't matter. It is not statistically significant.

What about beta blockers with a diuretic? 0.62 to 1.52. Again, cannot have statistical significance. The p value is greater than 0.05. All right. So, you go down the list and you see, oh, well, here's one. This is above calcium channel blockers. 1.04 to 2.39. Does it include 1.00? It does not. So this one would be statistically significant. Now you're talking well what's the odds of what? Maybe it's a side effect

which we know calcium channel blockers can do that. Let's say it's lower extremity edema. Okay. Well we know that calcium channel blockers can do that. Calcium channel blockers with a diuretic now becomes statistically insignificant because remember if you look at that data it does cross through 1.00. Okay. So that diuretic is basically getting rid of the edema. That's what that's really that odds is really about in this particular set of data.

It's not that's a distraction at the moment. All you have to do is interpret confidence interval and answer the question. And that's what board exams like to do many times. They'll throw data at you. They'll throw all these things. They get you all wound up, maybe distracted. And really all they're asking you to do is interpret the numbers. It almost is irrelevant what the context is. Okay, but you need to look at some things to get you oriented. All right, I hope that made sense. So, confidence intervals in the context. Okay, remember we should always do it with p values and effect size. Confidence intervals are showing us that magnitude, right? The direction and the degree of precision of the effect. Okay, the p value alone tells you nothing about clinical importance or relevance. Okay, I cannot drill that point home more and that is why these are taught typically back-to-back or in context of each other.

And so when you watch the p value lecture when I dive into more details about p values, you hear me say some of these points. Okay. So remember a wide confidence interval just because it has statistical significance doesn't mean it's clinically relevant. Okay. And that's why we need to look at the range of it. And so I like to use or incorporate real published information that's out there okay to drive home this point. And that's this PROactive trial.

Now this was a study looking at the secondary prevention of macrovascular events in patients with type 2 diabetes. Okay, who were being given pioglitazone. Okay, so it was a randomized controlled trial published in the Lancet 2005. Okay, and so when you look at this diagram here, you see that the hazard ratio gives you there's a hazard ratio. The red line represents, and I know that those of you on the podcast can't see this, but it's basically two lines and they're starting to divert away, right, in a graph. Okay? And the y-axis is the proportion of events. The x-axis is the time from randomization. And when you look at the hazard ratio, so that means there's a numerator and a denominator. So if it includes 1.0, then it cannot be statistically significant.

The hazard ratio is 0.90 and the confidence interval goes from 0.8 all the way up to 1.02. So does that 95% confidence interval include 1.0? It does. And because of that, the p value what you see below it is not less than 0.05. Again, we're talking about statistical significance here. So, is it a statistically significant result? No. Is there clinical relevance? I mean, if you just look at the graph that you start to see the line splitting, looks like pioglitazone is providing

and conferring some benefit and protection. And when I look at the confidence interval and I look at the hazard ratio, it does look like it is. But man, that confidence interval just reaches beyond it. Okay. And so when they when you break down then death, okay, and the individual different components versus the total, okay, then you start to see, well, is there anywhere in here where the p value is statistically significant? And the answer is no. It's not. So it's it feels like a largely negative study. And so what might you ask yourself? P value is not less than 0.05. The confidence intervals include 1.00 and every single one of their end points. Well, what may be the problem, right? It may be related to sample size. It may be due to duration.

Was there enough time to find that difference? Right? So, some of that goes back to the way the study was designed and set up. That's where step one, that statistical analysis plan, becomes so important. How you define what is meant to be clinically relevant may be harder to achieve statistically to see that and that's why you have to put it into context. But when you look across some of this, you can see variations in benefits. Some coronary revascularization, acute coronary syndrome again, but they're all statistically insignificant. Let's do another one

and look at it from another perspective from a meta-analysis or systematic review. And this is looking at aspirin in the primary prevention, okay, of patients with cardiovascular events. And it's papers like this and things, you know, that have evolved over the years that have made this topic of do we use aspirin for primary or secondary prevention. The data is pretty set overall in secondary prevention. That was the ISIS-2 trial especially in patients with

presenting with acute myocardial infarction. But primary prevention has been debated a lot, right? And you'll see people in clinical practice who have never had a stent, never had a procedure, never had a heart attack or stroke or vascular event or equivalent thereof, and they're put on aspirin just in case or for primary prevention. And so where does some of that come from? Well, this is a meta-analysis again published in American Journal of Cardiology 2006. And you might say, okay, that's old. Who cares? Well, it actually still creates the basis for some of the problem, right? In the debate because you'll see here in the data when you look at the defined end points and they looked at they chose six trials, okay, primary prevention trials. Why do you do a systematic review and meta-analysis? Well, so you combine their data and the idea is to increase the power because you have more sample more patients to include in the

analysis. But obviously the studies that you pick and choose through inclusion exclusion criteria will drive that results won't it? So you can see here at these end points we have total coronary heart disease non-fatal MI total cardiovascular events stroke cardiovascular related mortality and then all-cause mortality. So when we talk about results and why are we using a drug, you may have to put it in the context of the individual endpoint that matters to you or the patient.

Okay? Because sometimes finding all-cause mortality reductions is very difficult. Do you really truly have a sample size large enough to find that? All right? And so when you look here, they give you the odds ratios, they give you the 95% confidence intervals, and then they give you the p values. And you can see that several of the p values total coronary heart disease you have non-fatal MIs total cardiovascular events all of those are statistically significant and being an odds ratio that means the numerator denominator cannot be the same they cannot include 1.00 so do any of those 95% confidence intervals include 1.00 and they don't and so therefore the p values are accurate they're less than 0.05. Now they give us the p value. If they didn't, I could still look at the confidence interval. If you removed this column from this diagram chart, I could still determine what was statistically significant or not. So let's go back and ask

clinical relevance. Okay. So if these are your targeted kind of end points and that's how you define them, you might say, "Yeah." But then if you look at the other ones, stroke, cardiovascular related mortality, all-cause mortality, all of these fall and extend beyond 1.00. And so they are statistically insignificant. And you see that that's true even all the all-cause mortality. It gets close though. Look at it. P value of 0.071. That means

there's a 7.1% chance that the results here that are found are due to chance or random error. That's not that bad actually. Right? So I mean just a few more percentage points and we would have statistical significance. So you have to stop and go is that clinically relevant? Well, that's why they put forest plots out there where you can kind of look at the combined effort of the summary or pooled analysis here. These larger diamonds, they give you that visual on the forest plot of which side is favoring what. So, these are on the left side favoring aspirin.

When you look at the individual trials depending on the end point right up here, it gives you a different visual. Like for stroke, you can see my goodness, the studies are all over the place. And if you look at the blobs over on the stroke, you have some really small blobs with very wide confidence intervals. Well, why is that? Well, sample size problem, right? So, what's the main study influencing the stroke data? This study right here has the largest blob, but you have other studies over here that have decent sized blobs and decent sized confidence intervals, but they're crossing through the point of a line of no difference.

And so, that's what these visuals are helping you to see. But you can see with total coronary heart disease and then patients with cardiovascular related death, MI, stroke combined, you see these favoring the overall benefit towards aspirin. And that's where this creates debate because remember we're always trying to infer back. That's what inferential statistics is trying to do, right? We want to be able to extrapolate back onto the population. So what are the reasons why we don't always find statistical significance? Well, it could be, you know, the way we designed the study, the risk of bias, random error. We got the alpha values that we do, one-sided, one-tailed or one-sided or two-tailed, one-sided or two-sided, sorry. The power analysis. Do we have an appropriate sample size?

But also the controlling of various confounders. It's hard to do that in certain studies. That's why we do inclusion and exclusion criteria even for a systematic review and meta-analysis. But do confounders matter? Yes, they do. This is an example of looking at hormone replacement therapies. Okay. And the adjustment for socioeconomic status. When you don't okay when you don't adjust for it okay you see that the data tends to fall on an odds ratio in this case a relative risk that's less than one some of those data points being statistically significant right

some that are not but then when you add in adjustments for socioeconomic status look what happens to the results. Doesn't matter anymore, right? It goes away. And so I'm simply trying to help you to see that there is a lot that goes into understanding and interpreting the literature. What does it mean? Is it clinically relevant? Did the researchers do their due diligence to reduce the risk and introduction of bias and/or

how much random error do we have being exposed? Right? So core concepts for confidence intervals study results should include a point estimate with a 95% confidence interval. Typically a p value with it but you should be able to interpret whether it's statistically significant or not. Okay? Remember all p value is trying to help us understand is statistical significance. Are you accepting or how likely is the null hypothesis true? Remember we want small p values to be complete. You got to do that. 95% confidence intervals reflect the range that include the true population result. And that's why we desire small or very narrow confidence intervals.

Okay. Now, when you're assessing and interpreting those confidence intervals, if that includes a ratio, odds ratio, hazard ratio, relative risk, risk ratio, then remember if it includes 1.0 in that interval, it cannot be statistically significant. It still might have clinical relevance and again open to debate, right? If you interpret p values correctly and understand what they tell you, what they don't tell you. But remember that small sample size remember it makes a wider confidence interval. I showed you an example of that in one of the analysis where the blob is really small. The small blob reflects a sample size. So large sample sizes help us narrow in on the confidence interval. Small sample sizes make them wider. Smaller sample sizes also run the greater risk of not achieving sufficient power to find the result if in fact it's actually there. All of those things,

guys, go into our ability to properly interpret. And that's why we don't all agree. That's why there's debate. That's why when guideline committees change out, sometimes recommendations change. The way we use and interpret or what type of data is acceptable will shift. So, I hope you found this to be helpful. I hope it cleared up a few things. If you're still not fully clear, maybe watch it again, put it in the context of the other components of summary statistics and inferential statistics as it relates to this particular playlist because that together builds the foundation. But I hope that you found it to be helpful. I'm Dr. Busti and thank you so much for joining us. If you're enjoying this content, please leave us a comment. If there's something you want to contribute, please put that note in. We'd love to all learn from each other. Okay. And please give us a like and subscribe to the channel.

It helps to support us doing this and providing this kind of content for you. Take care.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent