You are Here: Home >< Maths

# Regression line f on h

Announcements Posted on
Four hours left to win £100 of Amazon vouchers!! Don't miss out! Take our short survey to enter 24-10-2016
1. Hi I need a little clarification ive been working on the assumption that when asked for the regression line of y on x in that order b = Sxy/Sxx in otherwords 3 of the right variable and 1 of the
left variable and y = a + bx, however the book gives this question:

Give the regression line of f on h.

Going by the above model this would give b as b = Shf/Shh as y = f and x = h ive just been substituting the variables based on their order and this seemed to work, but the book gives this b = Shf/Sff, and h = a + bf, so this has now completely thrown me off, is this an error in the book, should it have been h on f? Or am I just completely wrong and i have to interpret from context which is the dependent and independent variable?

Thanks for the help in advance.
2. On this type of question, get your formula sheet and just replace the 'y on x' bit with 'f on h'
Then all ys are fs and xs are hs
3. As I mentioned this is essentially the assumption I was working on, but the example in the book did things in reverse, which threw me off, im wondering if its the book at fault in this instance and it shoukd have put:

Give the regression line of h on f, not f on h.

Thanks for the fast reply though.
4. (Original post by WanderSotC)
As I mentioned this is essentially the assumption I was working on, but the example in the book did things in reverse, which threw me off, im wondering if its the book at fault in this instance and it shoukd have put:

Give the regression line of h on f, not f on h.

Thanks for the fast reply though.
Got it - the one about eggs?
The question in the example is wrong - the working is right for h on f
5. Yes your correct the question has to do with supplements and egg hardness, thank you very much for clarifying its a relief i was going mad for a while there
6. (Original post by WanderSotC)
Yes your correct the question has to do with supplements and egg hardness, thank you very much for clarifying its a relief i was going mad for a while there
No problem.
Good luck tomorrow - you seem to know your stuff, you'll be fine.

## Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
3. this can't be left blank

6 characters or longer with both numbers and letters is safer

4. this can't be left empty
1. Oops, you need to agree to our Ts&Cs to register

Updated: June 14, 2016
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:
Today on TSR

### Who is getting a uni offer this half term?

Find out which unis are hot off the mark here

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read here first

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams