Login

Welcome, Guest. Please login or register.

November 01, 2025, 10:51:14 am

Author Topic: Y and X axis Least Squares regression  (Read 1230 times)  Share 

0 Members and 1 Guest are viewing this topic.

Einstein

  • Guest
Y and X axis Least Squares regression
« on: March 29, 2014, 09:34:40 pm »
0
Hi,

Say the graphs y axis begins at 60, how do i determine when it crosses the y intercept? even for 3 median line etc..
Do i select two points and put on my calc and calc lin reg line? also what happens if i my x axis doesnt begin at 0?

bit confused with those type of questions.

Thanks

Zealous

  • ATAR Notes Lecturer
  • Victorian
  • Forum Leader
  • ****
  • Posts: 889
  • zeal: great enthusiasm in pursuit of an objective.
  • Respect: +242
Re: Y and X axis Least Squares regression
« Reply #1 on: March 30, 2014, 09:21:18 pm »
0
Hi,

Say the graphs y axis begins at 60, how do i determine when it crosses the y intercept? even for 3 median line etc..
Do i select two points and put on my calc and calc lin reg line? also what happens if i my x axis doesnt begin at 0?

bit confused with those type of questions.

Thanks
So your calculator is just moving the graphing window so you can't see the origin (0,0) - or at least the x and y axis.

Do a linear regression of your data. You'll get an equation of a line that fits the data in the form of y=mx+c or sometimes y=ax+b. The y intercept will be the c or b value - or the constant (not a coefficient of x).
vce:
2013: Further [50] (+Premier's) | Methods [48]
2014: Physics [50] | Specialist | Accounting | English Language || ATAR: 99.70 + Australian Student Prize!
uni:
2015: Bachelor of Commerce and Engineering (Honours)

Einstein

  • Guest
Re: Y and X axis Least Squares regression
« Reply #2 on: March 30, 2014, 09:38:44 pm »
0
what i meant was, Say the equation is  y= -27.88-1.17x and my x axis starts at 155, how do i plot the line ? the answer doesn't start at -27.88 it cuts the y axis (which is visible on my graph) at about 15.50

~V

  • Victorian
  • Forum Leader
  • ****
  • Posts: 515
  • Respect: +14
  • School Grad Year: 2014
Re: Y and X axis Least Squares regression
« Reply #3 on: March 30, 2014, 09:48:50 pm »
0
what i meant was, Say the equation is  y= -27.88-1.17x and my x axis starts at 155, how do i plot the line ? the answer doesn't start at -27.88 it cuts the y axis (which is visible on my graph) at about 15.50

Are you provided with those set of axis and you need to start at 155? If not, just go ahead and plot the least square regression above with -27.88 cutting the y axis.
Edit: Or maybe you need to zoom out and you'll see the yint at -27.88? LOL
« Last Edit: March 30, 2014, 09:57:15 pm by ~V »
November 6th 2014 5.15pm
Class of 2014! :D

Einstein

  • Guest
Re: Y and X axis Least Squares regression
« Reply #4 on: March 31, 2014, 04:18:07 pm »
0
no its on a exam paper, y axis starts at 0 ends at 30, x axis starts at 155 ends at 185, y int is -27 and it cuts the y int on the test paper at about 15

The Brightest Witch

  • Victorian
  • Trendsetter
  • **
  • Posts: 153
  • Respect: 0
Re: Y and X axis Least Squares regression
« Reply #5 on: March 31, 2014, 05:22:54 pm »
0
Is this a specific question you could show us or refer to?
VCE: English, Health, Legal, Psych, Further, Chem
2015: Arts/Law @ Monash

Guys I only doubled with Arts because I couldn't let go of Psych and wanted to keep doing it as a major at least, but I took International Studies on a whim after the info session just because I needed a minor, and I love it so much! It's 3:29am and I had to share this, I think I'm majoring in it bye.

~V

  • Victorian
  • Forum Leader
  • ****
  • Posts: 515
  • Respect: +14
  • School Grad Year: 2014
Re: Y and X axis Least Squares regression
« Reply #6 on: March 31, 2014, 08:51:52 pm »
0
This is really confusing now, yeah, please post a picture, that'd be very helpful. Are you given a table of values instead of just the scatterplot? Because you could've calculated least square regression equation wrong, especially if it's reading off a graph.
November 6th 2014 5.15pm
Class of 2014! :D

Einstein

  • Guest
Re: Y and X axis Least Squares regression
« Reply #7 on: April 01, 2014, 07:47:21 am »
0
Alright, here it is have a look at the table of values, graph, question 1 g and 1f, this is the answer book.

~V

  • Victorian
  • Forum Leader
  • ****
  • Posts: 515
  • Respect: +14
  • School Grad Year: 2014
Re: Y and X axis Least Squares regression
« Reply #8 on: April 01, 2014, 08:36:13 pm »
0
Photon, i've sketched the scatterplot onto the CAS and it did come out the same as the graph in that image. When putting a line on a scatterplot, you need two points right? And the first thing you would do, well, what i would do is to mark the y-intercept right? But in this question, it seems as though they didn't use the y-int, but they used the lowest interval instead. So they subbed in 155 as x and got 17.64, so their line will cross (155,17.64) and the other point they chose was the highest interval value,185. So sub 185 as x and you'll get 26.34 as y. So its (185,26.34). Mark those two points and draw the line.That's why your CAS is handy because you go to data and statistics and see  if where the smallest interval is and just sub in equation to see where to draw it. As for question 1g, it just tells you to describe the meaning of the slope (gradient), just describe for every y (depending on the context), x is increasing/decreasing(depending if m is -ve or +ve) by gradient.My explanations are pretty dodgy, but hope it helped.
November 6th 2014 5.15pm
Class of 2014! :D

Einstein

  • Guest
Re: Y and X axis Least Squares regression
« Reply #9 on: April 01, 2014, 09:26:07 pm »
0
Yeap i know what you mean, Thanks !