When does the kernel fitdist function returns nan?
2 views (last 30 days)
Show older comments
Dear all,
I am using the fitdist function in my code and notice that for some inputs I have a vector with nan entries.
This is the way I implement the code: pdf_x = fitdist(x,'Kernel','Kernel','epanechnikov');
So I wonder why? When does the a fitdistr kernel code return missing vallues? Can I have some feedback on this point?
thank you in advance.
Clarisha
I have the impression that it return a vector with missing values. Is that possible, pdLong = fitdist(NoAddLong,'Kernel','Kernel','epanechnikov');
2 Comments
the cyclist
on 24 Dec 2018
Can you upload MAT file with an example of the vector x that exhibits this behavior?
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!