필터 지우기
필터 지우기

Smoothing a distribution curve

조회 수: 9 (최근 30일)
Jorge Fernandez
Jorge Fernandez 2023년 4월 26일
댓글: Jorge Fernandez 2023년 4월 26일
Hello, I am currently trying to find a way to smooth my probability distribution curve but I have been unsuccesfull so far. I basically wanted to make the curve look more like a proper smooth function without so many sharp peaks and edges. How can I do this? Attached is an image of my curve. Thank you in advance for the help.

채택된 답변

John D'Errico
John D'Errico 2023년 4월 26일
The distributions you show are not at all unsmooth. And they don't look at all uncommon for problems of that kind. So I'm not sure what you would expect to see that is better.
A serious problem however, is that any simple smoothing tool will very possibly introduce distortions that are non-physical. For example, a spline could easily allow the curve to go below zero, and that would be a bad thing in this context.
I'd suggest you accept what you have as reasonable distributions.
  댓글 수: 2
Ankit
Ankit 2023년 4월 26일
undoubtedly
Jorge Fernandez
Jorge Fernandez 2023년 4월 26일
Thank you for the response. I guess I just wanted to make the figures a little prettier for future publications. I smoothed the curve but integrated the original function in order to obtain real probability values.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Ankit
Ankit 2023년 4월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by