FisherPlated

Fisher1922.FisherPlated
object FisherPlated

A model with an arbitrary number of stages using vectors (plates). This is the recommended way to handle this model in probula as the types work optimally. The model is over a tuple (ρ0,πs) of randomvariable ρ0 (a Double), and a sequence of binomial parameters π1 ... πk which are all of the same time, so Seq[Double]..

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

The number of replicate cultures (plates) per step. We choose something arbitrary to synthesize data, and then run posterior.

The number of replicate cultures (plates) per step. We choose something arbitrary to synthesize data, and then run posterior.

Attributes

def generative(k: Int, prior: Dist[Double] & HasDensity[Double]): Dist[(Double, Seq[Int])]
def posterior(k: Int, prior: Dist[Double] & HasDensity[Double], data: Seq[Seq[Int]]): Dist[(Double, Seq[Prob])] & HasDensity[(Double, Seq[Prob])]

Concrete fields

val dataK: Seq[Seq[Int]]
val statsK: String