How to find the less than probability using normal distribution in R?


The less than probability using normal distribution is the cumulative probability which can be found by using cumulative distribution function of the normal distribution. In R, we have pnorm function that directly calculates the less than probability for a normally distributed random variable that takes Z score, mean and standard deviation.

Examples

Live Demo

pnorm(0.95,1,0)
pnorm(0.95,0,1)
pnorm(0.10,0,1)
pnorm(0.10,1,5)
pnorm(0.10,1,50)
pnorm(0.10,25,50)
pnorm(0.12,25,50)
pnorm(0.12,2,0.004)
pnorm(0.12,2,0.5)
pnorm(1,2,0.5)
pnorm(12,20,3)
pnorm(12,12,3)
pnorm(12,15,3)
pnorm(200,15,3)
pnorm(200,201,3)
pnorm(200,201,5)
pnorm(20,25,5)

Output

[1] 0
[1] 0.8289439
[1] 0.5398278
[1] 0.4285763
[1] 0.4928194
[1] 0.309242
[1] 0.309383
[1] 0
[1] 8.495668e-05
[1] 0.02275013
[1] 0.003830381
[1] 0.5
[1] 0.1586553
[1] 1
[1] 0.3694413
[1] 0.4207403
[1] 0.1586553

Updated on: 06-Nov-2020

997 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements