Question

In: Math

You ask 6 of your friends how many dogs they have and how many cats they...

You ask 6 of your friends how many dogs they have and how many cats they have. You record the data as ordered pairs (0,0), (0,1), (1,1), (2,1), (3,3), (5, 4).

1.Create a scatter plot of the data

2.Draw in an estimate of the least squares regression

3.Calculate the least squares regression line. Write the equation of that line.

Solutions

Expert Solution

1)

2)

3)

x y (x-x̅)² (y-ȳ)² (x-x̅)(y-ȳ)
0 0 3.36 2.78 3.06
0 1 3.36 0.44 1.22
1 1 0.69 0.44 0.56
2 1 0.03 0.44 -0.11
3 3 1.36 1.78 1.56
5 4 10.03 5.44 7.39
ΣX ΣY Σ(x-x̅)² Σ(y-ȳ)² Σ(x-x̅)(y-ȳ)
total sum 11 10 18.83333333 11.3 13.67
mean 1.83 1.67 SSxx SSyy SSxy

sample size ,   n =   6          
here, x̅ = Σx / n=   1.83   ,     ȳ = Σy/n =   1.67  
                  
SSxx =    Σ(x-x̅)² =    18.8333          
SSxy=   Σ(x-x̅)(y-ȳ) =   13.7          
                  
estimated slope , ß1 = SSxy/SSxx =   13.7   /   18.833   =   0.7257
                  
intercept,   ß0 = y̅-ß1* x̄ =   0.3363          
                  
so, regression line is   Ŷ =   0.3363   +   0.7257   *x


Related Solutions

Let's say you have 7 cats and 4 dogs in a house. How many ways could...
Let's say you have 7 cats and 4 dogs in a house. How many ways could I put 4 of them in a room together if I always want 2 dogs and 2 cats? How many ways can I line them up 3 at a time?
You want to know if, on average, households have more cats or more dogs. You take...
You want to know if, on average, households have more cats or more dogs. You take an SRS of 8 households and find the data below: # of cats # of dogs 2 1 0 1 3 3 2 4 0 0 4 2 0 2 2 1 A) Determine the population(s) and parameter(s) being discussed. B) Determine which tool will help us find what we need (one sample z test, one sample t test, two sample t test, one...
1. You want to know if, on average, households have more cats or dogs. You take...
1. You want to know if, on average, households have more cats or dogs. You take an SRS of 8 households and find the data below. # of cats, 2, 0, 3, 2, 0, 4, 0, 2, and the number of dogs is 1, 1, 3, 4, 0, 2, 2, 1. a) determine the populations and parameters being discussed b) determine which tool will be help us find what we need (one sample z test, one sample t test, two...
Imagine you are comparing dogs and cats with respect to their levels of affection with their...
Imagine you are comparing dogs and cats with respect to their levels of affection with their owner(s). Draw two distributions, one for dogs and one for cats, that violate the assumption of homogeneity of variance. (2 points per distribution, 2 points for correct demonstration of violating this assumption)
Imagine you are comparing dogs and cats with respect to their levels of affection with their...
Imagine you are comparing dogs and cats with respect to their levels of affection with their owner(s). Draw two distributions, one for dogs and one for cats, that violate the assumption of homogeneity of variance. (2 points per distribution, 2 points for correct demonstration of violating this assumption)
You have been asked to create a python program that will ask the user how many...
You have been asked to create a python program that will ask the user how many tickets the user would like to purchase for graduation. The user will then choose the number of tickets needed and the program will list the cost of the tickets, a service fee, tax, and the total of the purchase. Specifications: The program should only accept whole numbers when receiving input for the number of tickets needed. No calculations should be performed if input is...
1) When you or one of your friends is looking for a part-time job, how many...
1) When you or one of your friends is looking for a part-time job, how many weeks does it typically take? After you find a job, how many weeks does it typically last? 2) From your estimates, calculate (in a rate per week) your rate of job finding f and your rate of job separation s. (Hint: If f is the rate of job finding, then the average spell of unemployment is 1/f.) 3) What is the natural rate of...
Determine how the $10 should be spent to maximize utility. How many hot dogs will you buy? How many drinks? 4 drinks, 3 hot dogs.
  Hot Dogs MU hot Dogs MU/Price Drink MU Drink MU/Price 1 20 10 1 20 20 2 16 8 2 15 15 3 10 5 3 10 10 4 6 3 4 5 5 5 3 1.5 5 3 3 6 2 .6 6 -1 -1 Copy and past the table above into your own file, enter the values, write up your answers, and save the file for uploading your answer. Calculate the marginal utility per dollar for each...
A survey asked subjects how many friends they have and whether this number is associated with...
A survey asked subjects how many friends they have and whether this number is associated with their astrological sign (the 12 symbols of the Zodiac). To compare the reported number of good friends for those who are (married, widowed, divorced, separated, never married), an ANOVA table reports F = 0.80. (a) Specify the null and alternative hypotheses for the ANOVA. (b) Based on what you know about the F distribution; would you guess that F = 0.80 provides strong evidence...
You have 10 friends: 3 couples and 4 singles. How many ways can you invite 7...
You have 10 friends: 3 couples and 4 singles. How many ways can you invite 7 of them to your house, such that the two people of every couple are either both invited or not?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT