SPSS Developer Central Python Modules

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SPSS Developer Central Python Modules

Peck, Jon
Here is list of the Python modules currently downloadable from SPSS Developer Central (www.spss.com/devcentral).  Most of the modules contain several functions or classes.

 

This listing only covers Python modules.  There is additional non-Python material on programmability, statistics, and GPL-based graphics as well as the various Plug-In modules required for programmability, and a collection of articles related to these topics.

 

-Jon Peck

SPSS


Module Hierarchy


* DisplayDict <file:///C:\Python24\Lib\site-packages\epydocoutput\DisplayDict-module.html> : Construct and optionally display the SPSS variable dictionary as text
* Transform <file:///C:\Python24\Lib\site-packages\epydocoutput\Transform-module.html> : The Transform class and its subclasses provide a way to create variables and associated metadata in SPSS.
* benchmark <file:///C:\Python24\Lib\site-packages\epydocoutput\benchmark-module.html> : SPSSbench module for timing command sets Note that it requires the Pywin32 extensions, which can be found here http://sourceforge.net/projects/pywin32/ Copyright (C) 2005 by SPSS Inc.
* bootstrap_object <file:///C:\Python24\Lib\site-packages\epydocoutput\bootstrap_object-module.html> : a library of useful utility routines for SPSS Copyright (C) 2005 by SPSS Inc.
* extendedTransforms <file:///C:\Python24\Lib\site-packages\epydocoutput\extendedTransforms-module.html> : Functions designed to be used with the trans module to carry out one or more transformations on casewise data.
* findVars <file:///C:\Python24\Lib\site-packages\epydocoutput\findVars-module.html> : a utility to search sav files for variables with particular names or properties.
* fnplot <file:///C:\Python24\Lib\site-packages\epydocoutput\fnplot-module.html> : Creates data from any function acceptable as an SPSS compute statement, and plots it.
* namedtuple <file:///C:\Python24\Lib\site-packages\epydocoutput\namedtuple-module.html> : factory for making tuples that can be accessed by item name as well as index number.
* paretochart <file:///C:\Python24\Lib\site-packages\epydocoutput\paretochart-module.html> : Calculate and display Pareto chart with acceptance intervals computed using Monte Carlo simulation.
* pls <file:///C:\Python24\Lib\site-packages\epydocoutput\pls-module.html> : Partial Least Squares Regression Module
* rake <file:///C:\Python24\Lib\site-packages\epydocoutput\rake-module.html> : Adjust case weights to control totals in one or more dimensions
* rubin <file:///C:\Python24\Lib\site-packages\epydocoutput\rubin-module.html> : Compute and combine statistics from multiply imputed data.
* specialtransforms <file:///C:\Python24\Lib\site-packages\epydocoutput\specialtransforms-module.html> : A collection of special transformations extending those built in to SPSS
* spssaux <file:///C:\Python24\Lib\site-packages\epydocoutput\spssaux-module.html> : a library of useful utility routines for working with the SPSS variable dictionary and other common tasks Copyright (C) 2006 by SPSS Inc.
* spssaux2 <file:///C:\Python24\Lib\site-packages\epydocoutput\spssaux2-module.html> : Another library of useful utility routines for SPSS
* spssdata <file:///C:\Python24\Lib\site-packages\epydocoutput\spssdata-module.html> : This module manages SPSS database functions at a higher level than the SPSS module
* tables <file:///C:\Python24\Lib\site-packages\epydocoutput\tables-module.html> : Part 1:Functions to merge similar pivot tables; Part2: Functions to censor table cells based on associated statistics.
* viewer <file:///C:\Python24\Lib\site-packages\epydocoutput\viewer-module.html> : Methods for performing certain operations on the SPSS Viewer (not the Draft Viewer) via OLE automation.

 

 

Jon K. Peck

SPSS Inc.

[hidden email]

312-651-3435

 

Reply | Threaded
Open this post in threaded view
|

Re: SPSS Developer Central Python Modules

Mike P-5
Hi Jon,

This is great, a while back I suggested on the devcentral site, about an
RSS metadata link for when either updates or new modules are released
specifically, but I've heard nothing since

I for one feel it would be a very useful, is this something that SPSS
are looking into?

Mike



-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Peck, Jon
Sent: 09 February 2007 15:57
To: [hidden email]
Subject: SPSS Developer Central Python Modules

Here is list of the Python modules currently downloadable from SPSS
Developer Central (www.spss.com/devcentral).  Most of the modules
contain several functions or classes.



This listing only covers Python modules.  There is additional non-Python
material on programmability, statistics, and GPL-based graphics as well
as the various Plug-In modules required for programmability, and a
collection of articles related to these topics.



-Jon Peck

SPSS


Module Hierarchy


*       DisplayDict
<file:///C:\Python24\Lib\site-packages\epydocoutput\DisplayDict-module.h
tml> : Construct and optionally display the SPSS variable dictionary as
text
*       Transform
<file:///C:\Python24\Lib\site-packages\epydocoutput\Transform-module.htm
l> : The Transform class and its subclasses provide a way to create
variables and associated metadata in SPSS.
*       benchmark
<file:///C:\Python24\Lib\site-packages\epydocoutput\benchmark-module.htm
l> : SPSSbench module for timing command sets Note that it requires the
Pywin32 extensions, which can be found here
http://sourceforge.net/projects/pywin32/ Copyright (C) 2005 by SPSS Inc.
*       bootstrap_object
<file:///C:\Python24\Lib\site-packages\epydocoutput\bootstrap_object-mod
ule.html> : a library of useful utility routines for SPSS Copyright (C)
2005 by SPSS Inc.
*       extendedTransforms
<file:///C:\Python24\Lib\site-packages\epydocoutput\extendedTransforms-m
odule.html> : Functions designed to be used with the trans module to
carry out one or more transformations on casewise data.
*       findVars
<file:///C:\Python24\Lib\site-packages\epydocoutput\findVars-module.html
> : a utility to search sav files for variables with particular names or
properties.
*       fnplot
<file:///C:\Python24\Lib\site-packages\epydocoutput\fnplot-module.html>
: Creates data from any function acceptable as an SPSS compute
statement, and plots it.
*       namedtuple
<file:///C:\Python24\Lib\site-packages\epydocoutput\namedtuple-module.ht
ml> : factory for making tuples that can be accessed by item name as
well as index number.
*       paretochart
<file:///C:\Python24\Lib\site-packages\epydocoutput\paretochart-module.h
tml> : Calculate and display Pareto chart with acceptance intervals
computed using Monte Carlo simulation.
*       pls
<file:///C:\Python24\Lib\site-packages\epydocoutput\pls-module.html> :
Partial Least Squares Regression Module
*       rake
<file:///C:\Python24\Lib\site-packages\epydocoutput\rake-module.html> :
Adjust case weights to control totals in one or more dimensions
*       rubin
<file:///C:\Python24\Lib\site-packages\epydocoutput\rubin-module.html> :
Compute and combine statistics from multiply imputed data.
*       specialtransforms
<file:///C:\Python24\Lib\site-packages\epydocoutput\specialtransforms-mo
dule.html> : A collection of special transformations extending those
built in to SPSS
*       spssaux
<file:///C:\Python24\Lib\site-packages\epydocoutput\spssaux-module.html>
: a library of useful utility routines for working with the SPSS
variable dictionary and other common tasks Copyright (C) 2006 by SPSS
Inc.
*       spssaux2
<file:///C:\Python24\Lib\site-packages\epydocoutput\spssaux2-module.html
> : Another library of useful utility routines for SPSS
*       spssdata
<file:///C:\Python24\Lib\site-packages\epydocoutput\spssdata-module.html
> : This module manages SPSS database functions at a higher level than
the SPSS module
*       tables
<file:///C:\Python24\Lib\site-packages\epydocoutput\tables-module.html>
: Part 1:Functions to merge similar pivot tables; Part2: Functions to
censor table cells based on associated statistics.
*       viewer
<file:///C:\Python24\Lib\site-packages\epydocoutput\viewer-module.html>
: Methods for performing certain operations on the SPSS Viewer (not the
Draft Viewer) via OLE automation.





Jon K. Peck

SPSS Inc.

[hidden email]

312-651-3435




________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: SPSS Developer Central Python Modules

zstatman
In reply to this post by Peck, Jon
This is great Jon, thanks!

W


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Peck, Jon
Sent: Friday, February 09, 2007 10:57 AM
To: [hidden email]
Subject: SPSS Developer Central Python Modules

Here is list of the Python modules currently downloadable from SPSS
Developer Central (www.spss.com/devcentral).  Most of the modules contain
several functions or classes.



This listing only covers Python modules.  There is additional non-Python
material on programmability, statistics, and GPL-based graphics as well as
the various Plug-In modules required for programmability, and a collection
of articles related to these topics.



-Jon Peck

SPSS


Module Hierarchy


*       DisplayDict
<file:///C:\Python24\Lib\site-packages\epydocoutput\DisplayDict-module.html>
: Construct and optionally display the SPSS variable dictionary as text
*       Transform
<file:///C:\Python24\Lib\site-packages\epydocoutput\Transform-module.html> :
The Transform class and its subclasses provide a way to create variables and
associated metadata in SPSS.
*       benchmark
<file:///C:\Python24\Lib\site-packages\epydocoutput\benchmark-module.html> :
SPSSbench module for timing command sets Note that it requires the Pywin32
extensions, which can be found here http://sourceforge.net/projects/pywin32/
Copyright (C) 2005 by SPSS Inc.
*       bootstrap_object
<file:///C:\Python24\Lib\site-packages\epydocoutput\bootstrap_object-module.
html> : a library of useful utility routines for SPSS Copyright (C) 2005 by
SPSS Inc.
*       extendedTransforms
<file:///C:\Python24\Lib\site-packages\epydocoutput\extendedTransforms-modul
e.html> : Functions designed to be used with the trans module to carry out
one or more transformations on casewise data.
*       findVars
<file:///C:\Python24\Lib\site-packages\epydocoutput\findVars-module.html> :
a utility to search sav files for variables with particular names or
properties.
*       fnplot
<file:///C:\Python24\Lib\site-packages\epydocoutput\fnplot-module.html> :
Creates data from any function acceptable as an SPSS compute statement, and
plots it.
*       namedtuple
<file:///C:\Python24\Lib\site-packages\epydocoutput\namedtuple-module.html>
: factory for making tuples that can be accessed by item name as well as
index number.
*       paretochart
<file:///C:\Python24\Lib\site-packages\epydocoutput\paretochart-module.html>
: Calculate and display Pareto chart with acceptance intervals computed
using Monte Carlo simulation.
*       pls
<file:///C:\Python24\Lib\site-packages\epydocoutput\pls-module.html> :
Partial Least Squares Regression Module
*       rake
<file:///C:\Python24\Lib\site-packages\epydocoutput\rake-module.html> :
Adjust case weights to control totals in one or more dimensions
*       rubin
<file:///C:\Python24\Lib\site-packages\epydocoutput\rubin-module.html> :
Compute and combine statistics from multiply imputed data.
*       specialtransforms
<file:///C:\Python24\Lib\site-packages\epydocoutput\specialtransforms-module
.html> : A collection of special transformations extending those built in to
SPSS
*       spssaux
<file:///C:\Python24\Lib\site-packages\epydocoutput\spssaux-module.html> : a
library of useful utility routines for working with the SPSS variable
dictionary and other common tasks Copyright (C) 2006 by SPSS Inc.
*       spssaux2
<file:///C:\Python24\Lib\site-packages\epydocoutput\spssaux2-module.html> :
Another library of useful utility routines for SPSS
*       spssdata
<file:///C:\Python24\Lib\site-packages\epydocoutput\spssdata-module.html> :
This module manages SPSS database functions at a higher level than the SPSS
module
*       tables
<file:///C:\Python24\Lib\site-packages\epydocoutput\tables-module.html> :
Part 1:Functions to merge similar pivot tables; Part2: Functions to censor
table cells based on associated statistics.
*       viewer
<file:///C:\Python24\Lib\site-packages\epydocoutput\viewer-module.html> :
Methods for performing certain operations on the SPSS Viewer (not the Draft
Viewer) via OLE automation.





Jon K. Peck

SPSS Inc.

[hidden email]

312-651-3435
Will
Statistical Services
 
============
info.statman@earthlink.net
http://home.earthlink.net/~z_statman/
============
Reply | Threaded
Open this post in threaded view
|

Harmonic Regression in SPSS

Dale Glaser
In reply to this post by Peck, Jon
I have been beset by data sets in the past year where there have been variable number of measures per person (literally ranging from 20 to 500) over variable number of days (from 1 to 100) for physiological and self-report measures.....I have employed certain modeling approaches such as multilevel modeling nesting occasion within individual but even when I have used different types of error structures (e.g., AR1) I still have had the hunch I haven't optimally captured the differences in interindividual trajectories.  I have discussed with others options such as spectral analysis but SPSS can only handle univariate time series...and I read of one article in Psychometrika that did use WINBUGS to handle such a model.

  That being said, I was talking to a statistician today and he informed me he has fit such a model via Harmonic Regression which apparently per http://www.biostat.wustl.edu/archives/html/s-news/1998-03/msg00080.html
  is as follows:

  "Harmonic regression (aka trigonometric regression, cosinor regression) is a
linear regression model in which the predictor variables are trigonometric
functions of  a single variable, usually a time-related variable.   Harmonic
regression is used in modelling biological phenomena, which tends to exhibit
periodic rhythms."

  Does anyone know is this something that can be fit in SPSS using the NLR option?..I was told today it can be fit in S-plus or R.......and has anyone had experience using Harmonic Regression for models when you have varying number of measures and are also interested in comparing groups (exp. vs control)............

  thank you.......dale



Dale Glaser, Ph.D.
Principal--Glaser Consulting
Lecturer/Adjunct Faculty--SDSU/USD/AIU
President-Elect, San Diego Chapter of
American Statistical Association
3115 4th Avenue
San Diego, CA 92103
phone: 619-220-0602
fax: 619-220-0412
email: [hidden email]
website: www.glaserconsult.com