DirichletOnDirichlet — Free rates model

Usage

DirichletOnDirichlet(n: Int, a1: Double, a2: Double) → Distribution<DiscreteDist<Double>>

Arguments

n:

Number of categories

a1:

Alpha parameter for weights

a2:

Alpha parameter for items

Description

Rate heterogeneity model where the rate and frequency of each category can be estimated from the data.

Examples

HKY85 +> ASRV.Free(n=3)