Transcription of Title stata.com drop — Drop variables or observations
{{id}} {{{paragraph}}}
drop variables or observationsSyntaxMenuDescriptionRemarks and examplesReferenceAlso seeSyntaxDrop variablesdropvarlistDrop observationsdrop ifexpDrop a range of observationsdrop inrange[ifexp]Keep variableskeepvarlistKeep observations that satisfy specified conditionkeep ifexpKeep a range of observationskeep inrange[ifexp]byis allowed with the second syntax ofdropand the second syntax ofkeep; see [D] or keep variablesData> variables ManagerDrop or keep observationsData>Create or change data> drop or keep observationsDescriptiondropeliminates variables or observations from the data in the same way asdrop, except that you specify the variables or observations to bekept rather than the variables or observations to be drop drop variables or observationsWarning:dropandkeepare not reversible.
2drop— Drop variables or observations Warning: drop and keep are not reversible. Once you have eliminated observations, you cannot read them back in again.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}