1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dsp73
3 years ago
11

Consider the given data. x 0 2 4 6 9 11 12 15 17 19 y 5 6 7 6 9 8 8 10 12 12 Use the least-squares regression to fit a straight

line to the given data. Along with the slope and intercept, compute the standard error of the estimate and the correlation coefficient. Repeat the problem, but regress x versus y—that is, switch the variables. Interpret your results. (Round the final answers to four decimal places.) Least-squares regression: y versus x B

Mathematics
1 answer:
levacccp [35]3 years ago
5 0

Answer:

See below

Step-by-step explanation:

By using the table 1 attached (See Table 1 attached)

We can perform all the calculations to express both, y as a function of x or x as a function of y.

Let's make first the line relating y as a function of x.

<u>y as a function of x </u>

<em>(y=response variable, x=explanatory variable) </em>

\bf y=m_{yx}x+b_{yx}

where

\bf m_{yx} is the slope of the line

\bf b_{yx} is the y-intercept

In this case we use these formulas:

\bf m_{yx}=\frac{(\sum y)(\sum x)^2-(\sum x)(\sum xy)}{n\sum x^2-(\sum x)^2}

\bf b_{yx}=\frac{n\sum xy-(\sum x)(\sum y)}{n(\sum x^2)-(\sum x)^2}

n = 10 is the number of observations taken (pairs x,y)

<u>Note:</u> <em>Be careful not to confuse  </em>

\bf \sum x^2 with \bf (\sum x)^2

Performing our calculations we get:

\bf m_{yx}=\frac{(83)(95)^2-(95)(923)}{10*1277-(95)^2}=176.6061

\bf b_{yx}=\frac{10*923-(95)(83)}{10(1277)-(95)^2}=0.3591

So the equation of the line that relates y as a function of x is

<h3>y = 176.6061x + 0.3591 </h3>

In order to compute the standard error \bf S_{yx}, we must use Table 2 (See Table 2 attached) and use the definition

\bf s_{yx}=\sqrt{\frac{(y-y_{est})^2}{n}}

and we have that standard error when y is a function of x is

\bf s_{yx}=\sqrt{\frac{39515985}{10}}=1987.8628

Now, to find the line that relates x as a function of y, we simply switch the roles of x and y in the formulas.  

So now we have:

x as a function of y

(x=response variable, y=explanatory variable)

\bf x=m_{xy}y+b_{xy}

where

\bf m_{xy} is the slope of the line

\bf b_{xy} is the x-intercept

In this case we use these formulas:

\bf m_{xy}=\frac{(\sum x)(\sum y)^2-(\sum y)(\sum xy)}{n\sum y^2-(\sum y)^2}

\bf b_{xy}=\frac{n\sum xy-(\sum x)(\sum y)}{n(\sum y^2)-(\sum y)^2}

n = 10 is the number of observations taken (pairs x,y)

<u>Note:</u> <em>Be careful not to confuse  </em>

\bf \sum y^2 with \bf (\sum y)^2

Remark:<em> </em><em>If you wanted to draw this line in the classical style (the independent variable on the horizontal axis), you would have to swap the axis X and Y) </em>

Computing our values, we get

\bf m_{xy}=\frac{(95)(83)^2-(83)(923)}{10*743-(83)^2}=1068.1072

\bf b_{xy}=\frac{10*923-(95)(83)}{10(743)-(83)^2}=2.4861

and the line that relates x as a function of y is

<h3>x = 1068.1072y + 2.4861 </h3>

To find the standard error \bf S_{xy} we use Table 3 (See Table 3 attached) and the formula

\bf s_{xy}=\sqrt{\frac{(x-x_{est})^2}{n}}

and we have that standard error when y is a function of x is

\bf s_{xy}=\sqrt{\frac{846507757}{10}}=9200.5856

<em>In both cases the correlation coefficient r is the same and it can be computed with the formula: </em>

\bf r=\frac{\sum xy}{\sqrt{(\sum x^2)(\sum y^2)}}

Remark: <em>This formula for r is only true if we assume the correlation is linear. The formula does not hold for other kind of correlations like parabolic, exponential,..., etc. </em>

Computing the correlation coefficient :

\bf r=\frac{923}{\sqrt{(1277)(743)}}=0.9478

You might be interested in
What is the value of the digit 6 in the 263,148?
Novosadov [1.4K]
It should be the ten thousands

3 0
3 years ago
Read 2 more answers
Which single transformation can be applied to the graph of y = 72 StartRoot x EndRoot to produce the graph of y = 9 StartRoot x
Ber [7]

Answer:

vertical....

Step-by-step explanation:

NawfSide 38 Baby

3 0
3 years ago
What is the solutions of the equation (4 x + 3)^2=18
tekilochka [14]

Answer:

(4x+3)^2 = 18

16x+9=18

16x=9

<u>x=9/16</u>

Step-by-step explanation:

4 0
3 years ago
Is y=10-2/x a liner or nonlinear equation?
romanna [79]

Answer:

non-linear

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
You are saving to buy a new phone you have $150 in your bank account and can save $55 each week assuming you don’t spend any mon
FromTheMoon [43]

Answer:

150+55w

Step-by-step explanation:

150+55w

150 never changes

(55)(w), 55 changes depending on number of weeks

8 0
3 years ago
Read 2 more answers
Other questions:
  • 1st?- cynthia paid $0.20 per hobby magazine at a tag sale. She bought half of all the magazines that were for sale and paid $10.
    6·2 answers
  • Solve for g<br>-6g + 3g + 12 &gt; -18<br>A.g&lt;2<br>B.g&gt; 2<br>C.g&lt;10<br>D.g&gt; 10​
    15·1 answer
  • Solve for x: 3|x - 3| + 2 = 14
    10·2 answers
  • Need help solving this
    10·1 answer
  • What are three other ways to describe slope?
    6·1 answer
  • Hiw do u get the third angle of a triangle? I was given 65 and 65?
    15·2 answers
  • AAAA HELP!!!!!!!!!! 20 POINTS!!!!!!!!!!!!!!!
    6·2 answers
  • Kesha had a recipe that required 1/3 pound of beef. 1 pound = 453.6 grams About how many grams of beef does she need
    14·2 answers
  • 20 POINTS! PLATO HELP! NUTRITION CLASS!
    8·1 answer
  • 1.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!