當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


R profile-methods stats4 包中的函數配置文件方法

R語言 profile-methods 位於 stats4 包(package)。

說明

分析 "mle" 對象的可能性。

用法

## S4 method for signature 'mle'
profile(fitted, which = 1:p, maxsteps = 100, alpha = 0.01,
        zmax = sqrt(qchisq(1 - alpha, 1L)), del = zmax/5,
        trace = FALSE, ...)

參數

fitted

要分析的對象

which

(可選)選擇要分析的參數子集。

maxsteps

括號 zmax 的最大步驟數。

alpha

對應於 zmax 的顯著性級別,基於 Scheffe-style 多重測試間隔。如果指定了zmax,則忽略。

zmax

簽名root-likelihood 的分析值的截止值。

del

root-likelihood 規模上的初始步長。

trace

邏輯性強。打印中間結果。

...

目前未使用。

細節

分析算法嘗試找到一組近似均勻分布的至少五個參數值(在最佳值的每個方向上)以覆蓋 root-likelihood 函數。在高參數曲率的情況下,要小心嘗試並獲得合理的結果。請注意,可能並不總是可以獲得截止值,因為可能性可能會趨於平穩。

"profile.mle" 的對象,請參閱 "profile.mle-class"

方法

signature(fitted = "ANY")

通用函數:參見profile

signature(fitted = "mle")

分析 "mle" 對象的最佳值附近的可能性。

相關用法


注:本文由純淨天空篩選整理自R-devel大神的英文原創作品 Methods for Function profile in Package stats4。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。