object MarkovChain
Provides methods for doing MCMC.
- Alphabetic
- By Inheritance
- MarkovChain
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply[T](init: T)(resample: (T) ⇒ Rand[T]): Process[T]
Given an initial state and an arbitrary Markov transition, return a sampler for doing mcmc
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
metropolis[T](init: T, proposal: (T) ⇒ Rand[T])(logMeasure: (T) ⇒ Double): Process[T]
Performs Metropolis distributions on a random variable.
Performs Metropolis distributions on a random variable. Note this is not Metropolis-Hastings
- init
The initial parameter
- proposal
the symmetric proposal distribution generator
- logMeasure
the distribution we want to sample from
-
def
metropolisHastings[T](init: T, proposal: (T) ⇒ ContinuousDistr[T])(logMeasure: (T) ⇒ Double): Process[T]
Performs Metropolis-Hastings distributions on a random variable.
Performs Metropolis-Hastings distributions on a random variable.
- init
The initial parameter
- proposal
the proposal distribution generator
- logMeasure
the distribution we want to sample from
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
slice(init: Double, logMeasure: (Double) ⇒ Double, valid: (Double) ⇒ Boolean): Process[Double]
Creates a slice sampler for a function.
Creates a slice sampler for a function. logMeasure should be an (unnormalized) log pdf.
- init
guess
- logMeasure
an unnormalized probability measure
- returns
a slice sampler
-
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
- @throws( ... )
-
object
Combinators
Combinators for creating transition kernels from other kernels or things that are not quite transition kernels.
Combinators for creating transition kernels from other kernels or things that are not quite transition kernels. A kernel is a fn of type T=<Rand[T]
-
object
Kernels
Provides Markov transition kernels for a few common MCMC techniques