Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: macro problem


From   "Dimitriy V. Masterov" <[email protected]>
To   [email protected]
Subject   Re: st: macro problem
Date   Thu, 22 Jul 2004 12:43:03 -0500 (CDT)

Andrea,

I just replaced your variables with some variables from the auto dataset,
and your code worked just fine:

clear
use auto
local grav "mpg rep78 headroom trunk weight"
display "grav contains `grav'"
reg price `grav'

What is the exact error message? If you try the display step, does it
work?

Dimitriy V. Masterov


*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index