= Stata Drop = '''`-drop-`''' subsets cases or variables. See also [[Stata/Keep|-keep-]]. <> ---- == Usage == {{{ drop foo bar baz drop if foo==1 drop in 1/10 }}} ---- == Stored Results == The number of dropped rows is stored in `r(N_drop)`. The number of dropped variables is stored in `r(k_drop)`. ---- == See also == [[https://www.stata.com/manuals/ddrop.pdf|Stata manual for -drop-]] ---- CategoryRicottone