Re: I need help!!! SPSS and Panel Data

2000-07-03 Thread Bruce Weaver

On Sun, 2 Jul 2000 [EMAIL PROTECTED] wrote:

> Help!
>  I'm a Norwegian student who can't figure out how
> to work SPSS 9.0 properly for running a multiple
> regression on panel data (longitudinal data or
> cross-sectional time-series data). My data set
> consist of financial data from about 300 Norw.
> municipalities. For each municipality I have
> observations for 7 fiscal years. My problem is
> that I don't know how to "tell" SPSS that the
> cases are grouped 7 by 7, i.e that they are panel
> data.
> Can somebody please help me!
> 
> Ketil Pedersen
> 

Hi Ketil,
I'm not familiar with time series terminology, but if I followed 
you, you have a data file that looks something like this:


MUNICIP  YEAR   Y
  1   1   
  1   2 
  1   3   
etc
  1   7  
  2   1  
  2   2  
  2   3  
etc
  2   7  
  3   1
  3   1
etc
  3   7
etc


I think you may have one or more "between-groups" variables too, but
wasn't sure about this.  Anyway, if this is more or less accurate, then I
think you would find it easier to use UNIANOVA rather than REGRESSION.  In
the pulldown menus, you find it under GLM-->Univariate, I think.  Here's
an example of some syntax for the data shown above with SIZE included as a
between-municipalities variable: 

UNIANOVA
  y  BY municip year size
  /RANDOM = municip
  /METHOD = SSTYPE(3)
  /INTERCEPT = INCLUDE
  /EMMEANS = TABLES(year)
  /EMMEANS = TABLES(size)
  /EMMEANS = TABLES(year*size)
  /CRITERIA = ALPHA(.05)
  /print = etasq
  /plot = resid
  /DESIGN = size municip(size)
year year*size .


Note that municip is a random factor here (i.e., it is treated the same
way Subjects are usually treated).  And the notation "municip(size)" 
indicates that municip is nested in the size groups.  The output from this
syntax will give you an F-test for size with municip(size) as the error
term; and for the year and year*size F-tests, the error term (called
"residual") will be Year*municip(size), because that's all that is left
over. 

You can get the same F-tests using REGRESSION, but not as easily.  For 
one thing, you have to compute your own dummy variables for MUNICIP and 
YEAR; and if you have a mixed design (between- and within-municipalities 
variables), you pretty much have to do two separate analyses, as far as I 
can tell.

Hope this helps.
-- 
Bruce Weaver
[EMAIL PROTECTED]
http://www.angelfire.com/wv/bwhomedir/




===
This list is open to everyone.  Occasionally, less thoughtful
people send inappropriate messages.  Please DO NOT COMPLAIN TO
THE POSTMASTER about these messages because the postmaster has no
way of controlling them, and excessive complaints will result in
termination of the list.

For information about this list, including information about the
problem of inappropriate messages and information about how to
unsubscribe, please see the web page at
http://jse.stat.ncsu.edu/
===



I need help!!! SPSS and Panel Data

2000-07-02 Thread ketil_pedersen

Help!
 I'm a Norwegian student who can't figure out how
to work SPSS 9.0 properly for running a multiple
regression on panel data (longitudinal data or
cross-sectional time-series data). My data set
consist of financial data from about 300 Norw.
municipalities. For each municipality I have
observations for 7 fiscal years. My problem is
that I don't know how to "tell" SPSS that the
cases are grouped 7 by 7, i.e that they are panel
data.
Can somebody please help me!

Ketil Pedersen


Sent via Deja.com http://www.deja.com/
Before you buy.


===
This list is open to everyone.  Occasionally, less thoughtful
people send inappropriate messages.  Please DO NOT COMPLAIN TO
THE POSTMASTER about these messages because the postmaster has no
way of controlling them, and excessive complaints will result in
termination of the list.

For information about this list, including information about the
problem of inappropriate messages and information about how to
unsubscribe, please see the web page at
http://jse.stat.ncsu.edu/
===