ParticleSystem

A Particle system is a mixture of Dirac distributions.

\[P(x) = \sum_{i= 1}^n w_i \delta(x - μ^{(i)})\]

It can also be used to represent a mixture of trajectories.

\[P(x) = \sum_{i= 1}^n w_i \delta(x_{1:T} - μ^{(i)}_{1:T})\]

Types

Constructors

MarkovKernels.ParticleSystemMethod
ParticleSystem(logws::AbstractVector{<:Real}, X::AbstractArray{<:AbstractVector{T}})

Creates a ParticleSystem with logarithm of the mixture weights given by logws and location parameters in X. If X is an AbstractVector the resulting object represents a classical Dirac mixtrue. Whereas if X is an AbstractMatrix, the resulting object represents a Dirac mixture over trajectories, where the row dimension represents time and the column dimension enumerates the particles.

source

Basics

MarkovKernels.dimMethod
dim(P::AbstractParticleSystem)

Returns the dimension of the particle system distribution P.

source
Statistics.meanMethod
mean(P::AbstractParticleSystem)

Computes the mean of the particle system distribution P.

source