The keep command is used to subset cases or variables. See also the drop command.
Contents
keep foo bar baz
Note that the variables kept are not re-ordered. See the order command for that functionality.
keep if foo==1 keep in 1/10
CategoryRicottone
Stata/Keep (last edited 2025-10-24 17:06:27 by DominicRicottone)