Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-17-2007, 02:19 PM   #1
Rhesus
Confirmed User
 
Join Date: Aug 2004
Posts: 2,009
Weighted least squares linear regression in excel?

I want to draw a best fitting straight line through a cloud of data points by least squares linear regression, but I want to weigh the error between the straight line and actual data points for more distant points exponentially less heavily than for the most recent point.

As far as I know, excel doesn't have this function built-in, does anyone have any creative ideas on how to overcome this manco?

Thanks a lot!
Rhesus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 02:23 PM   #2
uno
RIP Dodger. BEST.CAT.EVER
 
uno's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
Graphing calculator?
__________________
-uno
icq: 111-914
CrazyBabe.com - porn art
MojoHost - For all your hosting needs, present and future. Tell them I sent ya!
uno is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 02:27 PM   #3
Rhesus
Confirmed User
 
Join Date: Aug 2004
Posts: 2,009
If excel doesn't support it, my graphing calc definitely won't. Furthermore, I want to see actual numbers and coefficients so I'm afraid I'm looking for something else. Or isn't that what you mean?
Rhesus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 02:31 PM   #4
uno
RIP Dodger. BEST.CAT.EVER
 
uno's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
I may have passed all my economics classes and business Calculus II but the terms are all still greek to me.
__________________
-uno
icq: 111-914
CrazyBabe.com - porn art
MojoHost - For all your hosting needs, present and future. Tell them I sent ya!
uno is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 02:32 PM   #5
Rhesus
Confirmed User
 
Join Date: Aug 2004
Posts: 2,009
To make things clearer: TREND and LINEST are functions that can be used to be used for least sq. linear regression, but in the classic way errors at all points in the x axis are given equal weight. (the sum of the squares all these errors is optimised (/minimised) to find the best coefficient)
Rhesus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 02:32 PM   #6
WiredGuy
Pounding Googlebot
 
Industry Role:
Join Date: Aug 2002
Location: Canada
Posts: 34,456
Reading that brought back some horrid memories of statistical analysis classes back from University.
WG
__________________
I play with Google.
WiredGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 05:34 PM   #7
Rhesus
Confirmed User
 
Join Date: Aug 2004
Posts: 2,009
Any bright ideas?
Rhesus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 07:17 PM   #8
OzMan
Confirmed User
 
OzMan's Avatar
 
Join Date: Sep 2003
Location: Los Begas
Posts: 9,162
Try the curve fitting toolbox from MathWorks
OzMan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 07:26 PM   #9
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
Quote:
Originally Posted by OzMan View Post
matlab rules for technical stuff like that
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-17-2007, 09:14 PM   #10
bonkerz2007
Confirmed User
 
Join Date: Sep 2005
Posts: 794
Constructing a Least-Squares Graph Using Microsoft Excel
bonkerz2007 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2007, 03:33 AM   #11
Rhesus
Confirmed User
 
Join Date: Aug 2004
Posts: 2,009
I have matlab yes, and undoubtedly I can just manually program it, but I was looking to do it in excel.

Bonkerz, I know how to draw a line, but I want to weigh recent points more heavily...
Rhesus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.