pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Import data from other file formats and Histogram question


From: Erik Frebold
Subject: Re: Import data from other file formats and Histogram question
Date: Tue, 17 Nov 2009 23:58:27 -0800 (PST)

1. Here is the .jnl. The n=5000 file still comes up with 5000 "garbage" errors. 
It's not so much this particular file I care about importing, as any datafile. 
I'd rather not have to cut and paste to purge them of whatever seems to be 
bothering pspp. Perhaps it's something silly like a random character I've 
missed. Should I try one of the other pspp read functions? (I think GET DATA is 
the most applicable anyway, but should I try to write the file as binary 
instead?)

> GET DATA
>   /TYPE=TXT
>   /FILE="/home/erik/Desktop/Modelling/attempts/normdataSet2.csv"
>   /IMPORTCASES=ALL
>   /ARRANGEMENT=DELIMITED
>   /DELCASE=LINE
>   /DELIMITERS=""
>   /VARIABLES=
>     VAR001 F17.11.

2. Re: Histogram-- I was puzzled as to why this function would assign only six 
bins to an n=1000 dataset. Upon investigation, looks like the number of bins is 
assigned by gsl, right? (which I assume would use something suitable like 
Sturges' formula, though I wasn't able to find the actual stretch of code) So 
is it likely just that the pspp part of the process might not be quite ready 
for primetime yet? No problem if this is the case-- I can use matplotlib or 
similar for now.  

Thanks, Erik



-----Original Message-----

> Date: Mon Nov 16 22:28:49 PST 2009
> From: "John Darrington" <address@hidden>
> Subject: Re: Import data from other file formats and Histogram question
> To: "Erik Frebold" <address@hidden>
>
> On Mon, Nov 16, 2009 at 03:18:09PM -0800, Erik Frebold wrote:
>      I'm importing using ppspire's File-Import Delimited Text Data. Select 
> the file, import all cases, Forward, Forward, deselect the hyphen separator 
> (pspp interprets the minus sign as a hyphen otherwise)(I also tried selecting 
> the <space> separator, no difference), Forward, and Apply. 
>      
> Can you post the contents of your pspp.jnl file after you have done this.
> 
> J'
> 
> -- 
> PGP Public key ID: 1024D/2DE827B3 
> fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
> See http://pgp.mit.edu or any PGP keyserver for public key.
> 
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]