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
Hello I need help on this math question​
Zigmanuir [339]

Answer:

50.24\ cm ^2

Step-by-step explanation:

Let's start by finding the radius of this circle.

D=2r\\8=2r\\\text{Divide both sides by 2}\\r=4

Note that in the equation:

A=\pi r^2

"A" stands for area and "r" stands for radius.

Now, let's substitute the given values into the equation.

A=\pi r^2\\A=3.14*(4)^2\\A=3.14*16\\A=50.24\ cm^2

8 0
2 years ago
John is 13 years old Lisa is four years older than John Bobby is six years younger than Lisa how old is Bobby
Anna11 [10]
Bobby is 11 years old.
6 0
2 years ago
Read 2 more answers
Find the rate of change between (4, 0) and (6, 1).
mestny [16]

Answer: 0.5.

Step-by-step explanation:

6 0
2 years ago
Brainliest
NemiM [27]

Answer:

Infinitely Many

Hope dis helped

3 0
3 years ago
Read 2 more answers
John works two jobs. As a security guard he earns per hour. As a landscaper he earns per hour. One week John worked a total of h
wariber [46]

Answer:

john

Step-by-step explanation:

ku

4 0
2 years ago
Other questions:
  • What is the value of x?<br><br>2<br>3<br>6<br>7<br>​
    10·1 answer
  • Determined the quadrant for an angle with the following characteristics: cotθ&gt;0 and cscθ&gt;0.
    15·1 answer
  • Find the value of x for which<br>A.31<br>B.43<br>C.121<br>D.47
    10·1 answer
  • 4(-x+4)=12 <br> With steps
    13·2 answers
  • Help me pls now its late and i need to turn it in.
    15·2 answers
  • A polynomial function has roots –5 and 1. Which of the following could represent this function?
    9·2 answers
  • ****Please help me with this math problem!!**** Will give stars, thanks, and brainliest!! Josh solved the equation below. Is his
    8·1 answer
  • What is the domain of the function?
    5·1 answer
  • A solid cube measures 5.3 cm on each side. What is the volume of the cube? Do not round your result
    14·1 answer
  • What is the sum of the interiorangle measures of a polygonthat has 7 sides?Sum = [?]°Hint: Sum = (n-29180Enter
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!