surgibbs: fix bug in param values output
parent
0cd18c3841
commit
d6c5618a74
|
@ -134,7 +134,6 @@ if ~options_.nograph
|
|||
ncols = ncols + 1;
|
||||
end
|
||||
for j = 1:length(param_names)
|
||||
M_.params(strmatch(param_names{j}, M_.param_names, 'exact')) = oo_.surgibbs.beta(j);
|
||||
subplot(nrows, ncols, j)
|
||||
histogram(oo_.surgibbs.betadraws(:, j))
|
||||
hc = histcounts(oo_.surgibbs.betadraws(:, j));
|
||||
|
|
|
@ -32,9 +32,9 @@ estparamsval = [bq1 bq0];
|
|||
A = 0.0005.*eye(length(estparams));
|
||||
surgibbs(dseries('fishdata.csv'), estparams, estparamsval, A, 20000, 5000, 7);
|
||||
|
||||
good = [6.791587808530124
|
||||
good = [-0.478275288902356
|
||||
8.552700000000000
|
||||
-0.478275288902356
|
||||
6.791587808530124
|
||||
-0.530200000000000
|
||||
-0.397400000000000];
|
||||
|
||||
|
|
Loading…
Reference in New Issue