Multiple Curve Fits & Export

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Multiple Curve Fits & Export

Matt Freeman
I'm trying to conduct a trend analysis on 3,000 variables, one variable at
a time.  For each variable, I'm fitting an exponential curve and wish to
capture the coefficient b1. Below is my Syntax:

* Macro to create group of independent variables
define Policy_Vars ()
X12419 to X28510
!enddefine.

OMS
   / SELECT TABLES
   / IF COMMANDS = ['Curve Fit']
         SUBTYPES = ['Model Summary and Parameter Estimates']
   /DESTINATION FORMAT = SAV
   OUTFILE = 'C:\Documents and Settings\mrfreeman\Desktop\OMS_trial_3.sav'.
TSET NEWVAR=NONE.
CURVEFIT
  /VARIABLES=Policy_Vars WITH Year
  /MODEL=EXPONENTIAL
  /PLOT = NONE.
OMSEND.

A couple of questions have arisen:
  (1) I can only fit about 900 curves in a single execution.  What, then,
is the source of this limitation and can it be increased?
  (2) Is there a way to restrict the data written in the outfile command
to only b1 and not the rest of the Model Summary and Parameter Estimates
table?

Thank you.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD