简体   繁体   中英

How do I solve for a variable in a standard normal distribution using R?

I'm trying to solve this expression using R and I have no clue.

P(Z >= c) = 0.025

I found P(Z < c) = 0.975 using the complement rule but do not know how to proceed further.

If you have the cumulative distribution function (CDF) , think about the inverse. 逆累积分布函数的推导

Here, p = 0.975 .

Fortunately, other people have already built functions like these. Compare the definition of the inverse CDF to the quantile function for insights into why the letter q is used by some packages.

I'll leave the rest up to you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM