object SvdSampler
Backward Sampler utilising the SVD for stability TODO: Check this
- Alphabetic
- By Inheritance
- SvdSampler
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
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
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: Model, ys: Vector[Data], p: Parameters): Rand[Vector[(Double, DenseVector[Double])]]
Perform forward filtering backward sampling
-
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: Array[SvdFilter.State]): State
- def intervalState(sampled: Seq[Seq[(Double, DenseVector[Double])]], interval: Double = 0.95): Seq[(Double, (DenseVector[Double], DenseVector[Double]))]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def meanState(sampled: Seq[Seq[(Double, DenseVector[Double])]]): Seq[List[Double]]
-
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
rnorm(mu: DenseVector[Double], d: DenseVector[Double], u: DenseMatrix[Double]): Rand[DenseVector[Double]]
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
-
def
sample(mod: Model, w: DenseMatrix[Double], st: Vector[SvdFilter.State]): Vector[(Double, DenseVector[Double])]
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
-
def
step(mod: Model, sqrtWInv: DenseMatrix[Double])(st: SvdFilter.State, ss: State): State
Perform a single step in the backward sampler using the SVD
-
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( ... )