
Simulate two Normally distributed random variables X1 and X2 with correlation 0.8, both should have a mean value of 70 and a standard deviation of 8. equation 5.3.2 for formulas that will help you see how to do the simulation. There are other ways to do this as well. Think of X2 as a score on the second test in a class, and X1 as the score on the first exam.
a. Analytically find the expected value and variance of `Change = X2 - X1`.
b. Use a simulation with n=1000 to find the mean and variance of `Change` using simulation.
c. Plot your simulated data on a scatterplot.
d. Also plot X1 vs. Change.
e. How might regression to the mean cause issues in assessing whether or not a student improved or did worse on the second test compared to the first?
![## 5.3.2 Bivariate Normal Distribution
The normal distribution plays a critical role in probability theory and is widely used across various applications. We've previously discussed a single normal random variable, and now we expand to two or more normal random variables. As seen in Theorem 5.2, the sum of two independent normal random variables is also normal. However, when the two normal random variables are dependent, their sum may not be normal, as illustrated in the following counterexample:
### Example 5.35
Let \(X \sim N(0,1)\) and \(W \sim \text{Bernoulli}\left( \frac{1}{2} \right)\) be independent random variables. Define the random variable \(Y\) as a function of \(X\) and \(W\):
\[
Y = h(X,W) =
\begin{cases}
X & \text{if } W = 0 \\
-X & \text{if } W = 1
\end{cases}
\]
Since \(N(0,1)\) is symmetric around zero, \(-X\) is also \(N(0,1)\). We can express:
\[
F_Y(y) = P(Y \leq y) = P(Y \leq y | W = 0)P(W = 0) + P(Y \leq y | W = 1)P(W = 1)
\]
This results in:
\[
= \frac{1}{2} P(X \leq y) + \frac{1}{2} P(-X \leq y)
\]
As \(X\) and \(-X\) are \(N(0,1)\):
\[
= \frac{1}{2}\Phi(y) + \frac{1}{2}\Phi(y) = \Phi(y)
\]
Hence, \(Y \sim N(0,1)\). Now consider:
\[
Z = X + Y =
\begin{cases}
2X & \text{with probability } \frac{1}{2} \\
0 & \text{with probability } \frac{1}{2}
\end{cases}
\]
Thus, \(Z\) is a mixed random variable with its PDF given by:
\[
f_Z(z) = \frac{1}{2} \delta(z) +](https://content.bartleby.com/qna-images/question/a8dba3d7-aa3f-43ce-8ec9-3f378db07d1f/2a73b490-e01f-4d40-851c-6878a1263993/dw1toull_thumbnail.png)

Trending nowThis is a popular solution!
Step by stepSolved in 4 steps with 2 images

- A random sample of college students was surveyed about how they spend their time each week. The scatterplot below displays the relationship between the number of hours each student typically works per week at a part- or full-time job and the number of hours of television each student typically watches per week. The correlation between these variables is r = –0.63, and the equation we would use to predict hours spent watching TV based on hours spent working is as follows: Predicted hours spent watching TV = 17.21 – 0.23(hours spent working) Since we are using hours spent working to help us predict hours spent watching TV, we’d call hours spent working a(n) __________________ variable and hours spent watching TV a(n) __________________ variable. The correlation coefficient, along with what we see in the scatterplot, tells us that the relationship between the variables has a direction that is _________________ and a strength that is ______________________. According to the…arrow_forwardYou run a regression analysis on a bivariate set of data (n=109). With x¯=72.2 and y¯=34.7, you obtain the regression equation y= - 0.898x - 42.514 with a correlation coefficient of r=-0.086. You want to predict what value (on average) for the response variable will be obtained from a value of 140 as the explanatory variable. What is the predicted response value? y =arrow_forwardhe data show the chest size and weight of several bears. Find the regression equation, letting chest size be the independent (x) variable. Then find the best predicted weight of a bear with a chest size of 51 inches. Is the result close to the actual weight of 4 punds? Use a significance level of 0.05. thest size (inches) Veight (pounds) Click the icon to view the critical values of the Pearson correlation coefficient r. 45 43 43 52 52 352 374 275 314 440 367 Critical Values of the Pearson Correlation Coefficient r What is the regression equation? Critical Values of the Pearson Correlation Coefficient r a = 0.05 NOTE: To test Ho: p=0 against H, p#0, reject Ho if the absolute value of r is greater than the critical value in the table. y%3= x (Round to one decimal place as needed.) a = 0.01 4 0.950 0.990 0.878 0.959 0.811 0.917 0.754 0.875 8. 0.707 0.834 9. 0.666 0.798 10 0.632 0.765 11 0.602 0.735 12 0.576 0.708 13 0.553 0.684 14 0.532 0.661 15 0.514 0.641 16 0.497 0.623 17 0.606 0.590…arrow_forward
- We give the total variation, the unexplained variation (SSE), and the least squares point estimate b1 . Total variation = 13.459; SSE = 2.806; b1 = 2.6652 Click here for the Excel Data File Using the information given, find the explained variation, the simple coefficient of determination (r2), and the simple correlation coefficient (r). Interpret r2. (Round your answers to 3 decimal places. Round your percent to 1 decimal place.) Explained variation r2 r % of the variation in demand can be explained by variation in price differential.arrow_forwardYou are a consumer psychologist interested in holiday spending. A national census reports that the American family spent an average of µ = $81 for Halloween candy and costumes last year. A sample of N = 16 families this year produced a mean of $85 with s = 20. t-value ? t-critical?arrow_forwardUsing your favorite statistics software package, you generate a scatter plot which displays a linear form. You find a regression equation and the standard deviation for both variables. The standard deviation for x is 2.03, and the standard deviation for y is 5.2. The regression equation is reported as - 5.5 + 1.84x What fraction of the variation in y can be explained by the variation in the values of x? (Enter your answer as a decimal between 0 and 1.)arrow_forward
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman





