Object

core.dlm.model

SvdSampler

Related Doc: package model

Permalink

object SvdSampler

Backward Sampler utilising the SVD for stability TODO: Check this

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

Type Members

  1. case class State(time: Double, theta: DenseVector[Double], at1: DenseVector[Double]) extends Product with Serializable

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def ffbs(mod: Model, ys: Vector[Data], p: Parameters): Rand[Vector[(Double, DenseVector[Double])]]

    Permalink

    Perform forward filtering backward sampling

  9. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def initialise(filtered: Array[SvdFilter.State]): State

    Permalink
  13. def intervalState(sampled: Seq[Seq[(Double, DenseVector[Double])]], interval: Double = 0.95): Seq[(Double, (DenseVector[Double], DenseVector[Double]))]

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def meanState(sampled: Seq[Seq[(Double, DenseVector[Double])]]): Seq[List[Double]]

    Permalink
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def rnorm(mu: DenseVector[Double], d: DenseVector[Double], u: DenseMatrix[Double]): Rand[DenseVector[Double]]

    Permalink

    Simulate from a normal distribution given the right vectors and singular values of the covariance matrix

    Simulate from a normal distribution given the right vectors and singular values of the covariance matrix

    mu

    the mean of the multivariate normal distribution

    d

    the square root of the diagonal in the SVD of the Error covariance matrix C_t

    u

    the right vectors of the SVDfilter

    returns

    a DenseVector sampled from the Multivariate Normal distribution with mean mu and covariance u d2 uT

  20. def sample(mod: Model, w: DenseMatrix[Double], st: Vector[SvdFilter.State]): Vector[(Double, DenseVector[Double])]

    Permalink

    Given a vector containing the SVD filtered results, perform backward sampling

    Given a vector containing the SVD filtered results, perform backward sampling

    mod

    a DLM specification

    w

    the system error matrix

  21. def step(mod: Model, sqrtWInv: DenseMatrix[Double])(st: SvdFilter.State, ss: State): State

    Permalink

    Perform a single step in the backward sampler using the SVD

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped