![]() |
CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
|
Likelihood function. More...
#include "Model2D.h"

Go to the source code of this file.
Classes | |
| struct | cbl::statistics::STR_likelihood_inputs |
| the struct STR_likelihood_inputs More... | |
Namespaces | |
| cbl | |
| The global namespace of the CosmoBolognaLib | |
| cbl::statistics | |
| The namespace of the functions and classes used for statistical analyses | |
Typedefs | |
| typedef std::function< double(std::vector< double > &, const std::shared_ptr< void >)> | cbl::statistics::LogLikelihood_function |
| definition of a function for computation of the LogLikelihood | |
| typedef std::function< double(std::vector< double > &, const std::shared_ptr< void >)> | cbl::statistics::Likelihood_function |
| definition of a function for computation of the Likelihood | |
Enumerations | |
| enum class | cbl::statistics::LikelihoodType { cbl::statistics::_NotSet_ , cbl::statistics::_Gaussian_Error_ , cbl::statistics::_Gaussian_Covariance_ , cbl::statistics::_Poissonian_ , cbl::statistics::_UserDefined_ } |
| the type of likelihood function More... | |
Functions | |
| std::vector< std::string > | cbl::statistics::LikelihoodTypeNames () |
| return a vector containing the LikelihoodType names More... | |
| LikelihoodType | cbl::statistics::LikelihoodTypeCast (const int likelihoodTypeIndex) |
| cast an enum of type LikelihoodType from its index More... | |
| LikelihoodType | cbl::statistics::LikelihoodTypeCast (const std::string likelihoodTypeName) |
| cast an enum of type LikelihoodType from its name More... | |
| std::vector< LikelihoodType > | cbl::statistics::LikelihoodTypeCast (const std::vector< int > likelihoodTypeIndeces) |
| cast an enum of type LikelihoodType from indeces More... | |
| std::vector< LikelihoodType > | cbl::statistics::LikelihoodTypeCast (const std::vector< std::string > likelihoodTypeNames) |
| cast enums of type LikelihoodType from thier names More... | |
| double | cbl::statistics::LogLikelihood_1D_interpolated (std::vector< double > &likelihood_parameter, const std::shared_ptr< void > input) |
| function to compute the loglikelihood on a grid More... | |
| double | cbl::statistics::LogLikelihood_2D_interpolated (std::vector< double > &likelihood_parameter, const std::shared_ptr< void > input) |
| function to compute the loglikelihood on a grid More... | |
| double | cbl::statistics::LogLikelihood_Gaussian_1D_error (std::vector< double > &likelihood_parameter, const std::shared_ptr< void > input) |
| function to compute the Gaussian log-likelihood More... | |
| double | cbl::statistics::LogLikelihood_Gaussian_1D_covariance (std::vector< double > &likelihood_parameter, const std::shared_ptr< void > input) |
| function to compute the gaussian loglikelihood More... | |
| double | cbl::statistics::LogLikelihood_Gaussian_2D_error (std::vector< double > &likelihood_parameter, const std::shared_ptr< void > input) |
| function to compute the gaussian loglikelihood model with one parameter \( \chi^2 \) More... | |
| double | cbl::statistics::LogLikelihood_Poissonian_1D_ (std::vector< double > &likelihood_parameter, const std::shared_ptr< void > input) |
| function to compute the poissonian loglikelihood More... | |
| double | cbl::statistics::LogLikelihood_Poissonian_2D_ (std::vector< double > &likelihood_parameter, const std::shared_ptr< void > input) |
| function to compute the poissonian loglikelihood More... | |
Likelihood function.
This file defines the interface for likelihood function, used for statistical analyses and Bayesian inference
Definition in file LikelihoodFunction.h.