Question

In: Statistics and Probability

Explain how z scores are incorporated into r calculations and CI.

Explain how z scores are incorporated into r calculations and CI.

Solutions

Expert Solution

Z-scores are a stand-in for the actual measurement, and they represent the distance of a value from the mean measured in standard deviations. So a z-score of 2.0 means the measurement is 2 standard deviations away from the mean.

It is easy to calculate the Z-scores in R.

First, specify a Normal distribution say, of weights of students of a class :  N(2) where are mean and standard deviation respectively.

Let us use the z-score to find the probability of finding someone who is 72 kg of weight

i.e for a value x=72 we want to find the z score. Input values for in R as :

We first generate 20 samples from the normal distribution and find the Z score for x=72

R-code :

Now we want to find the probability of a student having weight more than 72. The z-score will be used to determine the area [probability] underneath the distribution curve past the z-score value that we are interested in.

Both R and typical z-score tables will return the area under the curve from -infinity to the specified value on the graph (which in this case is x=72)

We generally use the z-score and look it up in a table and find the probability that way. But R has a function ‘pnorm’ which will give you a more precise answer than a table in a book.[‘pnorm’ stands for “probability normal distribution”.]

R code :

So our required probability of finding a student having weight more than 54 kg is (1-0.9772499)=0.022

Confidence Interval with Z score :

CI for the population mean of the normal distribution is (- /2*, + /2*)

input values in R and formulate the above to get the confidence interval for the mean. Say, alpha=0.1 we know /2=1.645

The qnorm( ) function gives critical z-values corresponding to a given lower-tailed area We will use this function to verify the value of /2=1.645 and hence find the CI.

Hence we get the confidence interval of population mean.


Related Solutions

Calculate the z scores, then use the z table. please show work and explain Based on...
Calculate the z scores, then use the z table. please show work and explain Based on the Normal model N (100, 16) describing IQ scores from Exercise 24, what percent of applicants would you expect to have scores a) over 80? b) under 90? c) between 112 and 132? d) over 125? Calculate the z scores based on the probabilities, then back out the x values. please show work and explain Based on the model N(0.062, 0.018) for quarterly returns...
Explain the concept and purpose of z-scores and calculate them for the performance of the following...
Explain the concept and purpose of z-scores and calculate them for the performance of the following set of portfolio managers. Portfolio Portfolio Performance Manager (Annualised Return Z 2% W 11% T -4% S 5%
Let R be the relation on Z+× Z+ such that (a, b) R (c, d) if...
Let R be the relation on Z+× Z+ such that (a, b) R (c, d) if and only if ad=bc. (a) Show that R is an equivalence relation. (b) What is the equivalence class of (1,2)? List out at least five elements of the equivalence class. (c) Give an interpretation of the equivalence classes for R. [Here, an interpretation is a description of the equivalence classes that is more meaningful than a mere repetition of the definition of R. Hint:...
California Incorporated (CI) is a private company that has historically reported its results in accordance with...
California Incorporated (CI) is a private company that has historically reported its results in accordance with ASPE. To fund its significant growth, the company issued common shares to another investor. In conducting its due diligence on the company before buying the shares, the new investor closely reviewed CI’s financial records. The three issues identified are listed below: 1. Long-term contracts: CI accounts for revenue from long-term contracts using the completed contract method, as all contracts are completed in two years...
What proportion of Z-scores are outside the interval Z = −2.81 and Z = 2.81? For...
What proportion of Z-scores are outside the interval Z = −2.81 and Z = 2.81? For Normally distributed data with μ=209.2 and σ=0.6. 31% of observations have values less than______ ? A company produces steel rods. The lengths of the steel rods are normally distributed with a mean of 225.1-cm and a standard deviation of 1.3-cm. Suppose a rod is chosen at random from all the rods produced by the company. There is a 33% probability that the rod is...
COMPUTER CALCULATIONS: I need to know how to code in R for the solutions, not by...
COMPUTER CALCULATIONS: I need to know how to code in R for the solutions, not by hand. 2. Look at the data in Table 7.18 on page 368 of the textbook. These data are also given in the SAS code labeled “SAS_basketball_goal_data” and R code labeled basketball goal data . The dependent variable is goals and the independent variable is height of basketball players. Complete a SAS /R program and answer the following questions about the data set: (a) Does...
Suppose A = {(a, b)| a, b ∈ Z} = Z × Z. Let R be...
Suppose A = {(a, b)| a, b ∈ Z} = Z × Z. Let R be the relation define on A where (a, b)R(c, d) means that 2 a + d = b + 2 c. a. Prove that R is an equivalence relation. b. Find the equivalence classes [(−1, 1)] and [(−4, −2)].
4. Convert the following x-scores to z-scores:                 a) 8                  &nbs
4. Convert the following x-scores to z-scores:                 a) 8                                                                                        b) 21.5 5. Convert the following z-scores to x-scores:                 a) .2667 6.Find the area under the curve: a) to the left of z = 1.15                                                                  b) to the left of z = -0.24 c) to the right of z = 1.06                                                           d) between z = 1.25 and z = -1. 7.A survey indicates that people use their computers an average of 2.4 years before upgrading...
Given the sub-ring A = Z × Z ⊂ R 2 ,Where, in R 2 we...
Given the sub-ring A = Z × Z ⊂ R 2 ,Where, in R 2 we have the sum operation and the complex product. a) Prove that indeed A it is a sub-ring. b) ¿It is A an entire domain? c)Consider U = {(0, n) : n ∈ Z}, prove that U is an ideal of A. d) Calculate A/U. e) ¿It is U an ideal of R2? I need all the paragraphs thanks
1. Conduct a search and post an example of how Z-scores are used in the real...
1. Conduct a search and post an example of how Z-scores are used in the real world. 2.Do a search about the probability of any event you like and post it. For example, what is the probability of winning the lottery? or a plane crash? or any other event you would find interesting?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT