楼主: 心雨丶
3312 1

如何在SAS中计算组合收益的Jensen's Alpha 和Newey-west t统计量 [推广有奖]

  • 2关注
  • 0粉丝

大专生

6%

还不是VIP/贵宾

-

威望
0
论坛币
729 个
通用积分
0.0600
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
207 点
帖子
17
精华
0
在线时间
48 小时
注册时间
2014-5-25
最后登录
2016-11-1

楼主
心雨丶 发表于 2014-11-19 11:47:52 |AI写论文
5论坛币

关键词:newey-west Jensen Alpha newey west 如何 收益 统计

沙发
bakoll 发表于 2015-1-13 18:42:48
alpha语句
proc reg data=origianl;
ods output nobs=a anova=b fitstatistics=c parameterestimates=d;
model y=x1;
by co;
quit;
data final;
set a(where=(Label="Number of Observations Read") keep=co Label N);
set b(where=(Source="Model") keep=source FValue);
set c(where=(Label2="Adj R-Sq") keep=Label2 nValue2 rename=(nValue2=adj_R_sq));
set d(where=(Variable="Intercept") keep=Variable Estimate tValue Probt rename=(Estimate=alpha tValue=t_alpha Probt=p_alpha));
set d(where=(Variable="X1") keep=Variable Estimate tValue Probt rename=(Estimate=beta1 tValue=t_beta1 Probt=p_beta1));
drop Label Source Label2 Variable;
run;

Newey-west是1987年就出来的方法,在spss里有自带程序。用sas是可以做到的,语句:
Proc model data=original;
  Param b0 b1;
  y=b0+b1*x1;
  fit y/gmm kernel=(bart,1, lnM/lnT);
  instruments x1;
by co;
run;

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-18 21:09