MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap
Revision 13 as of 2026-10-05 15:16:11
  • pspp

Contents

  1. pspp
    1. SlackBuild
    2. Test
    3. Other test
    4. Test

pspp

GNU PSPP is a program for statistical analysis of sampled data. It is a Free replacement for the proprietary program SPSS, and appears very similar to it with a few exceptions.

http://www.gnu.org/software/pspp/faq.html

SlackBuild

Requires readline 6.2 and gtksourceview and spread-sheet-widget (exists in slackbuild.org).

Slackbuild: pspp.tar.gz

Package 32 bit: pspp-0.8.1-i486-1_SBo.tgz

Test

Save the following data in a file named myfile.sps:

DATA LIST LIST /name (a25) quantity (f8).
BEGIN DATA.
widgets 10345
oojars 2345
dubreys 98
thingumies 518
END DATA.
 
LIST.
 
DESCRIPTIVES /quantity
 /statistics ALL.

Run psppire:

  • File
  • Open myfile.sps
  • Menu Run, all

The data view and variable view will appear filled. An output window will appear with all the data.

Other test

PSPP> get file='PARAM_exercicio2.sav'.
PSPP> list Tv_hours.
PSPP> compute TvHoursHigherEqual=Tv_hours>=2.
PSPP> list Tv_hours TvHoursHigherEqual.
PSPP> filter by TvHoursHigherEqual.
PSPP> mean age.
PSPP> filter off.

Test

nano data.txt
Ahmed          188.00 
Bertram        167.00 
Catherine      134.23 
David          109.10

mkdir -p /root/.local/state/pspp/ 

pspp
PSPP is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying." to see the conditions.
There is ABSOLUTELY NO WARRANTY for PSPP; type "show warranty." for details.
GNU pspp 2.1.1
PSPP> data list file='data.txt' list /forename(A12) height. 
Reading free-form data from `data.txt'.
+--------+------+
|Variable|Format|
+--------+------+
|forename|A12   |
|height  |F8.0  |
+--------+------+
PSPP> list /format=numbered.

2: warning: Missing value(s) for all variables from forename onward.  These will be filled with the system-
missing value or blanks, as appropriate.

           Data List
+-----------+---------+------+
|Case Number| forename|height|
+-----------+---------+------+
|1          |Ahmed    |188.00|
|2          |Bertram  |167.00|
|3          |Catherine|134.23|
|4          |David    |109.10|
|5          |         |     .|
+-----------+---------+------+
PSPP> save outfile='out.sav'.
PSPP> exit.
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01