Stata 15 help for svymarkout

[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.

Remarks

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

Stored results

svymarkout stores the following in s():

Macros s(weight) weight variable set by svyset


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index