|
Size: 1774
Comment:
|
Size: 2334
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 53: | Line 53: |
| nano data.txt | |
| Line 58: | Line 59: |
| PSPP> data list file='data.txt' list /forename(A12) height. | mkdir -p /root/.local/state/pspp/ |
| Line 60: | Line 61: |
| 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. |
|
| Line 63: | Line 70: |
| #========#======# | +--------+------+ |
| Line 69: | Line 76: |
| Data List Case Number forename height ------------------------------ 1 Ahmed 188.00 2 Bertram 167.00 3 Catherine 134.23 4 David 109.10 |
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 | | .| +-----------+---------+------+ |
| Line 77: | Line 90: |
| PSPP> | 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.