[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: using variable list instead of listing all variables?
Shuaizhang Feng wrote:
> I have a simple question. In a regression command
> like "reg", if I do not want to list all the variables
> but just use an abbreviation, how should I do it. For
> reg a b1 b2 b3 c
> can I do something like reg a all_b_s c
Use -local- macros. For example:
. local myvars "b1 b2 b3"
. reg a 'myvars' c
For more, see -whelp macros-. Hope that helps.
CLIVE NICHOLAS |t: 0(044)7903 397793
Politics |e: email@example.com
Newcastle University |http://www.ncl.ac.uk/geps
Whereever you go and whatever you do, just remember this. No matter how
many like you, admire you, love you or adore you, the number of people
turning up to your funeral will be largely determined by local weather
* For searches and help try: