nwcompressobs
Compresses observations in Stata
Syntax
nwcompressobs
Description
Comresses the observations in Stata. Deletes all unnecessary cases that are not needed to represent the largest network. When the dataset also contains an attribute variable with non-missing data, these cases are not deleted.
Examples
. nwclear
. nwrandom 20, prob(.2)
. set obs 50
. nwcompressobs
Supported network types
Not applicable - trims trailing empty (all-missing) Stata observations from the dataset; does not read or depend on any network’s own content, directed/valued/two-mode status, or tie values.
See also
- nwdrop,
clear