[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Count system missing columns
From: |
Ben Pfaff |
Subject: |
Re: Count system missing columns |
Date: |
Mon, 21 Dec 2015 14:10:54 -0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Dec 21, 2015 at 10:44:12AM -0600, Alan Mead wrote:
> I have a number of datasets with slightly different columns and I'm
> wondering if I can wrote generic code in PSPP to count the missing columns.
>
> For example, if I knew that the first and last column were, say, ID and
> X100, then I could count the missing this way:
>
> count miss = ID to X100 (MISSING).
> execute.
>
> But if I don't know the variable names, is there a way to specify all
> columns? The PSPP manual suggests using DESCRIPTIVES which is clever
> but that won't create a column in the dataset (will it?).
I think that you just want:
COUNT n=ALL(SYSMIS).