Calculate Z-Score from Probability Value - R programming

0 votes
I know Z-score can be calculated using pnorm(q=1, mean = 0, sd = 1, lower.tail = TRUE) for example
That will give us a probability value of 0.841344746068543

I was wondering if there was a function that calculates the inverse of that to find the probability from the Z score (Calculating Z=1 from the probability value of 0.841344746068543). Some math textbooks call that function it inverse phi.
Apr 4, 2022 in Machine Learning by Dev
• 6,000 points
1,935 views

1 answer to this question.

0 votes

It's named qnorm

qnorm(p=0.841344746068543)

Output

1

The following family of functions exists in general for a given distribution (taking norm as an example):

  • rnorm - randomly select numbers from a distribution
  • dnorm - the density at a certain point in a distribution.
  • qnorm stands for quantile function.
  • pnorm stands for "proportional norm" and is a distribution function (which you have used)

For example, you have the same set for unif (the uniform distribution) (dunif,runif,punif,qunif)

Ignite Your Future with Machine Learning Training

answered Apr 4, 2022 by Nandini
• 5,480 points

Related Questions In Machine Learning

0 votes
1 answer

Formula to calculate chance (probability) of a dice side based on its value

If I understand you correctly, you're looking ...READ MORE

answered Mar 17, 2022 in Machine Learning by Dev
• 6,000 points
783 views
0 votes
1 answer

How to calculate ctc probability for given input and expected output?

The loss for a batch is defined ...READ MORE

answered Mar 17, 2022 in Machine Learning by Dev
• 6,000 points
770 views
0 votes
1 answer

Competitive Programming Algorithm Sock Drawing Probability Question

Another way to look at the problem ...READ MORE

answered Mar 25, 2022 in Machine Learning by Dev
• 6,000 points
610 views
0 votes
1 answer

R: Calculate and interpret odds ratio in logistic regression

A logit, or the log of the ...READ MORE

answered Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
17,084 views
0 votes
1 answer

Empirical probability in R with x1+x2>2*x3

It's easy to duplicate random draws with ...READ MORE

answered Mar 15, 2022 in Machine Learning by Dev
• 6,000 points
554 views
0 votes
1 answer

Understanding the probability of a double-six if i roll two dice

The chance of not getting a double ...READ MORE

answered Mar 23, 2022 in Machine Learning by Nandini
• 5,480 points
20,580 views
0 votes
1 answer

Screening (multi)collinearity in a regression model

The kappa() function can be of assistance. ...READ MORE

answered Mar 30, 2022 in Machine Learning by Dev
• 6,000 points
706 views
0 votes
1 answer

Plot logistic regression curve in R

The Code looks something like this: fit = ...READ MORE

answered Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
2,425 views
0 votes
1 answer

Calculate the probability in R for sum of two dice rolls

By converting the outer values to a ...READ MORE

answered Apr 4, 2022 in Machine Learning by Nandini
• 5,480 points
2,100 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP