The value of ksdensity great than 1
Show older comments
Hi every one , Iam Thao . i have some problem with image procesing in statictis like that : I tried using [f,xi] = ksdensity(dataser); to obtain the PDF of a random data set. owever, from the PDF I get, there are samples that have p(x)>1 The probablility density can't great than 1 , some one can explain why p(x) > 1...
example : [f,xi] = ksdensity(rand(100,1)/10) >> max(f)
ans =
10.2559
Thanks a bilion ... !
Accepted Answer
More Answers (0)
Categories
Find more on Exploration and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!