Nick,
Thank you, I will look at this.
-Ed
Nick Cox wrote:
unab myvars : _IstXab*
foreach v of local myvars {
local Myvars "`Myvars' l.`v'"
}
Nick
[email protected]
Ed Blackburne
I have created a set of vars using xi command that has resulted in
_IstXab_1 _IstXab_2, etc.
The following reference to the varlist works:
regress y _IstXab*
However, I cannot use lag or difference operators:
regress y l._IstXab*
results in error of:
_IstXab* ambiguous abbreviation
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/