Stata 15 help for is_svy

Title

[SVY] is_svy -- Determine if the last estimation command belongs to the svy class

Syntax

is_svy [, regression]

Description

is_svy returns in r(is_svy) whether (1) or not (0) the last estimation command belongs to the class of svy commands. Note that svy treats both "summary commands" such as svymean and regression type commands such as svyregress as estimation commands.

Option

regression specifies that r(is_svy) indicates whether or not the last estimation command is a svy regression command.


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