广义pareto分布_Generalized Pareto Distribution (GPD)

本文介绍了如何在MATLAB中使用gprnd函数生成广义Pareto分布的随机数,包括其参数意义和分布特性。当尾部参数等于位置参数时,可以得到标准的Pareto分布。此外,还提到了广义Pareto分布在极端值理论中的应用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

广义帕雷托分布

广义Pareto分布

MATLAB中如何产生pareto分布

函数   X = gprnd(X,K,sigma,theta,[M,N,...])  。当 sigma=theta 时,就可以生成通常的pareto分布。

X = gprnd(1/2,15,15,1,10^6),即尾部参数为 alpha=2, 位置参数为 k = 15。

function r = gprnd(k,sigma,theta,varargin)

%GPRND Random arrays from the generalized Pareto distribution.

%   R = GPRND(K,SIGMA,THETA) returns an array of random numbers chosen from the

%   generalized Pareto (GP) distribution with tail index (shape) parameter K,

%   scale parameter SIGMA, and threshold (location) parameter THETA.  The size

%   of R is the common size of K, SIGMA, and THETA if all are arrays.  If any

%   parameter is a scalar, the size of R is the size of the other parameters.

%

%   R = GPRND(K,SIGMA,THETA,M,N,...) or R = GPRND(K,SIGMA,[M,N,...]) returns

%   an M-by-N-by-... array.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值