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
Use the commutative and associative properties of multiplication to write an expression equivalent to (4⋅5)⋅3.
Darina [25.2K]
Commutaive property says
ab=ba or expanded to say
abc=cba

associative peropty =
a(bc)=(ab)c

so using that
first mix them up knowing that we can move the parenthaseese
all possible equivelnt ones are
4*(5*3)
(3*5)*4
3*(5*4)
(3*4)*5
3*(4*5)
 
4 0
3 years ago
A pair of jeans is marked up 20% on the original price. The original price was $50. What is the sale price of the pair of jeans
Anarel [89]

Answer:

20% of $50 is $10. This means that the pair of jeans now cost $60 since it got marked up.

Step-by-step explanation:

6 0
3 years ago
If RS = 17, ST = x + 6, and RT = 3x - 5, What is ST.
tigry1 [53]

Answer:

ST = 20

Step-by-step explanation:

Line segment RS and segment ST must add up to line segment RT

Step 1: Define

RS = 17

ST = x + 6

RT = 3x - 5

Step 2: Set up equation

mRS + mST = mRT

17 + x + 6 = 3x - 5

Step 3: Solve for <em>x</em>

x + 23 = 3x - 5

23 = 2x - 5

28 = 2x

x = 14

Step 3: Find mST

ST = x + 6

ST = 14 + 6

ST = 20

3 0
3 years ago
in a triangle two sides of the same length the ratio of each of these sides to the third side is 5:3 if the perimeter of the tri
AveGali [126]

Answer:

Step-by-step explanation:

Perimeter of a triangle equals side 1 plus side 2 plus side 2

           P = s1 + s2 + s3                 side 1 = side 2 =  x

                                                     x/side 3 = 5 / 3

                                                     x  = (5/3) side 3

                                                     x (3/5)  = side 3

                                                 

                                                     perimeter = 65    slove for x

          65  = x + x + 3x/5

         325  = 5x + 5x + 3x

         325  = 13X

          25   = x    equal side 1 and side 2  

          side 3 = 25(3/5)  = 15

3 0
3 years ago
There are 72 students in the marching band. The ratio of girls to boys is 19 to 17.
8090 [49]

Answer:

34 boys

Step-by-step explanation:

72 students

G-19:B-17 Ratio

19 + 17 = 36

72/36 = 2

19 x 2 = 38

38 girls

17 x 2 = 34

34 boys

4 0
3 years ago
Other questions:
  • QUICK HELP ME!!!!!!!!!
    11·1 answer
  • Nik, a social worker for a county, helps county residents who are struggling with different issues. Nik logs the following hours
    6·1 answer
  • Find the value of expression m(m-n) for m=3 and n=1<br><br><br> I need the ANSWER ASAP
    9·1 answer
  • When Max makes trail mix, he uses 2 cops
    8·1 answer
  • A 30-60-90 triangle's short leg has a length of 25. What is the length of the longest leg?
    10·1 answer
  • Im stuck on these 2 questions
    6·2 answers
  • If the radius of a circle is 2.6 inches, what is the diameter of the circle?
    13·2 answers
  • Help me please?!?!? Giving brainly!
    14·2 answers
  • In the diagram below, AB is parallel to CD. What is the value of x?
    5·1 answer
  • Click to see the pic! PLEASE NO LINKS, I CANT EVEN OPEN THEM FOR SOME REASON BUT I NEED AN ANSWER
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!