311 %macro unemp4(ls); 312 DATA asmt2.gdp3; 313 set asm2.gdp 314 315 L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); 316 S&ls. = LAG&ls.(SPREAD); 317 318 PROC REG DATA=asmt2.gdp3; 319 MODEL L&ls.=S&ls./DWPROB; 320 RUN; 321 quit; 322 %MEND unemp4; 323 %unemp4 (1) %unemp4(2) %unemp4 (3) %unemp4 (4) %unemp4(5) %unemp4 (6) NOTE: Line generated by the invoked macro "UNEMP4". 1 DATA asmt2.gdp3; set asm2.gdp L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); S&ls. = - 22 76 1 ! LAG&ls.(SPREAD); PROC REG DATA=asmt2.gdp3; MODEL L&ls.=S&ls./DWPROB; RUN; quit; ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END, INDSNAME, KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_. ERROR 76-322: Syntax error, statement will be ignored. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set ASMT2.GDP3 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set ASMT2.GDP3 was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: Writing HTML Body file: sashtml11.htm NOTE: PROCEDURE REG used (Total process time): real time 0.71 seconds cpu time 0.37 seconds NOTE: Line generated by the invoked macro "UNEMP4". 1 DATA asmt2.gdp3; set asm2.gdp L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); S&ls. = - 22 76 1 ! LAG&ls.(SPREAD); PROC REG DATA=asmt2.gdp3; MODEL L&ls.=S&ls./DWPROB; RUN; quit; ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END, INDSNAME, KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_. ERROR 76-322: Syntax error, statement will be ignored. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set ASMT2.GDP3 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set ASMT2.GDP3 was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: PROCEDURE REG used (Total process time): real time 0.39 seconds cpu time 0.18 seconds NOTE: Line generated by the invoked macro "UNEMP4". 1 DATA asmt2.gdp3; set asm2.gdp L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); S&ls. = - 22 76 1 ! LAG&ls.(SPREAD); PROC REG DATA=asmt2.gdp3; MODEL L&ls.=S&ls./DWPROB; RUN; quit; ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END, INDSNAME, KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_. ERROR 76-322: Syntax error, statement will be ignored. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set ASMT2.GDP3 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set ASMT2.GDP3 was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: PROCEDURE REG used (Total process time): real time 0.35 seconds cpu time 0.15 seconds NOTE: Line generated by the invoked macro "UNEMP4". 1 DATA asmt2.gdp3; set asm2.gdp L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); S&ls. = - 22 76 1 ! LAG&ls.(SPREAD); PROC REG DATA=asmt2.gdp3; MODEL L&ls.=S&ls./DWPROB; RUN; quit; ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END, INDSNAME, KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_. ERROR 76-322: Syntax error, statement will be ignored. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set ASMT2.GDP3 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set ASMT2.GDP3 was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: PROCEDURE REG used (Total process time): real time 0.37 seconds cpu time 0.17 seconds NOTE: Line generated by the invoked macro "UNEMP4". 1 DATA asmt2.gdp3; set asm2.gdp L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); S&ls. = - 22 76 1 ! LAG&ls.(SPREAD); PROC REG DATA=asmt2.gdp3; MODEL L&ls.=S&ls./DWPROB; RUN; quit; ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END, INDSNAME, KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_. ERROR 76-322: Syntax error, statement will be ignored. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set ASMT2.GDP3 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set ASMT2.GDP3 was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: PROCEDURE REG used (Total process time): real time 0.35 seconds cpu time 0.14 seconds NOTE: Line generated by the invoked macro "UNEMP4". 1 DATA asmt2.gdp3; set asm2.gdp L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); S&ls. = - 22 76 1 ! LAG&ls.(SPREAD); PROC REG DATA=asmt2.gdp3; MODEL L&ls.=S&ls./DWPROB; RUN; quit; ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END, INDSNAME, KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_. ERROR 76-322: Syntax error, statement will be ignored. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set ASMT2.GDP3 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set ASMT2.GDP3 was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.01 seconds cpu time 0.00 seconds NOTE: PROCEDURE REG used (Total process time): real time 0.36 seconds cpu time 0.15 seconds 324 %unemp4(7) %unemp4 (8) NOTE: Line generated by the invoked macro "UNEMP4". 1 DATA asmt2.gdp3; set asm2.gdp L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); S&ls. = - 22 76 1 ! LAG&ls.(SPREAD); PROC REG DATA=asmt2.gdp3; MODEL L&ls.=S&ls./DWPROB; RUN; quit; ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END, INDSNAME, KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_. ERROR 76-322: Syntax error, statement will be ignored. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set ASMT2.GDP3 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set ASMT2.GDP3 was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.01 seconds NOTE: PROCEDURE REG used (Total process time): real time 0.35 seconds cpu time 0.15 seconds NOTE: Line generated by the invoked macro "UNEMP4". 1 DATA asmt2.gdp3; set asm2.gdp L&ls. = LOG(GDP) - LOG (LAG&ls.(GDP)); S&ls. = - 22 76 1 ! LAG&ls.(SPREAD); PROC REG DATA=asmt2.gdp3; MODEL L&ls.=S&ls./DWPROB; RUN; quit; ERROR 22-322: Syntax error, expecting one of the following: a name, a quoted string, (, -, :, ;, END, INDSNAME, KEY, KEYS, NOBS, OPEN, POINT, _DATA_, _LAST_, _NULL_. ERROR 76-322: Syntax error, statement will be ignored. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set ASMT2.GDP3 may be incomplete. When this step was stopped there were 0 observations and 2 variables. WARNING: Data set ASMT2.GDP3 was not replaced because this step was stopped. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds NOTE: PROCEDURE REG used (Total process time): real time 0.36 seconds cpu time 0.15 seconds