Ejemplo n.º 1
0
        public SEGInformedVarModel(MeasureList measures, SEGInformedVarModelParameters specificParams, McmcParameters mcmcParams = null, PastDataSummary pastDataSummary = null)
            : base(measures, specificParams.LogNormalDstrn, mcmcParams)
        {
            this.PastData = pastDataSummary == null ? PastDataSummary.EmptyObject : pastDataSummary;

            this.Messages.Add(this.PastData.Messages);
            this.LogSigmaMu   = specificParams.LogSigmaMu;
            this.LogSigmaPrec = specificParams.LogSigmaPrec;
            this.InitSigma    = specificParams.InitSigma;
            this.MuLower      = specificParams.MuLower;
            this.MuUpper      = specificParams.MuUpper;
            this.InitMu       = specificParams.InitMu;
            this.Result       = new ModelResult(this, "mu", "sd");

            if (this.ME.ThroughCV)
            {
                this.Result.Chains.Add("cv");
            }
        }// end constructor
Ejemplo n.º 2
0
 static PastDataSummary()
 {
     emptyObject = new PastDataSummary();
 }