Mark Gale | 27 Jan 10:06 2015

Derived variables

Hello. I’ve just started using PSPP and will be honest the last time I used a similar programme (SPSS) was some years ago.

 

I am trying to do some analysis of the British Labour Force Survey and need to create a derived variable (NETDV- which will be a binary, yes, no variable) according to values of other variables (including, AGES=3 or 4; APPRCUR= 1 etc). I hope to then have a variable where either all these characteristics are met or not and use that to create crosstabs to show a breakdown by for example region, gender.

 

I hope this makes sense and that someone can point me in the right direction- I’ve been struggling to work out a way by myself and can’t find anything from searching around online.

 

Many thanks

_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
ftr | 26 Jan 13:01 2015
Picon

save translate output and filtering

I filtered the working file through a filter variable k with the two 
values of 0 and 1:
FILTER by k.
A control of the frequencies proves that only cases for k=1 are left.

I then output the filtered file with save translate:

only want to output the party of the file
save translate
/outFILE="C:\Users\Toshiba\Documents\data\EVS-WVS\soctrust2.dat"
/type = csv
/replace
/fieldname
/keep  intrust3 outtrust3 soctrust k.

And the dat file gets all data, filtered and unfiltered.

Is this intended behaviour : a FILTER command does not control a SAVE 
TRANSLATE command ?

Cheers,
ftr
ftr | 25 Jan 23:38 2015
Picon

means procedure

Hi,
I want to produce a table of means with 2 controls:

var1

total
var2
level 1
level 2

level 1



level 2



Total


grand mean

The dependent is coded 0 and 1 so that the cell entries easily provide percentages.

I thought that
MEANS DV1 by var by var2
would do the trick.

But I get 3 separate tables
DV1 by Var1
DV1 by Var2
DV1 (table with Grand mean).

Does MEANS allow to do what I want (or another procedure) ?

TIA
ftr
_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
F. Thomas | 22 Jan 21:48 2015
Picon

correlations

Hi,
I try to get a simple correlations matrix for some variables labelled 
v12 to v21, with no significance levels (if you have 25,000 cases sig 
levels become useless).
My command is

correlations var = v12 to v21/print nosig.

And I get significance levels printed.

I think this should be a (small) bug.

Regards,
ftr
ftr | 19 Jan 23:08 2015
Picon

does the COUNT command count missing values ?

I ask this question as , to my surprise, here the COUNT command does 
count missing values.

missing values v125 to v130 (-9).
count missval = v125 to v130 (-9).
results in 0 cases for missval.

So I reset the missing to a valid code.
Recode v125 to v130 (-9=9).
count missval = v125 to v130 (9).
results in about 66,000 cases without any missings (i.e. values of 9) 
and in 18,000 with at least one missing.

This looks bizarre.

Any ideas for these varying results ?
- ftr
Benjamin Oppermann | 16 Jan 21:54 2015

"tags" in PSPP - can a variable have multiple values for the same case?

Hello,
This is basically a question about cleaning up my data:
I made a survey where for some of the questions, the answer could be any
number of keywords. The informant could be more or less specific to
their liking. This was intended to work like tags (they are
comma-separated), but we didn't consider that they would still end up in
the same column of the output.
This means, for example the values for "place of origin" could be as
precise as "Hannover, Niedersachsen, Germany, Europe" or "Hannover,
Germany", or just "Hannover". All in the same variable! 
I currently have this variable specified as a string in PSPP, which
means each represents a different value for PSPP.
I want to achieve an outcome where all these values would read the same,
i.e. the region, "Nidersachsen" in this example. Since my sample
includes ~360 cases, I'd like to find a way to do this automatically.
I might be able to do it in another program like a spreadsheet
application or GoogleRefine/OpenRefine, but maybe do you know a way to
recode this variable in PSPP? Any suggestions?
Regards,
Ben
ftr | 13 Jan 16:28 2015
Picon

save translate error

I doubt that my previous message arrived at the list. So I resend it again. Sorry for any inconvenience.

Hi,

I try to export a part of my sav file into a text file to treat it in another prog.

This is the syntax used:
save translate
/outfile ="C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv"
/type = csv
/fieldnames
/cells = values
/keep v3 country v125 to v130.

The error message says (translated from the French text):
Creating temporary file resulted in error  (file name): No such file or directory.
Error when opening C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv" when writing as a system file: success.

This is the original error message:

erreur: Création du fichier temporaire C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv.tmpHyg9N8 : No such file or directory.

erreur: Erreur d'ouverture 'C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv' lors de l'écriture en tant que fichier système : Success.

<at> page { margin: 2cm } p { margin-bottom: 0.25cm; line-height: 120% }


However, the outfile line is just a copy-paste from the get file statement. So the directory exists in exactly the wording used.
And the file name should end with the file format used in type statement, I guess.
And there isn't any csv file anywhere. So the success statement seems surprising.

So, what is wrong ? 

A second question with the save translate command.
The manual says (p.91) that missing can be recoded with the command line
/missing = recode.

But into what ?

Thanks in advance,
ftr



_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
ftr | 13 Jan 16:27 2015
Picon

factor score output ?

I see there is no command to save individual factor scores, i.e. scores 
by case.
Is there any way to skirt that limitation ?

If not, this would be a very welcomed update as what can you do with a 
factor analysis if you can't re-use its results ?

TIA
ftr
F. Thomas | 13 Jan 15:19 2015
Picon

save translate error

Hi,

I try to export a part of my sav file into a text file to treat it in another prog.

This is the syntax used:
save translate
/outfile ="C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv"
/type = csv
/fieldnames
/cells = values
/keep v3 country v125 to v130.

The error message says (translated from the French text):
Creating temporary file resulted in error  (file name): No such file or directory.
Error when opening C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv" when writing as a system file: success.

This is the original error message:

erreur: Création du fichier temporaire C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv.tmpHyg9N8 : No such file or directory.

erreur: Erreur d'ouverture 'C:\Users\ftr\Documents\data\EVS-WVS\WVS5Europetrustvars.csv' lors de l'écriture en tant que fichier système : Success.

<at> page { margin: 2cm } p { margin-bottom: 0.25cm; line-height: 120% }


However, the outfile line is just a copy-paste from the get file statement. So the directory exists in exactly the wording used.
And the file name should end with the file format used in type statement, I guess.
And there isn't any csv file anywhere. So the success statement seems surprising.

So, what is wrong ? 

A second question with the save translate command.
The manual says (p.91) that missing can be recoded with the command line
/missing = recode.

But into what ?

Thanks in advance,
ftr



_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Harry Thijssen | 11 Jan 15:00 2015
Picon

Re: Re: It is a problem that Windows PSPPIRE/PSPP is pretty wonky

Hello list
 
I'm not sure that Windows testers would help.  Testers provide a useful
service--bug reports--but we already have Windows bug reports that we
are not able to easily solve.  Really what we need is a developer, who
can not just report bugs but actually fix them.


For the more advanced users with ICT skils I have added a new part in the MSWindows build of PSPP which could be useful for finding and solving bugs.

On https://sourceforge.net/projects/pspp4windows/<version> in the subdirectory DebugVersion you can find a file *.Debug which is identical to the 32 bits build of that version except that there is also a console opened in which you can see the output messages of PSPPIRE.
To use it, just rename *.Debug to *.exe and install this version the usual way.

Most of the time the produced messages are error messages, however it seems not all error messages are serious and it looks as if you even can ignore some critical errors :-(

With this additional build, it should be possible for skilled users to:
- Do some bug hunting if they find a strange/wrong behavior.
- Report a bug with this error message included. This gives a lot more info to the developers.
- Check the sourcecode and may be able to point to a problem spot in the source


Have fun


_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users
Oscar Torres | 10 Jan 14:06 2015
Picon

PSPP Download

Please, can you give the exact or specific link for downloading the PSPP for my Windows 8 Computer?
Thank You,
Oscar 
_______________________________________________
Pspp-users mailing list
Pspp-users <at> gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

Gmane