1

パレート分布の裾のアルファ パラメーターを推定する必要があります。私はRでそれをやろうとしています。少しグーグルした後、このリファレンスを見つけました。関数でaswライブラリを直接インストールしようとしましたinstall.packages('aws')。Rは私に答えた

In getDependencies(pkgs, dependencies, available, lib) :
package ‘aws’ is not available

だから私はsosライブラリで試しました

findFn('awstindex')
found 0 matches
x has zero rows;  nothing to display.
Warning message:
In findFn("awstindex") : HIT not found in HTML;  processing one page only.

R がこのライブラリを見つけられないのはなぜですか? Rでテールパラメータを測定するためのさまざまな機能はありますか?

4

1 に答える 1

2

他の実装を受け入れますか? これは、fitdistrplus パッケージのドキュメントで、パレート パラメーターの推定に特に使用されると言及されている関数の使用です。

require(fitdistrplus)
require(actuar)  # to get a random Pareto function
rpar1000 <- rpareto(1000, 2.5, 3)
mgedist(rpar1000,"pareto",gof="ADR", start=list(shape=1, scale=1))
#------ the ADR measure weights the right tail observations ----------
$estimate
   shape    scale 
2.356235 2.871350 

$convergence
[1] 0

$value
[1] 0.2150991

$hessian
          shape     scale
shape  90.15040 -55.60725
scale -55.60725  35.04152

$gof
[1] "ADR"

$optim.function
[1] "optim"

$loglik
[1] -1612.233
于 2012-05-19T20:41:51.703 に答える