Package com.mockturtlesolutions.snifflib.invprobs

Examples of com.mockturtlesolutions.snifflib.invprobs.MetropolisHastings


    this.like.setPriorParams(this.priorParameters);
    this.configureMixingParameters();
    this.prop.replaceMixingParams(this.mixingParameters);
    //this.configureMixingParameters();
   
    this.est = new MCMC(new MetropolisHastings(like,like,prop));
    for (int j=0;j<this.optimizationListeners.size();j++)
    {
      this.est.addOptimizationListener((OptimizationListener)this.optimizationListeners.get(j))
    }
   
View Full Code Here


          // prop.setMixingParam("B0",new DblMatrix(0.01));
//           prop.setMixingParam("B1",new DblMatrix(0.01));
//           prop.setMixingParam("sigma",new DblMatrix(0.1));
//          
         
                                        est = new MCMC(new MetropolisHastings(like,like,prop));
                                        est.setChainLength(10); //Number of samples to keep in memory...
                                        est.setMaxIterations(300);
         
          String[] parameters = like.parameterSet();
          MCMCBlock varcompBlock = new MCMCBlock();
View Full Code Here

TOP

Related Classes of com.mockturtlesolutions.snifflib.invprobs.MetropolisHastings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.