x Turn on thread page Beta
 You are Here: Home >< Maths

# Regression..stuck :( watch

1. Hey,

Im really stuck on the first part of this question. I attempted a,c,d but i don't think they're right. Could someone please give me guidance.
And how do i go about attempting question b?

Traffic planners investigated the relationship between traffic density (number of cars per mile) and the average speed of the traffic on a moderately larger city throughfare. The data were collected at the same location at 10 different times over a span of 3 months. They found a mean traffic denstiy of 68.6 carsper mile (cpm) with standard deviation 27.07 cpm. Overall, the cars' average speed was 26.38mph, with standard deviation 9.68 mph. These researchers found the regression line for there data to be:

Speed = 50.55-0.352Density

a) Use the formula b1=r(sy/sx) to work out the value of the correlation coeficcient between speed and density.)

b1= r (sy/sx)

0.352 = r (27.07/50.55)

0.352 = r 0.54

0.352/0.54 = r

0.65

After looking back at this, it doesn't appear to be right

b) What percent of the variation in average speed is explained by traffic density?

c) Predict the average speed of traffic on the throughfare when the traffic density is 50cpm.

50.55 - 0.352 (50) = 32.95

Average speed = 33mph

d) What is the value of the residual for a traffic density of 56cpm with an observed speed of 32.5mph?

50.55-0.352(56)=30.838

32.5 - 30.838=1.662

Value of her residual = 1.662

xx
2. For a) y=speed, x=density. Also b1= -0.352. Should get r= -0.984

For part b) you get this by calculating (r^2)x100.

Rest looks fine.

So,

b1= r (sy/sx)

-0.352 = r (9.68/27.07)

-0.352 = r 0.35759

-0.352/0.35759 = r

-0.984 = r?

Regarding question b, i just do:

(-0.984^2)x100

= -96.8256

= -97%

Do you have to include the minus or does it not matter?

Thanks so much for your help
xx
4. (Original post by stem01)

So,

b1= r (sy/sx)

-0.352 = r (9.68/27.07)

-0.352 = r 0.35759

-0.352/0.35759 = r

-0.984 = r?

Regarding question b, i just do:

(-0.984^2)x100

= -96.8256

= -97%

Do you have to include the minus or does it not matter?

Thanks so much for your help
xx
When you square a negative it becomes positive: 96.8%

TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Updated: July 17, 2009
Today on TSR

### Loughborough better than Cambridge

Loughborough at number one

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read the updated guidelines here

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams