楼主: shewenhao
8630 20

[原创博文] logistic regression结果释疑,解读 [推广有奖]

  • 1关注
  • 7粉丝

已卖:1586份资源

讲师

42%

还不是VIP/贵宾

-

威望
0
论坛币
40029 个
通用积分
14.0612
学术水平
4 点
热心指数
6 点
信用等级
3 点
经验
563 点
帖子
235
精华
0
在线时间
617 小时
注册时间
2008-3-7
最后登录
2025-1-16

楼主
shewenhao 发表于 2012-3-16 04:10:49 |AI写论文
100论坛币
做logistic regression回国前准备:

1. independent variable:国外金融论坛有关交易词汇的统计:比如“trader,indicator, long, short, market, crazy”等有160个词汇的每日出现的相对频率,经过normalization,比如trader 的出现的次数除以当天总的帖子数目。
2. 预测对象:binary variable: 明日的volatility是否是top 15%, 比如大于60%这个值。 这样1 为大于,0 为小于。

用sas的logistic regression做回国,方法backward,因为不可能160个词汇都有预测能力,所以希望削减variable数量。
模型stay的标准0.05,

结果如下:



问题,最后sas给我选出来的可预测的词汇有52个之多,如上图,df比较高,可是其结论是这样的模型fit最好,这里是否有overfit的隐私存在呢,或者其他的一些明显的缺点呢?谢谢大家了

关键词:regression regressio logistic regress ogistic backward market crazy 模型 能力

沙发
shewenhao 发表于 2012-3-16 21:32:29
没人解答啊,先谢一下吧。

藤椅
飘洒 发表于 2012-3-19 19:04:37
看一下Hosmer and Lemeshow Goodness-of-Fit Test,p值越小,就表示过拟合
It is not entirely satisfying but the alternatives are worse!
统计人

板凳
shewenhao 发表于 2012-3-21 00:26:54
飘洒 发表于 2012-3-19 19:04
看一下Hosmer and Lemeshow Goodness-of-Fit Test,p值越小,就表示过拟合
你好,飘洒,

我看了一下你说的这个test,去找了一个人写的实例,感觉好像一般?尤其这篇博客最后说的那句话:

The discrepancy between the SAS and R results is likely due to the odd binning SAS uses; the test is unstable in the presence of ties to the extent that some authorities suggest avoiding it. In general, with continuous predictors, the objections are not germane.

http://sas-and-r.blogspot.com/20 ... eshow-goodness.html

我感觉我的那个response图就是很好的和你这个test类似的一个检验,看起来比较平滑

报纸
飘洒 发表于 2012-3-21 23:31:03
shewenhao 发表于 2012-3-21 00:26
你好,飘洒,

我看了一下你说的这个test,去找了一个人写的实例,感觉好像一般?尤其这篇博客最后说的 ...
在实际中用logistic regression 的时候,主要还是在解释性和预测能力之间做平衡,因此,在保证解释性的情况下,看模型预测能力,可以通过新数据的检验来评估模型的预测能力。
It is not entirely satisfying but the alternatives are worse!
统计人

地板
shewenhao 发表于 2012-3-22 10:05:27
飘洒 发表于 2012-3-21 23:31
在实际中用logistic regression 的时候,主要还是在解释性和预测能力之间做平衡,因此,在保证解释性的情 ...
多谢回复,我再多尝试一下,回来汇报

7
shewenhao 发表于 2012-3-31 12:47:56
这问题没解决,为啥扣我分数。。

8
shewenhao 发表于 2012-4-16 06:38:56
已经找到方法了,需要sbc作为target目标。

9
yanziwoaini 发表于 2012-4-16 22:33:12

10
shewenhao 发表于 2012-5-11 01:51:23
yanziwoaini 发表于 2012-4-16 22:33
yeah~~~~

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-26 00:01