mle2
Rのオブジェクトから信頼帯をプロットする最良の方法は何ですか? predict(object, interval = 'confidence')
オブジェクトで使用できる典型的な方法は、lm
オブジェクトでは機能しないようmle2
です。
線形モデルの信頼帯を計算するための数学を見つけました ( https://stats.stackexchange.com/questions/101318/understanding-shape-and-calculation-of-confidence-bands-in-linear-regression )が、非線形関係の信頼帯もプロットします。
mle2
オブジェクトの作成に使用された決定論的関数に関係なく、バンドを計算してプロットするR関数が本当に好きです!
再現可能な例はここにあります:エラー: "initial value in 'vmmin' is not limited" in mle2() but in confint()