[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
RE: st: the -missing- command
Just to add that I'm using version 8.2.
From: "louis boakye-yiadom" <firstname.lastname@example.org>
Subject: st: the -missing- command
I have two questions regarding the -missing- command (or function?).
I'm not clear about exactly what -missing- does. An example will clarify my
concern. I have a dataset containing 11 variables (the first is -clust- and
the last is -s11aq13-). One of the variables is -trexpcd-, and the total
number of observations is 4872. I gave the following commands and had the
count if mi(trexpcd)
count if mi(clust-s11aq13)
My understanding of the online -help- is that -missing- evaluates the
number of observations for which any of the arguments is missing. So, for
the second command, since -trexpcd- is one of the arguments, I expected the
result to be a number which is at least equal to 4649.
Can anyone please show me what I'm missing?
Also, I had the following result:
count if !mi(clust-s11aq13)
Does !mi() evaluate the number of observations for which none of the
arguments is missing? Thank you.
* For searches and help try: