Object

core.dlm.model

ParticleFilter

Related Doc: package model

Permalink

object ParticleFilter

The particle filter can be used for inference of Dynamic Generalised Linear Models (DGLMs), where the observation distribution is not Gaussian.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParticleFilter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class State(time: Double, state: Vector[DenseVector[Double]], weights: Vector[Double], ll: Double) extends Product with Serializable

    Permalink

    State of the Particle Filter

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def advanceState[F[_]](g: (Double) ⇒ DenseMatrix[Double], time: Double, state: F[DenseVector[Double]], p: Parameters)(implicit arg0: Traverse[F]): Rand[F[DenseVector[Double]]]

    Permalink

    Advance the system of particles to the next timepoint

    Advance the system of particles to the next timepoint

    g

    the system evolution matrix, G_t

    time

    the time of the next observation

    state

    a collection of particles representing time emprical posterior distribution of the state at time - 1

    p

    the parameters of the model, containing the system evolution matrix, W

    returns

    a distribution over a collection of particles at this time

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def calcWeights[F[_]](mod: Model, time: Double, state: F[DenseVector[Double]], y: DenseVector[Option[Double]], p: Parameters)(implicit arg0: Functor[F]): F[Double]

    Permalink

    Calculate the weights of each particle using the conditional likelihood of the observations given the state

    Calculate the weights of each particle using the conditional likelihood of the observations given the state

    mod

    the DGLM model specification containing F_t and G_t, and the conditional likelihood of observations

    time

    the time of the observation

    state

    a collection of particles representing time emprical prior distribution of the state at this time

    y

    the observation observation given a value of the state, p(y_t | F_t x_t)

    returns

    a collection of weights corresponding to each particle

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def filter(mod: Model, observations: Seq[Data], p: Parameters, n: Int): Seq[State]

    Permalink

    Run a Boostrap Particle Filter over a DGLM

    Run a Boostrap Particle Filter over a DGLM

    mod

    a Model class containing the specification of G and F

    observations

    a Seq of Data

    p

    the parameters used to run the particle filter

    n

    the number of particles to use in the filter, more results in higher accuracy

  11. def filterStep(mod: Model, p: Parameters)(s: State, d: Data): State

    Permalink
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def likelihood(mod: Model, observations: Vector[Data], n: Int)(p: Parameters): Double

    Permalink

    Run a Bootstrap Particle Filter over a DGLM to calculate the log-likelihood

  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def resample[A](particles: Vector[A], weights: Vector[Double]): Vector[A]

    Permalink

    Multinomial Resampling

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped