|
Size: 310
Comment:
|
Size: 1724
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 4: | Line 4: |
| [[http://www.gnu.org/software/pspp/faq.html]] |
|
| Line 5: | Line 7: |
| Requires readline 6.2 and gtksourceview (exists in slackguild.org). | Requires readline 6.2 and gtksourceview (exists in slackbuild.org). |
| Line 7: | Line 9: |
| Slackbuild: Package 32 bit: |
Slackbuild: [[attachment:pspp.tar.gz]] Package 32 bit: [[attachment: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 == {{{ Ahmed 188.00 Bertram 167.00 Catherine 134.23 David 109.10 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. Data List Case Number forename height ------------------------------ 1 Ahmed 188.00 2 Bertram 167.00 3 Catherine 134.23 4 David 109.10 PSPP> save outfile='out.sav'. PSPP> }}} |
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 (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
Ahmed 188.00
Bertram 167.00
Catherine 134.23
David 109.10
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.
Data List
Case Number forename height
------------------------------
1 Ahmed 188.00
2 Bertram 167.00
3 Catherine 134.23
4 David 109.10
PSPP> save outfile='out.sav'.
PSPP> 