help svymarkout
-------------------------------------------------------------------------------
Title
[SVY] svymarkout -- Mark observations for exclusion on the basis of
survey characteristics
Syntax
svymarkout [markvar]
Description
svymarkout is a programmer's command that resets the values of markvar to
contain 0 wherever any of the survey-characteristic variables (previously
set by svyset) contain missing values.
svymarkout assumes that markvar was created by marksample or mark; see
[P] mark. This command is most helpful for developing estimation
commands that use ml to fit models using maximum pseudolikelihood
directly, instead of relying on the svy prefix; see [P] program
properties for a discussion of how to write programs to be used with the
svy prefix.
Example
program mysvyprogram, ...
...
syntax ...
marksample touse
svymarkout `touse'
...
end
Saved results
svymarkout saves the following in s():
Macros
s(weight) weight variable set by svyset
Also see
Manual: [SVY] svymarkout
Help: [P] mark, [P] program properties