This article introduces the new Stata command spgen, which computes spatially lagged variables in Stata. The only additional information required to implement this command are the latitude and ...
group is a Stata command that creates categorical variables from multiple logical conditions. Instead of forcing you to choose between overlapping categories, it uses a power-of-two indexing system to ...