spss

SPSS Set Page breaks in Syntax

Is it possible to set page breaks using syntax for the Output viewer? I am looking for ways to programmatically control the content in the output window; everything seems to be done by pointing and clicking. Thanks, Brock ...

reduce the number of features in SPSS

Hi, I have a dataset with more than 200 features and I would like to reduce the number in order not to overestimate the prediction of the outcome. Does anyone know whether there is any option in SPSS to calculate mutual information between the target value (Y) and the independent variables (X) or any other method to check which variabl...

SPSS Python Error

Getting the following error when trying to run SPSS from an external Python IDE. import spss yields the following error Traceback (most recent call last): File "C:\Documents and Settings\USER\workspace\SPSS\src\NE ASQ 2010.py", line 6, in <module> import spss File "C:\Python26\Lib\site-packages\spss180\spss\spss.py", line 16,...

Perl Regex syntax

I would like to use Perl to take a previously generated SPSS syntax file and format it for use in an R environment. This is probably a very simple task for those familiar with Perl and regex, but I am stumbling. The steps as I've laid them out for this Perl script are as follows: Read in SPSS file Find appropriate chunks of SPSS fil...

Replicate "Custom Tables" comparison in R

Hi everyone, I use SPSS everyday but have really been trying to learn R. The major thing that is holding me back is my need to easily generate tables, banners, and cross-tabs for the market research that I do. I love the Custom Tables option in SPSS and am looking for advice on how to replicate it with R. I believe R has a ton of adv...

R Box'M test for homocedasticity

Hi, I'm trying to replicate a linear discriminant analysis output from SPSS in R, and I'm having difficulties to find a way to perform an m-box test. The only thing I found was some code posted in a forum, to manually implement the process, but I was wondering if there is nothing for this purpose already incorporated in the language it...

Perl regex syntax generation

This is a follow up to the question posted here: http://stackoverflow.com/questions/3358361/perl-regex-syntax The results from that discussion yielded this script: #!/usr/bin/env perl use strict; use warnings; my @lines = <DATA>; my $current_label = ''; my @ordered_labels; my %data; for my $line (@lines) { if ( $line =~ /^\/(.*)$...

SPSS 15 I/O DLL: Modifying Existing Cases

Hello, I am writing an application in C++ that interfaces with SPSS 15 using their I/O DLL. Our SPSS database is made of a number of cases, each with their unique "ID" field. What I need to do is open the database in read/write, find the case with the matching ID and modify some of the variables according to CSV files that my program p...

Importing SPSS dataset into Python

Hi, Is there any way to import SPSS dataset into Python, preferably NumPy recarray format? I have looked around but could not find any answer. Joon ...

R and SPSS difference

i will be analysing vast amount of network traffic related data shortly. i will pre-process the data in order to analyse it. i have found that R and SPSS are among the most popular tools for statistical analysis. i will also be generating quite a lot of graphs and charts. so i was wondering what is the basic difference between these two ...

How did you experience the transition from SPSS to R ?

The discussion in this question is the direct cause for me asking this question. The more general reason is the fact that I often have to explain R use to people that are only familiar with SPSS. I know most of the basics of SPSS, as we still use it in the base course statistics. But as I'm more of an R guy, it's difficult to know how SP...