フィルターのクリア

Loglikelihood calculation for fitnlm

7 ビュー (過去 30 日間)
Thomas Hemming
Thomas Hemming 2023 年 11 月 23 日
編集済み: Torsten 2023 年 11 月 24 日
Hello,
Can you provide the formula for how loglikelihood is calculated when using fitnlm function with bisquare weights? I would like to replicate the value that Matlab outputs to fully understand how its calculated.
  3 件のコメント
Thomas Hemming
Thomas Hemming 2023 年 11 月 23 日
Our case is just a time series where we want to fit either a constant or a constant plus a coefficient with bisquare weights. fitnlm returns a loglikelihood value so it must be calculated somewhow, although I follow what you're saying (and kind of also why I'm asking how it's calculated in this case).
Torsten
Torsten 2023 年 11 月 24 日
編集済み: Torsten 2023 年 11 月 24 日
Can you provide the formula for how loglikelihood is calculated when using fitnlm function with bisquare weights?
If it's not part of the MATLAB documentation, I'd contact Technical Support for the relevant literature source:

サインインしてコメントする。

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 11 月 23 日
See this example of MATLAB help documentation for nonlinear logistic regression.
  3 件のコメント
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 11 月 24 日
Don't you see how fitnlm() fcn can be employed to find maximum likelihood explained in details in this help DOC for nonlinear regression model. Your question was "Can you provide the formula for how loglikelihood is calculated when using fitnlm function with bisquare weights?"
Torsten
Torsten 2023 年 11 月 24 日
編集済み: Torsten 2023 年 11 月 24 日
We can see how it is used, but not how it is calculated internally.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by