178 proc sql;
179 create table umd
180 as select distinct a.permno, a.date, exp(sum(log(1+b.ret))) - 1 as cum_return
181 from msex2 (keep=permno date) as a, msex2 as b
182 where a.permno=b.permno and 0<=intck('month', b.date, a.date)<&J
183 group by a.permno, a.date
184 having count(b.ret)=&J;
ERROR: Expression using addition (+) requires numeric types.
ERROR: Function INTCK requires a numeric expression as argument 2.
ERROR: Function INTCK requires a numeric expression as argument 3.
ERROR: Expression using less than or equal (<=) has components that are of different data types.
ERROR: Function INTCK requires a numeric expression as argument 2.
ERROR: Function INTCK requires a numeric expression as argument 3.
ERROR: Expression using less than (<) has components that are of different data types.
185 quit;



雷达卡



京公网安备 11010802022788号







