lppl  v2.0.0
parameter_match< D, Gamma, O, Ts... > Struct Template Reference

Computes gamma distribution parameter updates from posterior samples. More...

#include "update_impls.hpp"

Public Types

using transform_type = mapping< typename output_domain< D >::value, typename output_domain< Gamma >::value >
 

Public Member Functions

Gamma operator() (FilterValueType< O, Ts... > &result, std::string address)
 
Gamma operator() (ProductGenerator< WeightedMeanStd, std::pair< double, double >, O, Ts... >::EmitType &result, std::string address)
 

Detailed Description

template<typename D, typename O, typename... Ts>
struct parameter_match< D, Gamma, O, Ts... >

Computes gamma distribution parameter updates from posterior samples.

Algorithm from Ye, Zhi-Sheng, and Nan Chen. "Closed-form estimators for the gamma distribution derived from likelihood equations." The American Statistician 71.2 (2017): 177-181.

Template Parameters
O
Ts

The documentation for this struct was generated from the following file: