How to find closed form solution involving a sum over sample data

4 ビュー (過去 30 日間)
Jan Grünenwald
Jan Grünenwald 2021 年 12 月 10 日
回答済み: Nipun 2024 年 4 月 16 日
I am trying to find closed form solutions for various distributions with left-truncated data, i.e. I have to maximize the likelihood function
.
Finding a solution to this optimization problem numerically has proven difficult for me so I was hoping I might be able to just find a closed form solution. Is there a way in Matlab to just sum over some "n numbers", the value of which is in some range (i.e., > 0, < 50, etc.), and to then find a solution to some equation containing such a term?
Thank you for your help!

回答 (1 件)

Nipun
Nipun 2024 年 4 月 16 日
Hi Jan,
I understand that you want to get the closed form solution of the given summation (the likelihood function) in MATLAB.
MATLAB does support closed form solutions to many ODEs and symbolic math equations. For closed form of "summation of polynomial series", refer to the MathWorks documentation below:
However, in the given summation, the function "f(x)" is unknown. Therefore, it is not possible to get a closed form solution for this expression unless "f(x)" is explicitly stated.
Nonetheless, one can use the property of logarithms to compress the summation of logs to log of products. The final expression achieved is as under:
Hope this helps.
Regards,
Nipun

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by