Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Least Squares Regression ST. Dev.

I created a graph and then a trendline to get the slope of the line and then
used m to determine another value which would be constant for all data in
that data set (least squares regression). HOWEVER, I also have to find the
mean and st. dev. for this data. I know the mean is obviously the same at
the constant, but what is the standard deviation and how do i calculate that
off the chart (I'm assuming i do since it seems my only option as i'll always
get 0 in the numerator in the st. dev. function).
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Least Squares Regression ST. Dev.

If your data is in B1 thru B100, use:

=STDEV(B1:B100)
--
Gary''s Student - gsnu200738


"Kris@CEC" wrote:

I created a graph and then a trendline to get the slope of the line and then
used m to determine another value which would be constant for all data in
that data set (least squares regression). HOWEVER, I also have to find the
mean and st. dev. for this data. I know the mean is obviously the same at
the constant, but what is the standard deviation and how do i calculate that
off the chart (I'm assuming i do since it seems my only option as i'll always
get 0 in the numerator in the st. dev. function).

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Least Squares Regression ST. Dev.

Sorry, let me explain mo
I have 2 sets of data, A and R (which involves 9 data points- 3 points in
three different intensities). I plot A on the y-axis and B on the x-axis.
Then I make a trend line from the graph. From that line, I take m (the slope
of the line) and use it in an equation that involves both A and R (A is
substituted for m in the equation). From that I get the value of C. C is
the same for all data points, say 0.5. The mean of 9 points of 0.5 is 0.5 -
HOWEVER, the standard deviation for each point is different. I am very
familiar with the standard deviation function and use it on all the other
data sets just fine. How do you get the standard deviation using least
squares regression? I guess that more directly asks my question - sorry to
confuse.

So what i will end up doing is finding the standard deviation of C for each
of these three intensities. Thanks

"Gary''s Student" wrote:

If your data is in B1 thru B100, use:

=STDEV(B1:B100)
--
Gary''s Student - gsnu200738


"Kris@CEC" wrote:

I created a graph and then a trendline to get the slope of the line and then
used m to determine another value which would be constant for all data in
that data set (least squares regression). HOWEVER, I also have to find the
mean and st. dev. for this data. I know the mean is obviously the same at
the constant, but what is the standard deviation and how do i calculate that
off the chart (I'm assuming i do since it seems my only option as i'll always
get 0 in the numerator in the st. dev. function).

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 762
Default Least Squares Regression ST. Dev.

Kris -

If you're referring to the standard deviation of residuals or "standard
error of estimate," try the STEYX worksheet function.

- Mike
http://www.DecisionToolworks.com
Decision Analysis Add-ins for Excel

"Kris@CEC" wrote in message
...
I created a graph and then a trendline to get the slope of the line and
then
used m to determine another value which would be constant for all data in
that data set (least squares regression). HOWEVER, I also have to find
the
mean and st. dev. for this data. I know the mean is obviously the same at
the constant, but what is the standard deviation and how do i calculate
that
off the chart (I'm assuming i do since it seems my only option as i'll
always
get 0 in the numerator in the st. dev. function).



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 524
Default Least Squares Regression ST. Dev.

Thu, 23 Aug 2007 09:46:00 -0700 from Kris@CEC
:
I created a graph and then a trendline to get the slope of the line and then
used m to determine another value which would be constant for all data in
that data set (least squares regression). HOWEVER, I also have to find the
mean and st. dev. for this data. I know the mean is obviously the same at
the constant,


What you "know" is not true. The mean is generally not equal to the y
intercept.

but what is the standard deviation


See the AVERAGE and STDEV functions.

--
"First prove what you're saying, then whine about it."
-- /The People's Court/
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7
Default Least Squares Regression ST. Dev.

Thanks Stan - appreciate the response - actually in this case that is the
mean. And I've tried the general average and st. dev. functions in excel.
Wouldn't have asked the ? w/o rotting my own brain diving into the help
section first. ;o) ugh.

I've asked my ? on some math forums, hopefully they can help with it. Excel
just may not be able to do with without major human tweeking. Thanks tho!
Love this site, use it all the time.

My problem is that i have to normalize the data from other data to get the
st. dev. and my other problem...i'm in excel 2000. I kept getting errors
with the steyx.

"Stan Brown" wrote:

Thu, 23 Aug 2007 09:46:00 -0700 from Kris@CEC
:
I created a graph and then a trendline to get the slope of the line and then
used m to determine another value which would be constant for all data in
that data set (least squares regression). HOWEVER, I also have to find the
mean and st. dev. for this data. I know the mean is obviously the same at
the constant,


What you "know" is not true. The mean is generally not equal to the y
intercept.

but what is the standard deviation


See the AVERAGE and STDEV functions.

--
"First prove what you're saying, then whine about it."
-- /The People's Court/
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
chi squares Rozie Excel Discussion (Misc queries) 1 June 29th 06 09:52 PM
blue squares blue New Users to Excel 1 February 14th 06 09:46 AM
Does Excel use least squares regression to calculate trendlines? Trendy Charts and Charting in Excel 3 May 20th 05 07:03 AM
removing squares and lines in squares that really should be paragr finnadat Excel Discussion (Misc queries) 5 February 10th 05 11:12 PM
Least Squares Analysis TNMAN Excel Worksheet Functions 2 February 8th 05 03:09 PM


All times are GMT +1. The time now is 08:58 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"