In Stata, use net from https://wwwdev.nber.org/stata