Skip to content

Commit 06acca1

Browse files
authoredMay 8, 2021
Update Estimate_parameters.m
1 parent 9e856d4 commit 06acca1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed
 

‎Estimate_parameters.m

-4
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595

9696
% Variational Laplace
9797
%--------------------------------------------------------------------------
98-
9998
[Ep,Cp,F] = spm_nlsi_Newton(M,DCM.U,DCM.Y); % This is the actual fitting routine
10099

101100
% Store posterior distributions and log evidence (free energy)
@@ -105,7 +104,6 @@
105104
DCM.Cp = Cp; % Posterior variances and covariances
106105
DCM.F = F; % Free energy of model fit
107106

108-
109107
return
110108

111109
function L = spm_mdp_L(P,M,U,Y)
@@ -152,10 +150,8 @@
152150
end
153151
end
154152

155-
156153
% place MDP in trial structure
157154
%--------------------------------------------------------------------------
158-
159155
la = mdp.la_true; % true level of loss aversion
160156
rs = mdp.rs_true; % true preference magnitude for winning (higher = more risk-seeking)
161157

0 commit comments

Comments
 (0)
Please sign in to comment.