24小时热门版块排行榜    

查看: 1135  |  回复: 4
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

幻魇

新虫 (初入文坛)

[交流] 求教一个利用累计概率函数拟合分布参数的问题 已有1人参与

http://cn.mathworks.com/help/stats/examples/fitting-a-univariate-distribution-using-cumulative-probabilities.html#zmw57dd0e2006
我在看上边matlab的文档里边,用CDF估计参数的部分。这里边实际上用了一个最小化平方误差的方法,但是里边有个加权wgt = 1 ./ sqrt(pEmp.*(1-pEmp));不是很懂,请大神们指教是不是出自某篇文章里的?具体为什么这样做会更好。

求教一个利用累计概率函数拟合分布参数的问题
QQ图片20151103144338.png
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

幻魇

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by feixiaolin at 2015-11-03 20:26:57
To fit a Weibull distribution to these data, notice that the CDF for the Weibull is p = Pr{X <= x} = 1 - exp(-(x/a)^b). Transforming that to log(a) + log(-log(1-p))*(1/b) = log(x) again gives a li ...

多谢回复,不过我指的是wgt = 1 ./ sqrt(pEmp.*(1-pEmp))这个权重,为什么这么取?
3楼2015-11-03 21:12:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 5 个回答

feixiaolin

荣誉版主 (文坛精英)

优秀版主


小木虫: 金币+0.5, 给个红包,谢谢回帖
To fit a Weibull distribution to these data, notice that the CDF for the Weibull is p = Pr{X <= x} = 1 - exp(-(x/a)^b). Transforming that to log(a) + log(-log(1-p))*(1/b) = log(x) again gives a linear relationship, this time between log(-log(1-p)) and log(x). We can use least squares to fit a straight line on the transformed scale using p and x from the ECDF, and the slope and intercept of that line lead to estimates of a and b.
人家已经讲清楚啦
2楼2015-11-03 20:26:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

feixiaolin

荣誉版主 (文坛精英)

优秀版主

引用回帖:
3楼: Originally posted by 幻魇 at 2015-11-03 21:12:27
多谢回复,不过我指的是wgt = 1 ./ sqrt(pEmp.*(1-pEmp))这个权重,为什么这么取?...

老眼昏花了

[ 发自小木虫客户端 ]
4楼2015-11-03 23:08:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

幻魇

新虫 (初入文坛)

引用回帖:
4楼: Originally posted by feixiaolin at 2015-11-03 23:08:53
老眼昏花了
...

你觉得那个权重为什么这么取呢?
5楼2015-11-04 13:52:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 2026年的国家社科基金项目通讯评审的新规则与新动向、新挑战 +7 process2012 2026-08-23 10/500 2026-08-26 19:23 by hmhminy
[基金申请] 系统查不到 +10 董八千 2026-08-26 10/500 2026-08-26 16:30 by Equinoxhua
[基金申请] 怎么查啊 +5 huang1991js 2026-08-26 5/250 2026-08-26 16:09 by Equinoxhua
[基金申请] 2026国自然函评费到账 +22 羊腰板 2026-08-21 25/1250 2026-08-26 15:00 by zuocuiping
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +25 木水思豆 2026-08-25 28/1400 2026-08-26 14:53 by draco1987
[基金申请] 为什么国自然不能直接公布 +4 bjdxyxy 2026-08-26 4/200 2026-08-26 13:12 by qingmu1201
[基金申请] 科研孤儿太难了 +21 我4大白菜 2026-08-20 22/1100 2026-08-26 11:29 by nlgza
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 国际合作可查了,中了面上 +18 Ldrop2023 2026-08-26 18/900 2026-08-26 11:15 by cmrandy
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
[基金申请] 国合现在查不到了吗? +10 chengyan1220 2026-08-24 20/1000 2026-08-26 08:57 by peasantsprig
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
[基金申请] 如果此刻你正在为国基感到焦虑,不妨来听听这首《基金之外》 +8 scalable 2026-08-24 8/400 2026-08-25 12:52 by jnhyjjm
[基金申请] 没有任何消息-是不是就凉了 +9 图啦图啦 2026-08-24 10/500 2026-08-25 11:59 by 南海小哥
[基金申请] 人气不行了 +11 fansofjerry 2026-08-21 11/550 2026-08-25 11:04 by 孤独的英雄6
[基金申请] 我面上完蛋了 +13 且听虎啸 2026-08-20 14/700 2026-08-25 09:10 by mrkang
[教师之家] 跳槽后在研项目怎么办? +5 简单化xn 2026-08-22 10/500 2026-08-23 12:38 by 简单化xn
[基金申请] 时间戳今天,20号变了 +5 archvillain 2026-08-20 5/250 2026-08-22 06:12 by hui_daxiao
[基金申请] 看来今天不会放榜了? +8 chengyan1220 2026-08-21 11/550 2026-08-21 17:52 by dcqxinyang
[基金申请] 应该是下周三26日公布了吧? +4 哈哈蛤? 2026-08-21 4/200 2026-08-21 10:58 by Vivilian
信息提示
请填处理意见