|
Size: 382
Comment:
|
Size: 2334
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| <<TableOfContents(2)>> |
|
| Line 4: | Line 6: |
| [[http://www.gnu.org/software/pspp/faq.html]] |
|
| Line 5: | Line 9: |
| Requires readline 6.2 and gtksourceview (exists in slackguild.org). | Requires readline 6.2 and gtksourceview and spread-sheet-widget (exists in slackbuild.org). |
| Line 10: | Line 14: |
== 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. |
|
| Line 11: | Line 26: |
| 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. }}} |
Contents
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.