ksdensity function for pdf estimation
Afficher commentaires plus anciens
i feed some data to ksdensity but i got a gaussian pdf with peak greater than 1 how is that
Réponses (2)
David Sanchez
le 14 Mai 2014
As you can see in the ksdensity documentation, depending n how you use the function, there is nothing abnormal with your result:
From documentation: Generate a mixture of two normal distributions, and plot the estimated inverse cumulative distribution function at a specified set of values:
x = [randn(30,1); 5+randn(30,1)];
yi = linspace(.01,.99,99);
g = ksdensity(x,yi,'function','icdf');
plot(yi,g);
Paste the code you are using in order to provide a good solution to your question.
yasser
le 14 Mai 2014
0 votes
Catégories
En savoir plus sur Wireless Communications dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!