I have a normal distribution and I would like to know what is the confidence level of mu+0.1sigma (where mu is the mean and sigma the standard deviation). How do i get the confidence level?
Using python or R
Data Science Stack Exchange is a question and answer site for Data science professionals, Machine Learning specialists, and those interested in learning more about the field. It only takes a minute to sign up.Sign up to join this community
From your question, I imagine you are interested in:
$\alpha = P[\mu - k \, \sigma \le x \le \mu + k \, \sigma]$
where, in your case, $k = 0.1$. In other words, by "confidence level" you mean alpha.
In R, you can obtain that via function
pnorm (empirical cumulative distribution function for the standardized normal distribution):
alpha <- 2 * (pnorm(k) - 0.5)
k = 0.1 produces 8%.