Reshaping Long to Wide with Multiple Variables

Re: Reshaping Long to Wide with Multiple Variables

by Kristen -
Number of replies: 0

Here is another example if you don't want to include all variables in your variable list: 


webuse nhanes2, clear

ds

local a = r(varlist)

local b  make sampl strata psu

local c:list  a - b

disp "`c'"