楼主: Jerryhui106
3671 3

r^2在计算的时候出现负值,为什么 [推广有奖]

  • 0关注
  • 2粉丝

已卖:932份资源

本科生

76%

还不是VIP/贵宾

-

威望
0
论坛币
2189 个
通用积分
1.0708
学术水平
2 点
热心指数
6 点
信用等级
1 点
经验
867 点
帖子
113
精华
0
在线时间
42 小时
注册时间
2007-10-6
最后登录
2017-6-20

楼主
Jerryhui106 发表于 2009-1-7 15:16:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

iu我看一些文章的时候,看到r^2出现负值,是为什么啊???

谢谢给位的解答啊!!!

同是统计人,推动统计进步!

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:负值

回帖推荐

timing 发表于4楼  查看完整内容

主要有两个原因:1.模型设定中没有截距项;2.两段OLS回归。

lyngqng 发表于3楼  查看完整内容

def:  Rsq = 1 - SS(regression)/SS(total), Assuming "SS" = Sum Squared error, and that "SS(total)" means the variance in the data. This should be obvious, as R-squared approaches unity as a regression approaches a perfect fit.(i.e., Rsq = 1 - sum((data - regression)^2))/sum((data - datamean).^2))there might be a few possibilities (I'll list 2 classical ones): 1 sample is not large enough2 spur ...

本帖被以下文库推荐

沙发
jhfu 发表于 2009-1-7 18:25:00
什么文章?

藤椅
lyngqng 发表于 2009-1-7 18:34:00

def:  Rsq = 1 - SS(regression)/SS(total), Assuming "SS" = Sum Squared error, and that "SS(total)" means the variance in the data. This should be obvious, as R-squared approaches unity as a regression approaches a perfect fit.(i.e., Rsq = 1 - sum((data - regression)^2))/sum((data - datamean).^2))

there might be a few possibilities (I'll list 2 classical ones):

1 sample is not large enough

2 spurious regression, please check the distribution of the variables, and their correlation coefficients first.

there must be some other reasons, which need further investigation.

已有 2 人评分经验 论坛币 热心指数 收起 理由
胖胖小龟宝 + 10 + 10 热心帮助其他会员
Jerryhui106 + 1 谢谢

总评分: 经验 + 10  论坛币 + 10  热心指数 + 1   查看全部评分

板凳
timing 发表于 2009-1-9 17:08:00

主要有两个原因:

1.模型设定中没有截距项;

2.两段OLS回归。

已有 2 人评分经验 论坛币 热心指数 收起 理由
胖胖小龟宝 + 10 + 10 热心帮助其他会员
Jerryhui106 + 1 谢谢

总评分: 经验 + 10  论坛币 + 10  热心指数 + 1   查看全部评分

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-3 13:44