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 in Machine Learning by Dev
• 6,000 points
457 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)

answered Apr 4 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 in Machine Learning by Dev
• 6,000 points
128 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 in Machine Learning by Dev
• 6,000 points
197 views
0 votes
1 answer
0 votes
1 answer
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 in Machine Learning by Dev
• 6,000 points
114 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 in Machine Learning by Nandini
• 5,480 points
3,352 views
0 votes
1 answer

Screening (multi)collinearity in a regression model

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

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

Plot logistic regression curve in R

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

answered Apr 4 in Machine Learning by Nandini
• 5,480 points
990 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 in Machine Learning by Nandini
• 5,480 points
655 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