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!