24小时热门版块排行榜    

查看: 1247  |  回复: 3
当前主题已经存档。

alwens

铁杆木虫 (正式写手)

老木虫

[交流] 文章修改意见(补做Y-randomization)

最近投稿到J. Comput.-Aided Mol. Des.的一篇文章,审稿人对拟和模型的验证提出一个问题,就是希望增加一个Y-randomization test,以增加说服力。以前发的文章一般是对模型做一个内部数据集的交叉验证,再做个对外部测试集验证就可以了,Y-randomization还真没做过。查了一下常用的统计学软件如origin和SPSS,好像也没找到相关的模块或功能。因为原理很简单,就动手写了个R的脚本,现在把编辑问的问题,我的回答,以及这个脚本拿来和大家分享,希望对各位同行有参考价值。

问题:I advise the authors to perform additional validation for the models developed. For example, conduct the Y-randomization test (scramble stability test). Eighteen compounds in the test set is a low number for a training set of 108 molecules.

回答:Thanks for the reviewer’s advice. We have included the Y-randomization test results in Section 3.4, Results and Discussion.
Except for the concern of the generalizability, the high internal validation performance of our xxxx models might be a result of chance correlation. To address this problem, these three models were validated by applying the Y-randomization of response test (in this work, the experimental activity values). It consists of repeating the calculation procedure several times after shuffling the Y vector randomly. If all models obtained by the Y-randomization test have relatively high values for both q2 and r2 statistics, this is due to a chance correlation and implies that the current modeling method cannot lead to an acceptable model using the available data set. This was not the case for the data set and methodology used in this work. Ten random shuffles of the Y vector were performed and the results are shown in Table 4. The low q2 and r2 values show that the good results in our original models are not due to a chance correlation or structural dependency of the training set.
Table 4.        Y-Randomization results of the three models.
Iteration        Model1        Model2        Model3
        r2        q2        r2        q2        r2        q2
1        0.06087        0.02613        0.03359        0.00700        0.00004        0.27470
2        0.00050        0.06217        0.00011        0.05587        0.00675        0.01233
3        0.00287        0.07728        0.01106        0.00452        0.00673        0.01450
4        0.00309        0.06925        0.01152        0.00495        0.03866        0.00979
5        0.02495        0.00113        0.00021        0.37390        0.00426        0.04193
6        0.00080        0.27630        0.00003        0.43000        0.00200        0.15350
7        0.00424        0.04414        0.00728        0.01734        0.03321        0.00651
8        0.02441        0.00040        0.01375        0.00040        0.02045        0.00008
9        0.00199        0.09985        0.01244        0.00248        0.03296        0.00430
10        0.00795        0.01594        0.00122        0.2014        0.01232        0.00541
脚本:
d<-read.table('数据文件1',header=TRUE)
vp<-1:nrow(d)
TIMES=100
for ( j in 1:TIMES){
x <- d$模型1
y <- sample(d$试验值)
print(summary(lm(y~x)))
for ( i in 1:nrow(d)){
x1 <- x
x0 <- x[-i]
y1 <- y
y0 <- y[-i]
yp<-predict(lm(y0~x0),data.frame(x0 = x), se.fit = TRUE)
vp=yp$fit
}
print(summary(lm(y~vp)))
}
注:“数据文件1”为tab分隔的,行标为试验值,列标为模型预测值的文本文件。

[ Last edited by alwens on 2006-9-6 at 15:42 ]
回复此楼

» 收录本帖的淘帖专辑推荐

学习工作等

» 猜你喜欢

万里夕阳锦背高 翻身犹恨东洋小 太公怎钓?
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

goldjay

至尊木虫 (知名作家)

龙虫

0.5

写得不错!
路漫漫其修远兮,吾将上下而求索
2楼2006-09-06 16:17:30
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

1

3楼2006-09-06 18:02:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

1

4楼2006-09-07 10:51:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 alwens 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 293求调剂 +4 zjl的号 2026-03-16 5/250 2026-03-17 09:46 by peike
[考研] 290求调剂 +6 @将就将就看 2026-03-10 10/500 2026-03-17 09:45 by peike
[考研] 341求调剂 +5 捣蛋猪猪 2026-03-11 5/250 2026-03-17 06:56 by Muziwl
[考研] 药学383 求调剂 +3 药学chy 2026-03-15 4/200 2026-03-16 20:51 by 元子^0^
[考研] 材料专硕306英一数二 +4 z1z2z3879 2026-03-16 6/300 2026-03-16 19:38 by z1z2z3879
[考研] 化学调剂0703 +8 啊我我的 2026-03-11 8/400 2026-03-16 17:23 by 我的船我的海
[考博] 欢迎申博同学联系 +3 天道酬勤2026686 2026-03-10 7/350 2026-03-15 19:03 by 天道酬勤2026686
[考研] 0856专硕279求调剂 +5 加油加油!? 2026-03-15 5/250 2026-03-15 11:58 by 2020015
[考研] 328求调剂 +3 5201314Lsy! 2026-03-13 6/300 2026-03-14 15:31 by hyswxzs
[考研] 2026考研调剂+本科延边大学+山东大学+生物化学与分子生物学+有项目经验 +3 ccdsscjy 2026-03-10 3/150 2026-03-14 00:12 by JourneyLucky
[考研] 311求调剂 +8 zchqwer 2026-03-10 8/400 2026-03-14 00:01 by JourneyLucky
[考研] 341求调剂 +4 番茄头--- 2026-03-10 4/200 2026-03-13 23:12 by JourneyLucky
[考研] 材料专硕288分求调剂 一志愿211 +4 在家想你 2026-03-11 4/200 2026-03-13 22:49 by JourneyLucky
[考研] 332求调剂 +3 zjy101327 2026-03-11 6/300 2026-03-13 22:48 by JourneyLucky
[考研] 337一志愿华南理工0805材料求调剂 +7 mysdl 2026-03-11 9/450 2026-03-13 22:43 by JourneyLucky
[考研] 295求调剂 +3 小匕仔汁 2026-03-12 3/150 2026-03-13 15:17 by vgtyfty
[考研] 328化工专硕求调剂 +4 。,。,。,。i 2026-03-12 4/200 2026-03-13 14:44 by JourneyLucky
[考研] 0856化工原理 +6 z2839474511 2026-03-10 6/300 2026-03-13 10:41 by houyaoxu
[考研] 420求调剂 +4 莫向外求11 2026-03-10 6/300 2026-03-12 14:41 by ruiyingmiao
[考研] 一志愿:武汉理工,材料工程,英二数二 总分314 +3 2202020125 2026-03-10 4/200 2026-03-10 13:54 by xiongyaxuan
信息提示
请填处理意见