Monte Carlo ABC Analysis

Monte Carlo ABC Analysis — Object implementing abstract Approximate Bayesian Computation (ABC)

Properties

NcmDataset * data-set Read / Write / Construct Only
NcmMSet * mset Read / Write / Construct Only
NcmMSetTransKern * prior Read / Write / Construct Only
NcmMSetTransKern * trans-kernel Read / Write

Object Hierarchy

    GObject
    ╰── NcmABC

Description

FIXME

Functions

ncm_abc_free ()

void
ncm_abc_free (NcmABC *abc);

FIXME

Parameters

abc

a NcmABC

 

ncm_abc_clear ()

void
ncm_abc_clear (NcmABC **abc);

FIXME *

Parameters

abc

a NcmABC

 

ncm_abc_data_summary ()

gboolean
ncm_abc_data_summary (NcmABC *abc);

Calculates the data summary and stores internally.

Parameters

abc

a NcmABC.

 

Returns

if the summary calculation was successful.


ncm_abc_mock_distance ()

gdouble
ncm_abc_mock_distance (NcmABC *abc,
                       NcmDataset *dset,
                       NcmVector *theta,
                       NcmVector *thetastar,
                       NcmRNG *rng);

Calculates the distance of the new point given by thetastar given the old point theta .

Parameters

abc

a NcmABC.

 

dset

a NcmDataset.

 

theta

a NcmVector.

 

thetastar

a NcmVector.

 

rng

a NcmRNG.

 

Returns

the distance to the new point thetastar .


ncm_abc_distance_prob ()

gdouble
ncm_abc_distance_prob (NcmABC *abc,
                       gdouble distance);

Calculates the probability of the distance been accepted.

Parameters

abc

a NcmABC.

 

distance

the distance.

 

Returns

the probability of accepting the distance .


ncm_abc_get_desc ()

const gchar *
ncm_abc_get_desc (NcmABC *abc);

Gets the description of the current ABC implementation.

Parameters

abc

a NcmABC.

 

Returns

the description of the ABC implementation.

[transfer none]


ncm_abc_log_info ()

const gchar *
ncm_abc_log_info (NcmABC *abc);

Gets the informations about the current run of ABC.

Parameters

abc

a NcmABC.

 

Returns

the informations about the current run.

[transfer none]


ncm_abc_set_mtype ()

void
ncm_abc_set_mtype (NcmABC *abc,
                   NcmFitRunMsgs mtype);

FIXME

Parameters

abc

a NcmFitMC

 

mtype

FIXME

 

ncm_abc_set_data_file ()

void
ncm_abc_set_data_file (NcmABC *abc,
                       const gchar *filename);

FIXME

Parameters

abc

a NcmABC

 

filename

a filename.

 

ncm_abc_set_nthreads ()

void
ncm_abc_set_nthreads (NcmABC *abc,
                      guint nthreads);

FIXME

Parameters

abc

a NcmABC

 

nthreads

FIXME

 

ncm_abc_set_rng ()

void
ncm_abc_set_rng (NcmABC *abc,
                 NcmRNG *rng);

FIXME

Parameters

abc

a NcmABC

 

rng

FIXME

 

ncm_abc_start_run ()

void
ncm_abc_start_run (NcmABC *abc);

FIXME

Parameters

abc

a NcmABC

 

ncm_abc_end_run ()

void
ncm_abc_end_run (NcmABC *abc);

FIXME

Parameters

abc

a NcmABC

 

ncm_abc_reset ()

void
ncm_abc_reset (NcmABC *abc);

FIXME

Parameters

abc

a NcmABC

 

ncm_abc_set_first_sample_id ()

void
ncm_abc_set_first_sample_id (NcmABC *abc,
                             gint first_sample_id);

FIXME

Parameters

abc

a NcmABC

 

first_sample_id

FIXME

 

ncm_abc_run ()

void
ncm_abc_run (NcmABC *abc,
             guint n);

Runs the montecarlo until it reaches the n -th realization. Note that if the first_id is non-zero it will run n - first_id realizations.

Parameters

abc

a NcmABC

 

n

total number of realizations to run

 

ncm_abc_run_lre ()

void
ncm_abc_run_lre (NcmABC *abc,
                 guint prerun,
                 gdouble lre);

FIXME

Parameters

abc

a NcmABC

 

prerun

FIXME

 

lre

FIXME

 

ncm_abc_mean_covar ()

void
ncm_abc_mean_covar (NcmABC *abc,
                    NcmFit *fit);

FIXME

Parameters

abc

a NcmABC

 

fit

a NcmFit

 

NCM_ABC_MIN_FLUSH_INTERVAL

#define NCM_ABC_MIN_FLUSH_INTERVAL (10.0)

Types and Values

Property Details

The “data-set” property

  “data-set”                 NcmDataset *

Dataset.

Flags: Read / Write / Construct Only


The “mset” property

  “mset”                     NcmMSet *

Model Set.

Flags: Read / Write / Construct Only


The “prior” property

  “prior”                    NcmMSetTransKern *

Prior Sampler.

Flags: Read / Write / Construct Only


The “trans-kernel” property

  “trans-kernel”             NcmMSetTransKern *

Transition Kernel.

Flags: Read / Write