Print Page | Close Window

Linear Regression Halp

Printed From: Tippmann Paintball
Category: News And Views
Forum Name: Thoughts and Opinions
Forum Description: Got something you need to say?
URL: http://www.tippmannsports.com/forum/wwf77a/forum_posts.asp?TID=185431
Printed Date: 24 January 2026 at 8:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Linear Regression Halp
Posted By: Hysteria
Subject: Linear Regression Halp
Date Posted: 30 April 2010 at 6:51pm
Well, it seems I missed the class on transformations or they were never taught to us, so I need a bit of help.

1)  Is there any limit to how many different types of transformations can be used in one regression?  For instance, I was messing around and log-transformed some variables, left some alone, squared another variable and used the Fisher transformation on yet another.  My R squared was like .95, but it seemed like I was cheating a bit.

2)  Upon getting the results of the transformed regression, must you do anything to the coefficients or anything before interpreting them, or can you just leave them as is?



Replies:
Posted By: ParielIsBack
Date Posted: 30 April 2010 at 8:55pm
I don't know anything about this!

CAPITAL LETTERS


-------------
BU Engineering 2012


Posted By: WGP guy2
Date Posted: 30 April 2010 at 10:02pm
It sounds like you're in statistics.  In that case, my advise is to take a real math class.

I don't what the hell you're talking about, but this is how we do linear regressions in real math classes (Numerical Methods):

Using the model:



we find:



note ybar is the average value for y and xbar is the average value for x.

Edit:  Forgot the error calculation:




Posted By: usafpilot07
Date Posted: 30 April 2010 at 10:25pm
We get it, you virgin.

-------------
Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo


Posted By: mbro
Date Posted: 01 May 2010 at 12:24am


-------------

Don't blame me, I voted for Kodos.


Posted By: Rofl_Mao
Date Posted: 01 May 2010 at 12:32am
Originally posted by usafpilot07 usafpilot07 wrote:

We get it, you virgin.


We have a WINNAR!


Posted By: Linus
Date Posted: 01 May 2010 at 1:03am
What the hell? My god I have trouble with college algebra.


I'll just stick with medicine, which ironically, is so much easier for me.

-------------



Posted By: Hysteria
Date Posted: 01 May 2010 at 3:24am
Originally posted by WGP guy2 WGP guy2 wrote:

It sounds like you're in statistics.  In that case, my advise is to take a real math class.

I don't what the hell you're talking about, but this is how we do linear regressions in real math classes (Numerical Methods):

Using the model:


we find:

note ybar is the average value for y and xbar is the average value for x.

Edit:  Forgot the error calculation:




Not statistics, econometrics.  Yes, I know how to take a real linear regression like you describe.  However, if the data are not quite linear (or for many other reasons), you can use real regression technique called http://en.wikipedia.org/wiki/Data_transformation_%28statistics%29 - data http://en.wikipedia.org/wiki/Data_transformation_%28statistics%29 - transformation .


Posted By: ammolord
Date Posted: 01 May 2010 at 4:36am
Wow.... Math stopped beaing math when the letters start flying......

-------------
PSN Tag: AmmoLord
XBL: xXAmmoLordXx


~Minister of Tinkering With Things That Go "BOOM!"(AKA Minister of Munitions)~


Posted By: ParielIsBack
Date Posted: 01 May 2010 at 8:27am
Pfft, economics.

The only reason economists use math is because other people stop listening when the words get too long.


-------------
BU Engineering 2012


Posted By: WGP guy2
Date Posted: 01 May 2010 at 9:14am
Originally posted by Hysteria Hysteria wrote:



Not statistics, econometrics.  Yes, I know how to take a real linear regression like you describe.  However, if the data are not quite linear (or for many other reasons), you can use real regression technique called http://en.wikipedia.org/wiki/Data_transformation_%28statistics%29 - data http://en.wikipedia.org/wiki/Data_transformation_%28statistics%29 - transformation .


Ah, I see.  We touched on that but never went in depth.

Of course, you could just use Newton, Lagrange, or natrual spline interp and have essentially 0 error.  Damn economists.   Wink





Posted By: procarbinefreak
Date Posted: 01 May 2010 at 11:30am
lol at wgp's holier than thou attitude with math. 


statistics have their place in the world.  they're used every day where I work... and are rather important.


Posted By: WGP guy2
Date Posted: 01 May 2010 at 12:30pm
Originally posted by procarbinefreak procarbinefreak wrote:


statistics have their place in the world.  they're used every day where I work... and are rather important.


Oh I didn't say it wasn't important.  It's just not real math.  Wink


Posted By: ParielIsBack
Date Posted: 01 May 2010 at 12:36pm
Newton and Lagrange both suck.

I will most certainly be pursuing a career which requires my use of neither.


-------------
BU Engineering 2012


Posted By: Mack
Date Posted: 01 May 2010 at 3:41pm
^^^ In that case . . .



. . . I do want fries with that.  Big smile


-------------


Posted By: brihard
Date Posted: 01 May 2010 at 4:35pm
Originally posted by usafpilot07 usafpilot07 wrote:

We get it, you virgin.


Zzzzzzzing!


-------------
"Abortion is not "choice" in America. It is forced and the democrats are behind it, with the goal of eugenics at its foundation."

-FreeEnterprise, 21 April 2011.

Yup, he actually said that.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net