Question

In: Statistics and Probability

What command do I use in R to compute the probability that a t distribution with...

What command do I use in R to compute the probability that a t distribution with 36 df exceeds 2.5 and then how do I compute the lower 10th percentile of a t distribution with 54 df (using what command in (R)?

Solutions

Expert Solution

Solution: 1) We need to find P(t > 2.5) when degrees of freedom is 36,

i.e. we need to find 1 - P(t < 2.5) , such that the area to the left of 2.5 is subtracted from 1 to find the required answer.

In R programming, the command pt(x,df) gives thearea to the left of 'x' under a Student's t-distribution with 'df' degrees of freedom.

so, the required answer is --> 1 - P(t < 2.5) = 1 -  0.9914431 = 0.008556915

The required R - code is --> 1 - pt(2.5,36)

2) The lower 10th percentile of a t-distrbution is the value of the variable such that the area to the left is 10%.

In R programming, the command qt(p,df) gives the value of the variable that has an area of "p" to the left under a t-distribution with "df" degrees of freedom.

So, the required answer = -1.297426

The required R-code is --> qt(0.10,54)

[The output for the answers are attached below for verification].


Related Solutions

What is a t-distribution? Compare the t-distribution and the standard normal distribution. When do you use...
What is a t-distribution? Compare the t-distribution and the standard normal distribution. When do you use the t-distribution? The height of US women is normally distributed. A sample of 25 women shows an average hight of 160cm with a standard deviation of 5cm. Use t distribution to find the probability that the average height of randomly selected 25 women is greater than 172cm.
For each problem, write an R code to compute each probability. (a)   Binomial Distribution: X ~...
For each problem, write an R code to compute each probability. (a)   Binomial Distribution: X ~ Bin(10, 0.7)     (i)            P(X = 2)     (ii)           P(X < 2)     (iii)          P(X > 2)     (iv)          P(1 < X < 7) (b) Normal Distribution: X ~ N(0, 4). Note that variance is 4 and, hence, the standard deviation is 2.     (i)             P(X < 3)     (ii)           P(X > 3)     (iii)          P(1 < X < 3) (c) Choose either (a) or (b) and interpret the results in...
how do i know when to use a t or chi distribution or any other?
how do i know when to use a t or chi distribution or any other?
Use R to compute the probability that a Normal random variable with mean 0 and variance...
Use R to compute the probability that a Normal random variable with mean 0 and variance 3.7 is less than.2. Find the 93% quantile of the above random variable by using the R command and also by using the z -table.
(1 point) Use the Normal Approximation to the Binomial Distribution to compute the probability of passing...
(1 point) Use the Normal Approximation to the Binomial Distribution to compute the probability of passing a true/false test of 40 questions if the minimum passing grade is 90% and all responses are random guesses.
What is the t distribution and why is it needed?  How do we know to use the...
What is the t distribution and why is it needed?  How do we know to use the t distribution in the construction of a confidence interval of the mean rather than the normal distribution?  Give an example.  Ask a question
(1 point) For the given position vectors r(t)r(t) compute the unit tangent vector T(t)T(t) for the...
(1 point) For the given position vectors r(t)r(t) compute the unit tangent vector T(t)T(t) for the given value of tt . A) Let r(t)=〈cos5t,sin5t〉 Then T(π4)〈 B) Let r(t)=〈t^2,t^3〉 Then T(4)=〈 C) Let r(t)=e^(5t)i+e^(−4t)j+tk Then T(−5)=
What is the radial distribution function P(r) for a 2pz orbital? What is the probability of...
What is the radial distribution function P(r) for a 2pz orbital? What is the probability of finding an electron in a shell of 1.00 pm thickness at radius 50.0 pm?
What is the radial distribution function P(r) for a 2pz orbital? What is the probability of...
What is the radial distribution function P(r) for a 2pz orbital? What is the probability of finding an electron in a shell of 5.00 pm thickness at radius 60.0 pm?
Suppose that X has distribution function F (x) and probability densityf(x). Letα̸=0andβ∈R. (i) What is the...
Suppose that X has distribution function F (x) and probability densityf(x). Letα̸=0andβ∈R. (i) What is the distribution function of eX? (ii) What is the distribution function of the random variable αX + β? (iii) What is the probability density function of the random variable αX + β?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT