Date: Thu, 3 Jan 2008 20:30:36 -0600
Reply-To: "Peck, Jon" <peck@spss.com>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: "Peck, Jon" <peck@spss.com>
Subject: Re: Suppressing default output from Regressions
In-Reply-To: A<09207298013CFD4AA7B495A75F1C8525B83E3F@wildcat.targusinfo.com>
Content-Type: text/plain; charset="utf-8"
As ViAnn said, OMS gives you control over what appears in the Viewer and what kinds of output are written to external files. Here is an example that suppresses all the tables from the Viewer and writes a tabbed text version of the model summary table to a file. There are various other output formats available, some of which are easier to work with programmatically if you have the tools.
You might also want to use sav format, which produces an SPSS dataset with the requested tables.
The first oms request suppresses all tables except the Model summary from the Viewer.
The second one captures the model summary table and writes it to a file.
The omsend command terminates both requests.
HTH,
Jon Peck
oms /exceptif subtypes='Model Summary' /destination viewer=no.
oms /if subtypes='Model Summary' /destination format=tabtext outfile='c:/temp/logistic.txt'.
LOGISTIC REGRESSION VARIABLES americanOrigin
/METHOD = ENTER engine horse
/CRITERIA = PIN(.05) POUT(.10) ITERATE(20) CUT(.5) .
omsend.
-----Original Message-----
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Dede Williams
Sent: Thursday, January 03, 2008 6:11 PM
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: [SPSSX-L] Suppressing default output from Regressions
Hello.
I'm trying to run a logistic regression for many models from which I
only want specific output, not all of the default output that is
included. Is there a way to specify, for instance, just the model
summary table and suppress the rest and direct it to an .spo file or
better yet to a .csv file.
I am new to this list. Have users found the archives useful to search
for old postings, or is too cumbersome to get through all of the data?
Thanks for your help.
Dede Williams
TargusInfo
=======
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (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
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (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