<> = 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: [[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 == {{{ 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. }}} == Slackbuild - update version == {{{#!highlight sh # docker hub https://hub.docker.com/u/vbodocker docker pull vbodocker/build-pspp-slackware64-15 docker run -it vbodocker/build-pspp-slackware64-15 bash cat /etc/os-release #NAME=Slackware #VERSION="15.0" cd ~ sh build-spread-sheet-widget.sh # build widget sh build-pspp.sh # version 2.0.1 nano build-pspp.sh cd ~ wget https://slackbuilds.org/slackbuilds/15.0/academic/pspp.tar.gz tar xvzf pspp.tar.gz cd pspp wget http://mirrors.nav.ro/gnu/pspp/pspp-2.1.1.tar.gz GTK3_LIBS="-L/usr/lib64 -lspread-sheet-widget -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0" ./pspp.SlackBuild installpkg /tmp/pspp-2.1.1-x86_64-1_SBo.tgz sh build-pspp.sh # version 2.1.1 psppire --version # psppire (GNU PSPP) 2.1.1 pspp --version # pspp (GNU PSPP) 2.1.1 nano data.txt cat data.txt #Ahmed 188.00 #Bertram 167.00 #Catherine 134.23 #David 109.10 mkdir -p /root/.local/state/pspp/ pspp data list file='data.txt' list /forename(A12) height. list /format=numbered. save outfile='out.sav'. exit. rm pspp-2.1.1.tar.gz cd ~ wget https://slackbuilds.org/slackbuilds/15.0/academic/pspp.tar.gz tar xvzf pspp.tar.gz cd pspp wget http://mirrors.nav.ro/gnu/pspp/pspp-2.1.2.tar.gz md5sum pspp-2.1.2.tar.gz # 4492ad86014754a38331249fec84b63d pspp-2.1.2.tar.gz # build package GTK3_LIBS="-L/usr/lib64 -lspread-sheet-widget -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0" ./pspp.SlackBuild # Slackware package /tmp/pspp-2.1.2-x86_64-1_SBo.tgz created. installpkg /tmp/pspp-2.1.2-x86_64-1_SBo.tgz # Package pspp-2.1.2-x86_64-1_SBo.tgz installed. pspp --version # pspp (GNU PSPP) 2.1.2 psppire --version # psppire (GNU PSPP) 2.1.2 # in debian cd ~/Documents/pspp docker cp elastic_rubin:/root/pspp/pspp.SlackBuild . docker cp elastic_rubin:/root/pspp/pspp.info . cd ~/Documents # build slackbuild package tar cvzf pspp.tar.gz pspp/pspp.info pspp/doinst.sh pspp/slack-desc pspp/README pspp/pspp.SlackBuild docker cp pspp.tar.gz elastic_rubin:/tmp/ # in docker image cd /tmp/ tar xvzf pspp.tar.gz cd pspp wget $(cat pspp.info | grep DOWNLOAD= | sed 's/\=/ /g' | sed 's/\"//g' | awk '//{print $2}') md5sum pspp*tar.gz GTK3_LIBS="-L/usr/lib64 -lspread-sheet-widget -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0" ./pspp.SlackBuild installpkg /tmp/pspp-2.1.2-x86_64-1_SBo.tgz # https://slackbuilds.org/submit/ # email: # category: academic # file to upload: pspp.tar.gz # submit # check https://slackbuilds.org/pending/ }}}