/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q31E a. Compute the covariance betwee... [FREE SOLUTION] | 91影视

91影视

a. Compute the covariance between \({\rm{X}}\) and\({\rm{Y}}\).

b. Compute the correlation coefficient \({\rm{\rho }}\) for this \({\rm{X}}\) and \({\rm{Y}}\).

Short Answer

Expert verified

a) The covariance is \({\mathop{\rm Cov}\nolimits} (X,Y) = - 0.1619\).

b) The correlation coefficient is \({\rho _{X,Y}} = - 0.0024\).

Step by step solution

01

Definition

Probability simply refers to the likelihood of something occurring. We may talk about the probabilities of particular outcomes鈥攈ow likely they are鈥攚hen we're unclear about the result of an event. Statistics is the study of occurrences guided by probability.

02

Calculating covariance

(a):

Covariance

between \({\rm{X}}\) and \({\rm{Y}}\) is

\({\rm{Cov(X,Y) = E((X - E(X))(Y - E(Y)))}}\)

or equally

\({\rm{Cov(X,Y) = }}\left\{ {\begin{aligned}{*{20}{l}}{\sum\limits_{\rm{x}} {\sum\limits_{\rm{y}}^{\rm{楼}} {{\rm{(x - E(}}} } {\rm{X))(y - E(Y)) \times p(x,y)}}}&{{\rm{,X and Y discrete, }}}\\{\int_{{\rm{ - 楼}}}^{\rm{楼}} {\int_{{\rm{ - 楼}}}^{\rm{楼}} {{\rm{(x - E(}}} } {\rm{X))(y - E(Y)) \times f(x,y)dxdy}}}&{{\rm{,X and Y continuous}}{\rm{. }}}\end{aligned}} \right.\)

where \({\rm{p(x,y)}}\) is pmf and \({\rm{f(x,y)}}\) pdf.

However, it requires more time to compute the covariance by the definition, this is why we will use the following proposition.

Proposition:

The following holds

\({\rm{Cov(X,Y) = E(XY) - E(X) \times E(Y)}}\)

From the exercise \({\rm{9}}\) we can see how does the marginal pdf's look like, therefore we can compute the expectations.

The following holds

\(\begin{aligned}{\rm{E(Y) = E(X)}}\\{\rm{ = }}\int_{{\rm{20}}}^{{\rm{30}}} {\rm{x}} {{\rm{f}}_{\rm{X}}}{\rm{(x)dx}}\\{\rm{ = }}\int_{{\rm{20}}}^{{\rm{30}}} {\rm{x}} \left( {{\rm{10K}}{{\rm{x}}^{\rm{2}}}{\rm{ + 0}}{\rm{.05}}} \right){\rm{dx}}\\{\rm{ = }}\left. {{\rm{10K}}\frac{{{{\rm{x}}^{\rm{3}}}}}{{\rm{3}}}} \right|_{{\rm{20}}}^{{\rm{30}}}{\rm{ + }}\left. {{\rm{0}}{\rm{.05}}\frac{{{{\rm{x}}^{\rm{2}}}}}{{\rm{2}}}} \right|_{{\rm{20}}}^{{\rm{30}}}\\{\rm{ = 25}}{\rm{.33}}{\rm{.}}\end{aligned}\)

We also need the following expectation

\(\begin{aligned}{\rm{E(XY) = }}\int_{{\rm{20}}}^{{\rm{30}}} {\int_{{\rm{20}}}^{{\rm{30}}} {\rm{x}} } {\rm{y \times K}}\left( {{{\rm{x}}^{\rm{2}}}{\rm{ + }}{{\rm{y}}^{\rm{2}}}} \right){\rm{dxdy}}\\{\rm{ = K}}\int_{{\rm{20}}}^{{\rm{30}}} {\int_{{\rm{20}}}^{{\rm{30}}} {{{\rm{x}}^{\rm{3}}}} } {\rm{ydydx + K}}\int_{{\rm{20}}}^{{\rm{30}}} {\int_{{\rm{20}}}^{{\rm{30}}} {{{\rm{y}}^{\rm{3}}}} } {\rm{xdxdy}}\\{\rm{ = K}}\int_{{\rm{20}}}^{{\rm{30}}} {{{\rm{x}}^{\rm{3}}}} \left( {\left. {\frac{{{{\rm{y}}^{\rm{2}}}}}{{\rm{2}}}} \right|_{{\rm{20}}}^{{\rm{30}}}} \right){\rm{dx + K}}\int_{{\rm{20}}}^{{\rm{30}}} {{{\rm{y}}^{\rm{3}}}} \left( {\left. {\frac{{{{\rm{x}}^{\rm{2}}}}}{{\rm{2}}}} \right|_{{\rm{20}}}^{{\rm{30}}}} \right){\rm{dy}}\\{\rm{ = }}\left. {\left( {\left. {\frac{{{{\rm{y}}^{\rm{2}}}}}{{\rm{2}}}} \right|_{{\rm{20}}}^{{\rm{30}}}} \right){\rm{K \times }}\frac{{{{\rm{x}}^{\rm{4}}}}}{{\rm{4}}}} \right|_{{\rm{20}}}^{{\rm{30}}}{\rm{ + }}\left. {\left( {\left. {\frac{{{{\rm{x}}^{\rm{2}}}}}{{\rm{2}}}} \right|_{{\rm{20}}}^{{\rm{30}}}} \right){\rm{K \times }}\frac{{{{\rm{y}}^{\rm{4}}}}}{{\rm{4}}}} \right|_{{\rm{20}}}^{{\rm{30}}}\\{\rm{ = 641}}{\rm{.447}}\end{aligned}\)

Now we can compute the covariance as follows

\(\begin{aligned}{\rm{Cov(X,Y) = E(XY) - E(X) \times E(Y)}}\\{\rm{ = 641}}{\rm{.447 - 25}}{\rm{.33 \times 25}}{\rm{.33}}\\{\rm{ = - 0}}{\rm{.1619}}{\rm{.}}\end{aligned}\)

Therefore, the covariance is \({\mathop{\rm Cov}\nolimits} (X,Y) = - 0.1619\).

03

Calculating correlation coefficient

(b):

The

correlation coefficient

of \({\rm{X}}\) and \({\rm{Y}}\) is

\({{\rm{\rho }}_{{\rm{X,Y}}}}{\rm{ = }}\frac{{{\rm{Cov(X,Y)}}}}{{{{\rm{\sigma }}_{\rm{X}}}{\rm{ \times }}{{\rm{\sigma }}_{\rm{Y}}}}}\)

We need to compute the variances in order to determine the correlation coefficient.

The Variance of \({\rm{X}}\), denoted by \({\rm{V(X)}}\left( {{\rm{\sigma }}_{\rm{X}}^{\rm{2}}} \right.\) or \(\left. {{{\rm{\sigma }}^{\rm{2}}}} \right)\) is

\(\begin{aligned}{\rm{V(X) = }}{{\rm{\sigma }}_{\rm{X}}}\\{\rm{ = E}}\left( {{{{\rm{(X - E(X))}}}^{\rm{2}}}} \right)\\{\rm{ = E}}\left( {{{\rm{X}}^{\rm{2}}}} \right){\rm{ - (E(X)}}{{\rm{)}}^{\rm{2}}}\end{aligned}\)

The Standard Deviation of \({\rm{X}}\) is

\({{\rm{\sigma }}_{\rm{X}}}{\rm{ = }}\sqrt {{\rm{\sigma }}_{\rm{X}}^{\rm{2}}} \)

The expectation of random variables \({\rm{X}}\) and \({\rm{Y}}\) has been calculated. The following is true

\(\begin{aligned}{c}{\rm{E}}\left( {{{\rm{Y}}^{\rm{2}}}} \right){\rm{ = E}}\left( {{{\rm{X}}^{\rm{2}}}} \right)\\{\rm{ = }}\int_{{\rm{20}}}^{{\rm{30}}} {\rm{x}} {{\rm{f}}_{\rm{X}}}{\rm{(x)dx}}\\{\rm{ = }}\int_{{\rm{20}}}^{{\rm{30}}} {{{\rm{x}}^{\rm{2}}}} \left( {{\rm{10K}}{{\rm{x}}^{\rm{2}}}{\rm{ + 0}}{\rm{.05}}} \right){\rm{dx}}\\{\rm{ = }}\left. {{\rm{10K}}\frac{{{{\rm{x}}^{\rm{4}}}}}{{\rm{4}}}} \right|_{{\rm{20}}}^{{\rm{30}}}{\rm{ + }}\left. {{\rm{0}}{\rm{.05}}\frac{{{{\rm{x}}^{\rm{3}}}}}{{\rm{3}}}} \right|_{{\rm{20}}}^{{\rm{30}}}\\{\rm{ = 649}}{\rm{.825}}{\rm{.}}\end{aligned}\)

The variance is

\(\begin{aligned}{\rm{V(Y) = V(X)}}\\{\rm{ = E}}\left( {{{\rm{X}}^{\rm{2}}}} \right){\rm{ - (E(X)}}{{\rm{)}}^{\rm{2}}}\\{\rm{ = 649}}{\rm{.825 - (25}}{\rm{.33}}{{\rm{)}}^{\rm{2}}}\\{\rm{ = 8}}{\rm{.2161}}\end{aligned}\)

Finally, the correlation coefficient is

\(\begin{aligned}{{\rm{\rho }}_{{\rm{X,Y}}}}{\rm{ = }}\frac{{{\rm{Cov(X,Y)}}}}{{{{\rm{\sigma }}_{\rm{X}}}{\rm{ \times }}{{\rm{\sigma }}_{\rm{Y}}}}}\\{\rm{ = }}\frac{{{\rm{ - 0}}{\rm{.1619}}}}{{\sqrt {{\rm{8}}{\rm{.2161}}} \sqrt {{\rm{8}}{\rm{.2161}}} }}\\{\rm{ = - 0}}{\rm{.0024}}{\rm{.}}\end{aligned}\)

Therefore, the correlation coefficient is \({\rho _{X,Y}} = - 0.0024\).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91影视!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

The National Health Statistics Reports dated Oct. \({\rm{22, 2008}}\), stated that for a sample size of \({\rm{277 18 - }}\)year-old American males, the sample mean waist circumference was \({\rm{86}}{\rm{.3cm}}\). A somewhat complicated method was used to estimate various population percentiles, resulting in the following values:

a. Is it plausible that the waist size distribution is at least approximately normal? Explain your reasoning. If your answer is no, conjecture the shape of the population distribution.

b. Suppose that the population mean waist size is \({\rm{85cm}}\)and that the population standard deviation is \({\rm{15cm}}\). How likely is it that a random sample of \({\rm{277}}\) individuals will result in a sample mean waist size of at least \({\rm{86}}{\rm{.3cm}}\)?

c. Referring back to (b), suppose now that the population mean waist size in \({\rm{82cm}}\).Now what is the (approximate) probability that the sample mean will be at least \({\rm{86}}{\rm{.3cm}}\)? In light of this calculation, do you think that \({\rm{82cm}}\)is a reasonable value for \({\rm{\mu }}\)?

Suppose the amount of liquid dispensed by a certain machine is uniformly distributed with lower limit \({\rm{A = 8oz}}\) and upper limit\({\rm{B = 10oz}}\). Describe how you would carry out simulation experiments to compare the sampling distribution of the (sample) fourth spread for sample sizes\({\rm{n = 5,10,20}}\), and\({\rm{30}}\).

A surveyor wishes to lay out a square region with each side having length\({\rm{L}}\). However, because of a measurement error, he instead lays out a rectangle in which the north-south sides both have length \({\rm{X}}\) and the east-west sides both have length\({\rm{Y}}\). Suppose that \({\rm{X}}\) and \({\rm{Y}}\) are independent and that each is uniformly distributed on the interval \({\rm{(L - A,L + A)}}\) (where \({\rm{0 < A < L}}\) ). What is the expected area of the resulting rectangle?

Consider a system consisting of three components as pictured. The system will continue to function as long as the first component functions and either component \({\rm{2}}\) or component \({\rm{3}}\)functions. Let \({{\rm{X}}_{{\rm{1,}}}}{{\rm{X}}_{\rm{2}}}\), and \({{\rm{X}}_{\rm{3}}}\) denote the lifetimes of components \({\rm{1}}\), \({\rm{2}}\), and \({\rm{3}}\), respectively. Suppose the \({{\rm{X}}_{\rm{i}}}\) 鈥檚 are independent of one another and each \({{\rm{X}}_{\rm{i}}}\) has an exponential distribution with parameter \({\rm{\lambda }}\).

a. Let \({\rm{Y}}\) denote the system lifetime. Obtain the cumulative distribution function of \({\rm{Y}}\)and differentiate to obtain the pdf. (Hint: \({{\rm{F}}_{\left( {\rm{Y}} \right)}}{\rm{P}}\left\{ {{\rm{Y}} \le {\rm{y}}} \right\}\); express the event \(\left\{ {{\rm{Y}} \le {\rm{y}}} \right\}\)in terms of unions and/or intersections of the three events \(\left\{ {{{\rm{X}}_{\rm{i}}} \le {\rm{y}}} \right\}\), \(\left\{ {{{\rm{X}}_{\rm{2}}} \le {\rm{y}}} \right\}\), and \(\left\{ {{{\rm{X}}_3} \le {\rm{y}}} \right\}\).)

b. Compute the expected system lifetime

A binary communication channel transmits a sequence of 鈥渂its鈥 (\({\bf{0s}}{\rm{ }}{\bf{and}}{\rm{ }}{\bf{1s}}\)). Suppose that for any particular bit transmitted, there is a\({\bf{10}}\% \)chance of a transmission error (a zero becoming a one or a one becoming a zero). Assume that bit errors occur independently of one another.

a. Consider transmitting\(1000\)bits. What is the approximate probability that at most\(125\)transmission errors occur?

b. Suppose the same\(1000\)-bit message is sent two different times independently of one another. What is the approximate probability that the number of errors in the first transmission is within\(50\)of the number of errors in the second?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.