[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Descriptives: Large Numbers and Variable Labels
From: |
Eliana |
Subject: |
Descriptives: Large Numbers and Variable Labels |
Date: |
Thu, 1 Mar 2012 19:03:07 -0500 |
Hello,
I am very new to PSPP, and need help getting some basic things to
work. I am excited to have found a free package I can run that is so
basically simple to use. I am running version 0.7.8 on Fedora 12 on
the command line.
I am working with DNA data, with START and STOP being precise
locations on a chromosome, up to 9 digits. My basic input starts
with the following:
GET DATA /TYPE=TXT /FILE='my.csv' /ARRANGEMENT=DELIMITED
/DELIMITERS="," /FIRSTCASE=2 /VARIABLES=
NAME1 A30
NAME2 A30
CHROM F2
START F9
STOP F9
SIZE F5.2
SNPS F4.
My data looks like this:
NAME,MATCHNAME,CHROMOSOME,START LOCATION,END LOCATION,CENTIMORGANS,MATCHING SNPS
John Adams,Sam Jones,1,179653274,202477373,20.82,5100
John Adams,George Smith,1,233181217,245329248,25.87,3742
When I run DESCRIPTIVES, the MINIMUM and MAXIMUM are indicated in
scientific notation rather than the precise values that I need for
START and STOP. I have not been able to figure out how to change that
to the F9.0 output format I need. Unless I missed it, the largest
range size field for all operations seems to be F8.2 from what I see
in the manual, that is not working for my data set that requires F9.
DESCRIPTIVES
/VARIABLES=CHROM START STOP SIZE SNPS
/FORMAT=LABELS
/STATISTICS=ALL.
I also expect to be creating variables containing the midpoint of
START and STOP using COMPUTE, and if I want to look at statistics or
print those, something like F11.2 will be needed.
I also have not found a way to get variable labels into the descriptives output.
Here is what I would like that creates error messages wherever I put
it. I have tried with and without the slash before NAME1.
VARIABLE LABELS
/NAME1 'PRIMARY KIT'
/NAME2 'MATCH NAME'
Where do Variable Labels statements go? I have not been able to find
an example anywhere.
Thank so much,
Eliana
- Descriptives: Large Numbers and Variable Labels,
Eliana <=