You are Here: Home >< Maths

# Regression line f on h Watch

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.

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

### Am I pregnant?

...or just paranoid?

### A robot wrote Harry Potter?

Discussions on TSR

• Latest
• ## See more of what you like on The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

• 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

## Groups associated with this forum:

View associated groups
Discussions on TSR

• Latest
• ## See more of what you like on The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

• The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.