Using MLE for duration data?
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a set of duration (in hours) data and I want to find the MLE of it under the assumption that the data is distributed exponential. I tried using the mle command but MATLAB doesn't like that the data is in hours. Is there a conversion or something I can do to obtain the mle?
Thanks!
0 个评论
采纳的回答
Jeff Miller
2018-7-24
Is the problem that your data are in a non-numeric datetime format? If so, you need to convert them to numbers. See datetime conversions (bottom half of page, "Convert Datetime Arrays to Numeric Values")
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!