楼主: darkznx
11544 16

再次求助,急~~~如何对广义帕累托分布进行参数估计 [推广有奖]

11
王菜林 发表于 2014-9-26 10:49:03
wenjc 发表于 2009-10-29 09:45
用matlab里的gpfit 可以做   对了 你的阈值是怎么确定下来的  可以告诉下么  我给你发了消息  qq讨论下吧
你好,请问gpfit(x)得到的两个数值代表的是形状参数和尺度参数吗?O(∩_∩)O谢谢

12
wenjc 发表于 2014-11-5 13:55:17
王菜林 发表于 2014-9-26 10:47
你好,请问gpfit(x)得到的两个数值代表的是形状参数和尺度参数吗?O(∩_∩)O谢谢
gpfit
Generalized Pareto parameter estimates

Syntax

parmhat = gpfit(X)
[parmhat,parmci] = gpfit(X)
[parmhat,parmci] = gpfit(X,alpha)
[...] = gpfit(X,alpha,options)

Description

parmhat = gpfit(X) returns maximum likelihood estimates of the parameters for the two-parameter generalized Pareto (GP) distribution given the data in X. parmhat(1) is the tail index (shape) parameter, K and parmhat(2) is the scale parameter, sigma. gpfit does not fit a threshold (location) parameter.

[parmhat,parmci] = gpfit(X) returns 95% confidence intervals for the parameter estimates.

[parmhat,parmci] = gpfit(X,alpha) returns 100(1-alpha)% confidence intervals for the parameter estimates.

[...] = gpfit(X,alpha,options) specifies control parameters for the iterative algorithm used to compute ML estimates. This argument can be created by a call to statset. See statset('gpfit') for parameter names and default values.

Other functions for the generalized Pareto, such as gpcdf allow a threshold parameter, theta. However, gpfit does not estimate theta. It is assumed to be known, and subtracted from X before calling gpfit.

When K = 0 and theta = 0, the GP is equivalent to the exponential distribution. When K > 0 and theta = sigma/K, the GP is equivalent to the Pareto distribution. The mean of the GP is not finite when K ≥ 1, and the variance is not finite when K ≥ 1/2. When K ≥ 0, the GP has positive density for

X > theta, or, when K < 0, for

0≤ x−θσ ≤ −1k
已有 1 人评分经验 论坛币 收起 理由
胖胖小龟宝 + 10 + 10 热心帮助其他会员

总评分: 经验 + 10  论坛币 + 10   查看全部评分

13
wenjc 发表于 2014-11-5 13:58:35
王菜林 发表于 2014-9-26 10:47
你好,请问gpfit(x)得到的两个数值代表的是形状参数和尺度参数吗?O(∩_∩)O谢谢
是这两个参数哈 上面有完整的命令格式和说明o(n_n)o

14
王菜林 发表于 2014-11-9 09:27:29
非常感谢,问题已解决。

15
aaabbcccdd 发表于 2016-5-1 18:07:04
wenjc 发表于 2014-11-5 13:55
gpfit
Generalized Pareto parameter estimates
可是如果没有gpfit函数包呢?
??? Undefined command/function 'gpfit'.
要怎么弄?

16
wenjc 发表于 2016-10-4 10:06:03
aaabbcccdd 发表于 2016-5-1 18:07
可是如果没有gpfit函数包呢?
??? Undefined command/function 'gpfit'.
要怎么弄?
估计是你的matlab版本不够高  下载最新的版本应该有的  

17
wait12357 发表于 2018-3-23 11:36:42
wenjc 发表于 2009-10-29 09:45
用matlab里的gpfit 可以做   对了 你的阈值是怎么确定下来的  可以告诉下么  我给你发了消息  qq讨论下吧
matlab中默认阈值已知,没有函数可以计算。不过可以用R中的mrl.plot和gpd.fitrange函数看出阈值,参见《实用极值统计方法》史道济

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-25 22:15