Top | ![]() |
![]() |
![]() |
![]() |
Functions
Properties
NcmStatsDist1dEPDFBw | bandwidth | Read / Write / Construct Only |
double | h-fixed | Read / Write / Construct |
guint | max-obs | Read / Write / Construct Only |
guint | n-obs | Read |
double | outliers-threshold | Read / Write / Construct Only |
double | sd-min-scale | Read / Write / Construct Only |
Description
Reconstruction of an arbitrary one dimensional probability distribution based on a Empirical Probability Distribution Function (EPDF).
Functions
ncm_stats_dist1d_epdf_new_full ()
NcmStatsDist1dEPDF * ncm_stats_dist1d_epdf_new_full (guint max_obs
,NcmStatsDist1dEPDFBw bw
,gdouble h_fixed
,gdouble sd_min_scale
);
Creates a new EPDF object, it creates an interpolated PDF from the observations.
ncm_stats_dist1d_epdf_new ()
NcmStatsDist1dEPDF *
ncm_stats_dist1d_epdf_new (gdouble sd_min_scale
);
Creates a new EPDF object, it creates an interpolated PDF from the observations.
ncm_stats_dist1d_epdf_add_obs_weight ()
void ncm_stats_dist1d_epdf_add_obs_weight (NcmStatsDist1dEPDF *epdf1d
,const gdouble x
,const gdouble w
);
Adds a new observation x
with weight w
to the epdf1d
updating
the internal approximation of the EPDF when necessary.
ncm_stats_dist1d_epdf_add_obs ()
void ncm_stats_dist1d_epdf_add_obs (NcmStatsDist1dEPDF *epdf1d
,const gdouble x
);
Adds a new observation x
(weight 1.0) to the epdf1d
updating
the internal approximation of the EPDF when necessary.
ncm_stats_dist1d_epdf_reset ()
void
ncm_stats_dist1d_epdf_reset (NcmStatsDist1dEPDF *epdf1d
);
Empty the object epdf1d
discarding all observations.
ncm_stats_dist1d_epdf_set_min ()
void ncm_stats_dist1d_epdf_set_min (NcmStatsDist1dEPDF *epdf1d
,const gdouble min
);
Empty the object epdf1d
discarding all observations.
ncm_stats_dist1d_epdf_set_max ()
void ncm_stats_dist1d_epdf_set_max (NcmStatsDist1dEPDF *epdf1d
,const gdouble max
);
Empty the object epdf1d
discarding all observations.
ncm_stats_dist1d_epdf_get_obs_mean ()
gdouble
ncm_stats_dist1d_epdf_get_obs_mean (NcmStatsDist1dEPDF *epdf1d
);
Calculates the mean value of the observations.
Property Details
The “bandwidth”
property
“bandwidth” NcmStatsDist1dEPDFBw
Bandwidth method.
Owner: NcmStatsDist1dEPDF
Flags: Read / Write / Construct Only
Default value: NCM_STATS_DIST1D_EPDF_BW_AUTO
The “h-fixed”
property
“h-fixed” double
Fixed bandwidth.
Owner: NcmStatsDist1dEPDF
Flags: Read / Write / Construct
Allowed values: [1e-05,100000]
Default value: 0.1
The “max-obs”
property
“max-obs” guint
Maximum observations before compacting.
Owner: NcmStatsDist1dEPDF
Flags: Read / Write / Construct Only
Allowed values: >= 10
Default value: 100000
The “n-obs”
property
“n-obs” guint
Number of observations.
Owner: NcmStatsDist1dEPDF
Flags: Read
Default value: 0
The “outliers-threshold”
property
“outliers-threshold” double
How many sigmas to consider an outlier.
Owner: NcmStatsDist1dEPDF
Flags: Read / Write / Construct Only
Allowed values: [1,1000]
Default value: 20