object Smoothing
- Alphabetic
- By Inheritance
- Smoothing
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- case class SmoothingState(time: Double, mean: DenseVector[Double], covariance: DenseMatrix[Double], at1: DenseVector[Double], rt1: DenseMatrix[Double]) extends Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
backwardStepOu(p: SvParameters)(kfState: KfState, s: SamplingState): SamplingState
Perform a backward step of FFBS for the OU process
-
def
backwardsSmoother(mod: Dlm)(kfState: Vector[KfState]): Vector[SmoothingState]
Learn the distribution of the latent state (the smoothing distribution) p(x_{1:T} | y_{1:T}) of a fully specified DLM with observations available for all time
Learn the distribution of the latent state (the smoothing distribution) p(x_{1:T} | y_{1:T}) of a fully specified DLM with observations available for all time
- mod
a DLM model specification
- kfState
the output of a Kalman Filter
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
ffbs(mod: Dlm, observations: Vector[Data], advState: (KfState, Double) ⇒ KfState, backStep: (KfState, SamplingState) ⇒ SamplingState, p: DlmParameters): Rand[Vector[SamplingState]]
Forward filtering backward sampling
Forward filtering backward sampling
- mod
the DLM
- observations
a list of observations
- advState
the a priori state update in a Kalman Filter
- backStep
the backward step of the backward sampler
- p
parametes of the DLM
-
def
ffbsDlm(mod: Dlm, ys: Vector[Data], p: DlmParameters): Rand[Vector[SamplingState]]
Forward filtering backward sampling for a DLM
Forward filtering backward sampling for a DLM
- mod
the DLM
- p
parametes of the DLM
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initialise(filtered: Vector[KfState]): SamplingState
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
sample(mod: Dlm, filtered: Vector[KfState], backStep: (KfState, SamplingState) ⇒ SamplingState): Vector[SamplingState]
Perform backward sampling
-
def
sampleArray[FS, S, M](filtered: Array[FS], initialise: S, backStep: (FS, S) ⇒ S)(implicit ct: ClassTag[S]): Array[S]
Perform backward sampling using a cfor loop
-
def
sampleDlm(mod: Dlm, filtered: Vector[KfState], w: DenseMatrix[Double]): Vector[SamplingState]
Perform backward sampling for a DLM
-
def
smoothStep(mod: Dlm)(kfState: KfState, state: SmoothingState): SmoothingState
A single step in the backwards smoother Requires that a Kalman Filter has been run on the model
A single step in the backwards smoother Requires that a Kalman Filter has been run on the model
- mod
a DLM model specification
- state
the state at time t + 1
-
def
step(mod: Dlm, w: DenseMatrix[Double])(kfState: KfState, state: SamplingState): SamplingState
Perform a single step of the Backward Sampling algorithm for a DLM
Perform a single step of the Backward Sampling algorithm for a DLM
- mod
a DLM
- w
the system noise covariance matrix
- kfState
the state at the Kalman Filter at time t
- state
the sampling state at time t + 1
- returns
a sample from the state
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )