ksdensity function for pdf estimation
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
i feed some data to ksdensity but i got a gaussian pdf with peak greater than 1 how is that
0 Commenti
Risposte (2)
David Sanchez
il 14 Mag 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.
Vedere anche
Categorie
Scopri di più su Wireless Communications in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!