[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Noob needs help with simple script
From: |
David Spaugh |
Subject: |
Re: Noob needs help with simple script |
Date: |
Wed, 11 May 2011 08:39:22 -0700 |
Wow - thanks!
Scroll down to Public-use Data Files / Downloadable
Data Files.
Click the link for NAMCS, 1993-2008.
Choose NAMCS08.exe.
This downloads a 2.2MB zip file to your drive,
which extracts to a 27MB data file. That's the file I'm working
with.
FYI, FWIW, etc: If you surf the links for related
documentation, you'll see that gov actually provided an SPSS script for file
import for a few data-sets from 2006 and earlier. That was actually my
personal discovery point for PSPP, leading to my attempt to create a simple
script for the 2008 data file, and to this email. My goal is much simpler
than the "segregate and label" functions provided by the huge gov
script. I only need to import the data into a usable PSPP "spreadsheet" to
sort & determine the number of 382.x diagnoses, and then what
proportion of those were accompanied by a certain prescription drug code.
I'll then adapt & apply the same script to multiple prior years and to
evaluate trends in antibiotic drug consumption for that diagnosis.
Anyway - thanks very much. The PSPP app &
community is impressive even to an amateur such as myself.
DS
----- Original Message -----
Sent: Tuesday, May 10, 2011 10:20 PM
Subject: Re: Noob needs help with simple
script
> Hi
David.
>
> PSPP should be able to read the file that you
described. I guess
> that this is a publicly available data set,
since it is US
> government data. If so, can you pass along a
pointer to it?
> I'll run the syntax that you provided on it here and, if
I see
> the same problem, then I'll do my best to fix it.
>
>
Thanks,
>
> Ben.
> --
> Ben Pfaff
> http://benpfaff.org
- Noob needs help with simple script, David Spaugh, 2011/05/11
- Re: Noob needs help with simple script, Ben Pfaff, 2011/05/11
- Re: Noob needs help with simple script,
David Spaugh <=
- Re: Noob needs help with simple script, Ben Pfaff, 2011/05/12
- Re: Noob needs help with simple script, David Spaugh, 2011/05/12
- SUCCESS (Re: Noob needs help with simple script), David Spaugh, 2011/05/12
- Save Translate CSV, David Spaugh, 2011/05/12
- Re: Save Translate CSV, Ben Pfaff, 2011/05/12
- Weights -> estimate with relative standard error, David Spaugh, 2011/05/18
- RE: Weights -> estimate with relative standard error, Marshall DeBerry, 2011/05/18
- Re: Weights -> estimate with relative standard error, Ben Pfaff, 2011/05/19
- Message not available
- Re: Weights -> estimate with relative standard error, Ben Pfaff, 2011/05/19
- Re: Weights -> estimate with relative standard error, John Darrington, 2011/05/19