Changeset 1100

Show
Ignore:
Timestamp:
06/13/10 22:56:55 (14 years ago)
Author:
smidl
Message:

marg ARXpartialforg

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/bdmtoolbox/tutorial/userguide/partfrg_estim.m

    r1038 r1100  
    2121Apri.class = 'ARX'; 
    2222DSpri = DS; 
    23 DSpri.Data = DS.Data(:,1:40); 
     23DSpri.Data = DS.Data(:,1:6); 
    2424% get decent prior -- estimate with data first 
    2525[Dum,post]=estimator(DSpri,{Apri}); 
     
    3030 
    3131%%%%%% Random walk on frg - Dirichlet  
    32 walk.class = 'mBeta';         % random walk on coefficient phi 
     32walk.class = 'mDirich';         % random walk on coefficient phi 
    3333walk.rv    = RV({'phi'},4);       % 2D random walk - frg is the first element 
    34 walk.k     = 0.001*ones(1,4);              % width of the random walk 
     34walk.k     = 0.001;              % width of the random walk 
    3535walk.betac = 0.1*ones(1,4);         % stabilizing elememnt of random walk 
    3636 
     
    4949E.prior.alpha = 5*ones(1,4); %  
    5050E.prior.beta  = ones(1,4); %  
    51 E.log_level = 'logbounds,logweights,logmeans,logvars'; 
     51E.log_level = 'logbounds,logweights'; 
    5252E.name = 'MPF'; 
    5353