Object

dlm.model

Metropolis

Related Doc: package model

Permalink

object Metropolis

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

Type Members

  1. case class State[A](parameters: A, ll: Double, accepted: Int) extends Product with Serializable

    Permalink

    State for the Metropolis algorithm

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. def dglm(mod: Model, observations: Array[Data], proposal: (Parameters) ⇒ Rand[Parameters], prior: (Parameters) ⇒ Double, initP: Parameters, n: Int): Process[State[Parameters]]

    Permalink
  7. def dlm(mod: Model, observations: Array[Data], proposal: (Parameters) ⇒ Rand[Parameters], prior: (Parameters) ⇒ Double, initP: Parameters): Process[State[Parameters]]

    Permalink

    Run the metropolis algorithm for a DLM, using the kalman filter to calculate the likelihood

  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  14. def mStep[A](proposal: (A) ⇒ Rand[A], prior: (A) ⇒ Double, likelihood: (A) ⇒ Double)(state: State[A]): Rand[State[A]]

    Permalink

    Metropolis kernel without re-evaluating the likelihood from the previous time step

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def proposeDiagonalMatrix(delta: Double)(m: DenseMatrix[Double]): Rand[DenseMatrix[Double]]

    Permalink

    Update the diagonal values of a covariance matrix by adding a Gaussian perturbation and ensuring the resulting diagonal is symmetric

    Update the diagonal values of a covariance matrix by adding a Gaussian perturbation and ensuring the resulting diagonal is symmetric

    delta

    the standard deviation of the innovation distribution

    m

    a diagonal DenseMatrix[Double], representing a covariance matrix

  19. def proposeDouble(delta: Double)(a: Double): Rand[Double]

    Permalink

    Add a Random innovation to a numeric value using the Gaussian distribution

    Add a Random innovation to a numeric value using the Gaussian distribution

    delta

    the standard deviation of the innovation distribution

    a

    the starting value of the parameter

    returns

    a Rand[Double] representing a perturbation of the double a which can be drawn from

  20. def rmvn(chol: DenseMatrix[Double])(implicit rand: RandBasis = Rand): Rand[DenseVector[Double]]

    Permalink

    Simulate from a multivariate normal distribution given the cholesky decomposition of the covariance matrix

  21. def symmetricProposal(delta: Double)(p: Parameters): Rand[Parameters]

    Permalink

    Propose a new value of the parameters

  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