Using pdf to find threshold
显示 更早的评论
Hello,
I am trying to determine a threshold for data that is p>0.05. The data is very positively skewed but I am unsure how to use or interpret the pdf() function to determine a threshold value. I want apply a 'Rayleigh'distribution but how do you choose the values for the input parameter B? I read the documentation but it does not give detailed explanation on how to choose these parameters. I've numeric matrix of example data. This is my code so far:
load('sample')
pd = fitdist(sample,'Rayleigh')
x_values = 0:.01:.5;
y = pdf(pd,x_values);
plot(x_values,y)
But the next step is finding the threshold value which I am unsure how to do.
Thank you for your help!
1 个评论
Torsten
2023-1-22
I am trying to determine a threshold for data that is p>0.05.
Could you explain in more detail what you mean here ?
采纳的回答
更多回答(1 个)
Image Analyst
2023-1-22
0 个投票
For skewed distributions such as that, the triangle method works well. Function is attached.
类别
在 帮助中心 和 File Exchange 中查找有关 Descriptive Statistics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
