statalign.mcmc
Class UniformProposal

java.lang.Object
  extended by statalign.mcmc.ProposalDistribution<java.lang.Double>
      extended by statalign.mcmc.UniformProposal

public class UniformProposal
extends ProposalDistribution<java.lang.Double>


Constructor Summary
UniformProposal()
           
 
Method Summary
 double logDensity(java.lang.Double x)
           
 java.lang.Double sample()
           
 void updateProposal(double proposalWidthControlVariable, java.lang.Double currentParam)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniformProposal

public UniformProposal()
Method Detail

logDensity

public double logDensity(java.lang.Double x)
Specified by:
logDensity in class ProposalDistribution<java.lang.Double>

sample

public java.lang.Double sample()
Specified by:
sample in class ProposalDistribution<java.lang.Double>

updateProposal

public void updateProposal(double proposalWidthControlVariable,
                           java.lang.Double currentParam)
Specified by:
updateProposal in class ProposalDistribution<java.lang.Double>