Date: Thu, 4 Sep 1997 09:06:48 -0400
Reply-To: Diego Valderrama <diegov@ECON.DUKE.EDU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Diego Valderrama <diegov@ECON.DUKE.EDU>
Organization: Duke University, Durham, NC, USA
Subject: Macro to run PROC REG several times
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hello:
I am interested in running a loop (similar to a do loop) to run a PROC REG
statement with a set of 47 variables. I have 47 pairs of time series data
(one is an explanatory variable and the other the dependent variable)
named s1-s47 and a1-a47 and would like to know if it is possible to run a
program, possibly using a macro variable, that allows me to just run one
model statement in the PROC REG procedure.
Thanks for the help.
Diego
***********************************************************************
Diego Valderrama Economics Dept.
301 Swift Ave. #1 Box 90097
Durham, NC 27705 Duke University
(919) 613 3701 Durham, NC 27708
|