Get parameters for normal distributions in Kernel fit of probability distribution

Using Kernel to fit a series of normal distributions, how can you read out the means and sigmas of the normals it comes up with?

Also, is there a way to set the number of peaks it uses?

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

I understand that you would like to get information on the normal distributions that make up the Kernal distribution. I assume that the Kernal distribution is calculated using the fitdist function.

If you check out the “Kernal Smoothing Function” example on the Kernal distribution documentation page, you can see that they actually plot the normal distributions that make up that particular Kernal distribution.

The mean of each normal distribution will be one of the data points, and the sigma of each normal distribution will be the ‘BandWidth’ of the Kernal distribution. Each normal distribution has the same standard deviation.

For example, if you wanted to modify that example, you could allow the default ‘BandWidth’ to be chosen, and add together the calculated normal distributions to show that they are the same as the plotted Kernal distribution:

% Plot the Kernal distribution
SixMPG = [13;15;23;29;32;34];
figure;
pdSix = fitdist(SixMPG,'Kernel');
x = 0:.1:45;
ySix = pdf(pdSix,x);
plot(x,ySix,'k-','LineWidth',2);
% Plot each individual normal distribution and scale its appearance on the plot
hold on;
yNormSum = zeros(size(ySix));
for i=1:6

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Technical Source

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.