#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default regression analysis

Hi,

I'm trying to figure out OLS regression with excel. Can anyone tell me why
the data analysis toolpak gives me ANOVA results?

Also, does anyone know an easy method for creating dummy varibles?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,344
Default regression analysis

Hi,

I'm afraid I don't know what OLS is, but in the spreadsheet you can look at
the LINEST function or LOGEST. There is a fairly good help on these
functions. You can also get a couple of linear regression lines and formulas
using the chart tool.

By dummy variables do you mean some random data? If so then you have =RAND()
and RANDBETWEEN(1,100) in the spreadsheet and a random number generator in
the Analysis ToolPak.

--
Thanks,
Shane Devenshire


"usedtostata" wrote:

Hi,

I'm trying to figure out OLS regression with excel. Can anyone tell me why
the data analysis toolpak gives me ANOVA results?

Also, does anyone know an easy method for creating dummy varibles?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default regression analysis

Cheers Shane!

OLS stands for ordinary least squares- it's the same thing as linear
regression (LINEST).

I've been through the help thing already and it's pretty useful, but it
doesn't tell you how to deal with categorical variables in regressions.

Dummy variables are the solution to using categorical variables in
regressions- it's when you substitute binary variables for the composites of
categorical variables.

"ShaneDevenshire" wrote:

Hi,

I'm afraid I don't know what OLS is, but in the spreadsheet you can look at
the LINEST function or LOGEST. There is a fairly good help on these
functions. You can also get a couple of linear regression lines and formulas
using the chart tool.

By dummy variables do you mean some random data? If so then you have =RAND()
and RANDBETWEEN(1,100) in the spreadsheet and a random number generator in
the Analysis ToolPak.

--
Thanks,
Shane Devenshire


"usedtostata" wrote:

Hi,

I'm trying to figure out OLS regression with excel. Can anyone tell me why
the data analysis toolpak gives me ANOVA results?

Also, does anyone know an easy method for creating dummy varibles?

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 837
Default regression analysis

The ANOVA table evaluates the significance of the model as a whole, vs. the
t-tests below it in the output that evalute the significance of individual
fitted coefficients.

Can you be more specific about your dummy variable question?

Jerry

"usedtostata" wrote:

Hi,

I'm trying to figure out OLS regression with excel. Can anyone tell me why
the data analysis toolpak gives me ANOVA results?

Also, does anyone know an easy method for creating dummy varibles?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default regression analysis

Hey Jerry, Thanks for your reply.

About the dummies- basically if I want to recode categorical variables into
a series of binary variables, how can I do that?

Those aren't T-tests though. I thought T-tests were for testing the
difference between two means (e.g. mean height for men vs means height for
women).

Cheers.

"Jerry W. Lewis" wrote:

The ANOVA table evaluates the significance of the model as a whole, vs. the
t-tests below it in the output that evalute the significance of individual
fitted coefficients.

Can you be more specific about your dummy variable question?

Jerry

"usedtostata" wrote:

Hi,

I'm trying to figure out OLS regression with excel. Can anyone tell me why
the data analysis toolpak gives me ANOVA results?

Also, does anyone know an easy method for creating dummy varibles?

Thanks



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 837
Default regression analysis

'There are more t-tests, Horatio, than are dreamt of in your philosophy'
(apologies to Shakespeare)

If a statistic is normally distributed, then that statistic divided by its
estimated standard error follows the t distribution with degrees of freedom
associated with the standard error estimate. In particular, if you have
independent normally distributed errors, there is a t-test for each OLS
regression coefficient. Those t-tests will rarely be independent of each
other, since the coefficent estimates are usually correlated. Those t-tests
are reported by the ATP regression tool, or can be constructed from LINEST by
dividing a coefficient by its corresponding standard error (given in the 2nd
line of LINEST output).

Jerry

"usedtostata" wrote:

Hey Jerry, Thanks for your reply.

About the dummies- basically if I want to recode categorical variables into
a series of binary variables, how can I do that?

Those aren't T-tests though. I thought T-tests were for testing the
difference between two means (e.g. mean height for men vs means height for
women).

Cheers.

"Jerry W. Lewis" wrote:

The ANOVA table evaluates the significance of the model as a whole, vs. the
t-tests below it in the output that evalute the significance of individual
fitted coefficients.

Can you be more specific about your dummy variable question?

Jerry

"usedtostata" wrote:

Hi,

I'm trying to figure out OLS regression with excel. Can anyone tell me why
the data analysis toolpak gives me ANOVA results?

Also, does anyone know an easy method for creating dummy varibles?

Thanks

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 762
Default regression analysis

usedtostata -

Also, does anyone know an easy method for creating dummy varibles? <


For a categorical variable with two values (e.g., male or female), I use one
indicator variable, coded one or zero, indicating presence (e.g., 1 = male)
or absence (e.g., 0 = not male) of that characteristic.

For a categorical variable with k values, I use k-1 indicator variables,
each coded one or zero.

To create the one or zero data, I either (1) type the values in some of the
cells and if there's a repeating pattern I copy large blocks or (2) use an
IF function in each column if the one and zero values depend on values of an
existing categorical variable.

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


"usedtostata" wrote in message
...
Hi,

I'm trying to figure out OLS regression with excel. Can anyone tell me why
the data analysis toolpak gives me ANOVA results?

Also, does anyone know an easy method for creating dummy varibles?

Thanks




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
how do i graph a regression analysis? Brad Excel Discussion (Misc queries) 1 September 29th 07 12:01 AM
Using Regression Analysis? ccpalm2 New Users to Excel 1 February 21st 07 10:03 AM
regression analysis in excel 2007? nassema Excel Discussion (Misc queries) 1 January 29th 07 01:23 PM
Regression Analysis Format RickH Excel Discussion (Misc queries) 1 October 17th 05 03:54 PM


All times are GMT +1. The time now is 03:37 PM.

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

About Us

"It's about Microsoft Excel"