How to use ci.95 with quantile to figure out the 95% confidence interval in R from a data set of 100 samples ( I am storing the median value initially). So ci.95= quantile (store_median, probs = c (.025, .975)). But this throws a syntax error “object ci.95 not found. Missing values and NaNs not allowed if na.RM is false). I am defining na.RM only in the obstat value later
I'm not exactly sure what is causing that error. In the video I assign s to be the variable as opposed to sd, so that may be it. it should be: qnorm(0.975) * s/sqrt(n) - If you named your variable s.
You would use the t-score if you do not know the true population standard deviation. In this case we do, so we would use the z-score. Sometimes the equation will just look like ave +- z * std. dev / sqrt(n). Not necessarily calling the std. dev / sqrt(n) the standard error, so some people may not have heard "standard error" before. Hopefully that makes sense!
helpful and straight to the point. thanks so much
Thank you!!! very concise and helpful
That mic quality though
How to use ci.95 with quantile to figure out the 95% confidence interval in R from a data set of 100 samples ( I am storing the median value initially). So ci.95= quantile (store_median, probs = c (.025, .975)). But this throws a syntax error “object ci.95 not found. Missing values and NaNs not allowed if na.RM is false). I am defining na.RM only in the obstat value later
Thank you for not using a data set and showing this -
Hello,
Could you tell me about the CI for poisson Distribution.
video on plotting a confidence ellipse is needed
life saver
Very helpful, many thanks.
if 98% CI ,what is the qnorm
HI. How can I change this 95 for 99 %? Because I want to do ANOVA
I know this is late and I dunno what I'm talking about, but probably change the 0.975 to 0.995?
i tried to use this formula but i got:
> e = qnorm(0.975) * sd/sqrt(n)
Error in qnorm(0.975) * sd : non-numeric argument to binary operator
I'm not exactly sure what is causing that error. In the video I assign s to be the variable as opposed to sd, so that may be it. it should be:
qnorm(0.975) * s/sqrt(n) - If you named your variable s.
sd is the standard deviation function, you are trying to multiply a function by a number
If you are using standard error instead of standard deviation, shouldnt you use the t-score instead of the z-score?
You would use the t-score if you do not know the true population standard deviation. In this case we do, so we would use the z-score.
Sometimes the equation will just look like ave +- z * std. dev / sqrt(n). Not necessarily calling the std. dev / sqrt(n) the standard error, so some people may not have heard "standard error" before.
Hopefully that makes sense!
@@thatrnerd4265 No, this is silly. If you know the population standard deviation then you wouldn't calculate a confidence interval for it LOL
appreciate it m8
Enlarge your data
not z-score but t-score