Question

2, (3 points) Let X be a standard normal random variable. Let Y = X2. (Use R and give code.) (a) Find P(-1.5 < X < 2.5) (b) F

Please explain your work so I can replicate it and practice. Please also include R code, not just R outputs. Thank you.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

X ~ N (0,1)

a) P ( -1.5 < X < 2.5) = P ( X < 2.5) - P ( X < -1.5)

( P ( X <2.5) is cumulative probability at X = 2.5)

By using R

> p1=pnorm(2.5,0,1)-pnorm(-1.5,0,1)
> p1
[1] 0.9269831

P( -1.5 < X < 2.5) = 0.9269831

b) P ( Y > 1) = P ( X2 >1)

= P ( \left | X \right |>1) = P ( X >1 or X < -1)

= P ( X >1) + P(X <-1)

Since normal distribution is symmetric distribution

P ( X > 1) = P ( X <-1)

Hence P ( Y >1) = 2* P (X <-1)

by using R

> p2 = 2 * pnorm(-1,0,1)
> p2
[1] 0.3173105

P ( Y >1) = 0.3173105

Alternative Solution :

Since Y = X2 and X is standard normal variate  , the square of standard normal variate is chi-square variate.

P ( Y > 1) = 1 - P ( Y <1)

by using R

> p3 = 1- pchisq(1,1)
> p3
[1] 0.3173105

P ( Y >1) = 0.3173105.

Add a comment
Know the answer?
Add Answer to:
Please explain your work so I can replicate it and practice. Please also include R code,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. Let R be the region R = {(X,Y)|X2 + y2 < 2} and let (X,Y)...

    2. Let R be the region R = {(X,Y)|X2 + y2 < 2} and let (X,Y) be a pair of random variables that is distributed uniformly on this region. That is fx,y(x, y) is constant in this region and 0 elsewhere. State the sample space and find the probability that the random variable x2 + y2 is less than 1, P[X2 +Y? < 1].

  • I need a function in R or just code in R that will solve this. (Thanks...

    I need a function in R or just code in R that will solve this. (Thanks in advance) 1. The probability density function for Exponentiated Weibull distribution is and its corresponding cdf is given by F(x) 1-exp(x) This distribution is a popular distribution in analyzing lifetime data. a) b) Find the mean and variance when-10, α 2 and β-4 Compute the probability when the random variable X is between two standard deviation of the sample mean, where λ-10, α-2 and...

  • Please answer the following Question using R-studio please give me the code Given the joint probability...

    Please answer the following Question using R-studio please give me the code Given the joint probability distribution +xe 0 for 0<x,xx<1 f(x elsewhere Use R function to find P[(X, X2,X) e A], where A is the region 1 1 <x<1,x 2 2

  • please explain these throughly!!! Thank you so much! Let Z be a standard normal random variable....

    please explain these throughly!!! Thank you so much! Let Z be a standard normal random variable. Use the calculator provided, or this table, to determine the value of c. P(0.86 <2<c)=0.1737 Carry your intermediate computations to at least four decimal places. Round your answer to two decimal places. Tx 5 ? Suppose that pulse rates among healthy adults are normally distributed with a mean of 79 beats/minute and a standard deviation of 8 beats/minute. What proportion of healthy adults have...

  • 1) Let X and Y be random variables. Show that Cov( X + Y, X-Y) Var(X)--Var(Y)...

    1) Let X and Y be random variables. Show that Cov( X + Y, X-Y) Var(X)--Var(Y) without appealing to the general formulas for the covariance of the linear combinations of sets of random variables; use the basic identity Cov(Z1,22)-E[Z1Z2]- E[Z1 E[Z2, valid for any two random variables, and the properties of the expected value 2) Let X be the normal random variable with zero mean and standard deviation Let ?(t) be the distribution function of the standard normal random variable....

  • Write a Code in Java or Python, for the following scenario(s): Consider three six-sided dice, and...

    Write a Code in Java or Python, for the following scenario(s): Consider three six-sided dice, and let random variable Y = the value of the face for each. The probability mass of function of Y is given by the following table: y 1 2 3 4 5 6 otherwise P(Y=y) 0.35 0.30 0.25 0.05 0.03 0.02 0 Roll the three dice and let random variable X = sum of the three faces. Repeat this experiment 50000 times. Find the simulated...

  • please show work (14 pts] a) Determine the critical value ze for a level of confidence...

    please show work (14 pts] a) Determine the critical value ze for a level of confidence of 60%. In other words, find z, such that P(-z, <z < z) = 0.60. (Please use at least 2 decimal places) b) Consider a random variable x that has a normal distribution, with mean of 53 and standard deviation of 9.58. Give the interval in which the middle 60% of the data values will lie. glish (United States)

  • Please show all work so I can learn <3 XOXO I would appreciate it alot ;)...

    Please show all work so I can learn <3 XOXO I would appreciate it alot ;) 1 Random Variables Consider the probability space (2, A, P) defined as follows: .A-2. i.e., the event space is the power set of Ω; P(R)1/3, P(G) P(B) PY-2/9, where we define the probability only for the clementary outcomes, and the probability of every event in A can be deduced from these valucs (as per discussion in section A.5) This probability space can model, for...

  • Please include all code from R that was used to calculate everything. Problem 2 (0.5 x...

    Please include all code from R that was used to calculate everything. Problem 2 (0.5 x 3 = 1.5 point ) Simulate a sample of y1, ..., 4100 from a simple linear model Y = 1 + 2x + €, where € ~ N(0,62), and x is an arithmetic sequence from 1 to 100, with a step size of 1. Run set.seed(1) to set the seed of R's random number generator so that the simulation can be reproduced. • Make...

  • Suppose X is a Normal random variable with with expected value 16 and standard deviation 1.05....

    Suppose X is a Normal random variable with with expected value 16 and standard deviation 1.05. We take a random sample of size n from the distribution of X. Let X be the sample mean. Use R to determine the following: a) Find the probability P(X>16.4) b) Find the probability P(X >16.4) when n 9 c) Find the probability P(X>16.4) when n = 36| d) What is the probability P(15.6 <X <16.4) when n 36? e) What is the standard...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT