I'm working with the sampling distribution of the sample mean and sample variance. For my data, I have the following sample mean = 0.418, standard deviation = 0.306, and degrees of freedom = 44. I've determined the 95% confidence interval (CI) is [0.3266,0.5099]
Below is the plot the Student t-distribution for these parameters. My questions are as follows:
- How can I color the area under this distribution to show the 95% CI?
- How can I use NIntegrate to verify the area between the 95% CI is 0.95?
Plot[PDF[StudentTDistribution[0.418, 0.306, 44], x], {x, -1, 2}, PlotRange -> All, Filling -> Axis]