Hi everyone,
Basically, I am building a program that does not need to calculate values for the omitted categories of a factor variable.
webuse sysdsn1
fvexpand i.insure i.site
di r(varlist)
Yields : "1b.insure 2.insure 3.insure 1.site 2b.site 3.site"
What is the most efficient way to strip out "1b.insure" and "2b.site" from this syntax, or more generally any varlist?
Basically, I am building a program that does not need to calculate values for the omitted categories of a factor variable.
webuse sysdsn1
fvexpand i.insure i.site
di r(varlist)
Yields : "1b.insure 2.insure 3.insure 1.site 2b.site 3.site"
What is the most efficient way to strip out "1b.insure" and "2b.site" from this syntax, or more generally any varlist?
Comment