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
Leah just moved and she's looking for a new dance studio. She gets to list the price from tip top toes charges $300 for 12 class
SpyIntel [72]
If it’s by week then groovin and movin,but if it’s months tip toes
8 0
2 years ago
jenny receives total employee benefits that are 24.5% of her gorss annual pay.if jenny has a gross annual pay of 70,000 how much
patriot [66]
You can change 24.5% by moving the decimal point
24.5%=.245
70,000 x .245=$17,150
4 0
3 years ago
Mrs. Juergen's class is building a model city from craft sticks. each house requires 267 sticks. the class will build 93 houses.
Radda [10]
All you need to do is 267 times 93 to get the exact answer. the questions says ABOUT how many sticks so we can round the numbers. we can turn 267 into 270 and 93 into 90 and then multiply 270 by 90 to get 24,300 popsicle sticks
6 0
2 years ago
Are -159/396 and - 26/33 equivalent fractions?<br> True or false
hram777 [196]

Your answer is False!!

Given the following fractions as of -159/396 and -26/33....As a decimal which you have to convert it to would be

-159/396=-0.41515

and

-26/33=-0.787879

Hope this helps you.

                                                         

5 0
3 years ago
Can anyone help me please <br> I’ll mark you as a brainliest.<br> NO LINKS
gtnhenbr [62]
Answer is 1.538
Using (x1,y1)(x2,y2)
x1=0
Y1=2
X2=5.2
Y2=10
5 0
3 years ago
Other questions:
  • Which statement is true? A. A biconditional is only true if both statements are true. B. A biconditional is only true if both st
    12·2 answers
  • If 6 coins are flipped, find the probability that there is at least 1 heads. Please answer in a fraction.
    6·1 answer
  • 4x – 9y = 7 –2x 3y = 4 what number would you multiply the second equation by in order to eliminate the x-terms when adding to th
    9·2 answers
  • WILL GIVE BRAINLY IF QUICK. 40 POINTS!!!!
    5·2 answers
  • What is the value of the angle marked with x?
    14·2 answers
  • What scale factor was used in dilation
    11·1 answer
  • Which expression is equivalent to ( 4mn / m^-2n^6)^-2
    9·1 answer
  • Can somebody please help
    10·1 answer
  • Find the area of the parallelogram.
    7·1 answer
  • the rectangular post shown at the right measures 2w-30 by w. the poster has an area of 5400 cm^2. what is The value of w ?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!