%macro my_cn2(data =, y =, x =, c_x =, l_r=, z =);
ods trace on / listing;
proc contents data = &data.;
ods output Variables = contents_;
run;
ods trace off;
data contents_;
set contents_;
where upcase(Variable) = "%upcase(&y.)";
call symputx("type", type);
run;
%if "&type." = "Num"...
2017年10月27日 星期五
2017年7月4日 星期二
sas macro logistic regression real adaboost
data comb_data;
length comb_x $ 100;
input comb_x $ @@;
/*輸入所有x變數名稱,方便隨機抽取,放入不同模型裡*/
datalines;
area da hfs i0 pa500
;
run;
%macro logistic_real_adabost(data = ,
y = ,
y_testing=,
x = ,
ab = ,
training_obs=,
...
2017年3月9日 星期四
訂閱:
文章 (Atom)