[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] gsl_histogram
From: |
Brian Hawkins |
Subject: |
Re: [Help-gsl] gsl_histogram |
Date: |
Wed, 8 Jun 2011 19:26:09 -0700 |
Hi Sherry,
The pdf functions are for generating a new set of random data based on a
given histogram. The purpose is take a random number uniformly distributed
on the interval 0 to 1 (which is what random number generators typically
spit out) and give you a new random number with a custom or empirical
distribution.
It sounds like you simply want to estimate the PDF of a given data set. For
that, just create a histogram (e.g., with the function
gsl_histogram_accumulate). If desired scale it so it has unit integral
(trivial for uniform bins).
Brian
Message: 2
> Date: Mon, 6 Jun 2011 13:39:11 +0200
> From: sherry mikheal <address@hidden>
> To: address@hidden
> Subject: [Help-gsl] gsl_histogram
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hallo ,
> I just dont get what the function (gsl_histogram_pdf_sample) take exactly
> as
> a double(i mean what the r resembles)
> i mean i want to enter input voltages to get their pdf but they may be
> higher than 1 so what shall i do ???
>