statalign.base.mcmc
Class AllEdgeMove

java.lang.Object
  extended by statalign.mcmc.McmcMove
      extended by statalign.mcmc.ContinuousPositiveParameterMove
          extended by statalign.base.mcmc.AllEdgeMove

public class AllEdgeMove
extends ContinuousPositiveParameterMove


Field Summary
 
Fields inherited from class statalign.mcmc.McmcMove
acceptAllDuringFirstHalfBurnin, acceptanceCount, autoTune, lastMoveAccepted, lowCounts, maxAcceptance, maxProposalWidthControlVariable, minAcceptance, moveProposed, name, proposalCount, proposalWidthControlVariable, spanMultiplier
 
Constructor Summary
AllEdgeMove(McmcModule m, PriorDistribution<java.lang.Double> pr, ProposalDistribution<java.lang.Double> prop, java.lang.String n)
           
 
Method Summary
 void afterMove(java.lang.Object externalState)
           
 void copyState(java.lang.Object externalState)
           
 double logPriorDensity(java.lang.Object externalState)
           
 double proposal(java.lang.Object externalState)
           
 void restoreState(java.lang.Object externalState)
           
 void updateLikelihood(java.lang.Object externalState)
           
 
Methods inherited from class statalign.mcmc.ContinuousPositiveParameterMove
setMaxValue, setMinValue, updateProposal
 
Methods inherited from class statalign.mcmc.McmcMove
acceptanceRate, afterFirstHalfBurnin, getOwner, getParam, getTime, isParamChangeAccepted, move
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllEdgeMove

public AllEdgeMove(McmcModule m,
                   PriorDistribution<java.lang.Double> pr,
                   ProposalDistribution<java.lang.Double> prop,
                   java.lang.String n)
Method Detail

copyState

public void copyState(java.lang.Object externalState)
Overrides:
copyState in class ContinuousPositiveParameterMove

afterMove

public void afterMove(java.lang.Object externalState)
Overrides:
afterMove in class McmcMove

proposal

public double proposal(java.lang.Object externalState)
Overrides:
proposal in class ContinuousPositiveParameterMove

logPriorDensity

public double logPriorDensity(java.lang.Object externalState)
Overrides:
logPriorDensity in class ContinuousPositiveParameterMove

updateLikelihood

public void updateLikelihood(java.lang.Object externalState)
Specified by:
updateLikelihood in class ContinuousPositiveParameterMove

restoreState

public void restoreState(java.lang.Object externalState)
Overrides:
restoreState in class ContinuousPositiveParameterMove