59 double normal_PDF(
double x,
double mean,
double stddev);
68 double normal_CDF(
double x,
double mean,
double stddev);
85 double exp_PDF(
double x,
size_t k,
double lambda);
93 double emp_CDF(
const std::vector<double> &data,
double x);
101 double emp_PMF(
const std::vector<double> &data,
double x);
118 double mle(
const std::vector<double> &data);
126 double mom(
const std::vector<double> &data);
132 double mle_est(
const std::vector<double> &data);
140 double mumv(
const std::vector<double> &data);
155 std::pair<double, double>
163 double Pivot(
const std::vector<double> &data,
164 double pivotFunction(
const std::vector<double> &));
179 std::pair<double, double>
190 std::pair<double, double>
double exp_PDF(double x, size_t k, double lambda)
Compute the probability density function (PDF) for the exponential distribution.
double normal_PDF(double x, double mean, double stddev)
Compute the probability density function (PDF) for the normal distribution.
double mle(const std::vector< double > &data)
Compute the Maximum Likelihood Estimate (MLE) for the mean of a dataset.
double mle_est(const std::vector< double > &data)
Placeholder function for M-estimation.
double emp_CDF(const std::vector< double > &data, double x)
Compute the empirical cumulative distribution function (CDF) for a given value.
std::pair< double, double > LikelihoodInterval(const std::vector< double > &data, double alpha)
Compute the likelihood interval for a given dataset and significance level.
double Pivot(const std::vector< double > &data, double pivotFunction(const std::vector< double > &))
Compute the value of a pivot function for interval estimation.
std::pair< double, double > PredictionInterval(const std::vector< double > &data, double alpha)
Compute the prediction interval for a given dataset and significance level.
double normal_CDF(double x, double mean, double stddev)
Compute the cumulative distribution function (CDF) for the normal distribution.
double uniform_CDF(size_t k, size_t n)
Compute the cumulative distribution function (CDF) for the uniform distribution.
double quantile_dist(double probability)
Compute the quantile of the standard normal distribution.
double median_uniased(const std::vector< double > &data)
Compute the median-unbiased estimate for the median of a dataset.
double inverse_emp_CDF(const std::vector< double > &data, double p)
Compute the inverse of the empirical cumulative distribution function (CDF) for a given probability.
double emp_PMF(const std::vector< double > &data, double x)
Compute the empirical probability mass function (PMF) for a given value.
double mom(const std::vector< double > &data)
Compute the method of moments (MOM) estimate for the mean of a dataset.
std::pair< double, double > ConfidenceInterval(const std::vector< double > &data, double alpha)
Compute the confidence interval for the mean of a dataset.
std::pair< double, double > ToleranceInterval(const std::vector< double > &data, double alpha)
Compute the tolerance interval for a given dataset and significance level.
double mumv(const std::vector< double > &data)
Compute the Mean-Unbiased Minimum-Variance (MUMV) estimate for the mean of a dataset.
double PivotFunctionForConfidenceInterval(const std::vector< double > &data)
Example pivot function for computing a confidence interval.
The source C++ openGPMP namespace.