由买买提看人间百态

topics

全部话题 - 话题: intvar
(共0页)
b**********i
发帖数: 1059
1
来自主题: Statistics版 - macro statement 一问
谢谢了。贴几行我的code,看看规范否?
%macro tryrun;
%let index = 1;
%do %while (&index LE &nrecords);

data parms1;
set specinput;
if _N_ EQ &index;
************************************************************************
******************;
* NOTHING BELOW NEEDS TO BE SPECIFIED;
****************************************************************************
**************;
n2=round(n1*k);
ns = n1 + n2;
* figure out the intercept and trend variance (assume error variance = 1);
* figure o... 阅读全帖
(共0页)