Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > density plot

Reply
Thread Tools

density plot

 
 
yuniyuni21@gmail.com
Guest
Posts: n/a
 
      12-11-2008
Hi,

Does anyone know how to make the density plot, more specifically a
gaussian-smoothed version of a histogram. Actually, it's not exactly
a plot that I want. What I want to do is get the maximum count (or
highest peak) of the density distribution. It's different from the
probability density function that has the center at zero.

In S plus and R, there is the "density" function which I can use to
get the max x and y in the frequency distribution.

I really appreciate if anyone can help.
 
Reply With Quote
 
 
 
 
David Cournapeau
Guest
Posts: n/a
 
      12-11-2008
On Thu, Dec 11, 2008 at 1:57 PM, <> wrote:
> Hi,
>
> Does anyone know how to make the density plot, more specifically a
> gaussian-smoothed version of a histogram. Actually, it's not exactly
> a plot that I want. What I want to do is get the maximum count (or
> highest peak) of the density distribution. It's different from the
> probability density function that has the center at zero.
>
> In S plus and R, there is the "density" function which I can use to
> get the max x and y in the frequency distribution.


scipy ML is more appropriate for this kind of questions:

http://www.scipy.org/Mailing_Lists

In scipy, there is a kernel density estimator, which is one popular
method for non-parametric density estimation, and fit exactly the
"Gaussian smoothed version of the histogram" when used with Gaussian
kernels.

David
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Check keyword density for URL with https Luigi Donatello Asero HTML 2 01-03-2006 11:29 PM
Re: Check keyword density for URL with https Luigi Donatello Asero HTML 2 01-02-2006 12:42 AM
Synthesizing high-density designs in Quartus Divyang M VHDL 4 08-08-2005 08:20 PM
Variable size plot symbols, variable hue plot colors in Python (MatPlotLib) ? Dr. Colombes Python 1 02-10-2005 08:49 PM
Wireless density and performance test z400d3 Cisco 1 08-22-2004 09:54 PM



Advertisments