text: We used ActionModels to fit the AIF model created above to each of the agents in the dataset. 
  We began by initialising an ActionModels agent: 
  (cid:7)  (cid:4) 
  **using**ActionModels 
  
  # Initialize ActionModels Agent with the action model and created active inference agent 
  agent = init_agent ( 
  
  action_model = action_pomdp !, # Action model function 
  substruct = aif , # Active inference agent as a substruct 
  
  ) 
  (cid:6)  (cid:5) 
  
  We then set the prior for the parameter we wanted to estimate: the*α*action precision. As 
  an example, we chose a wide, weakly informative prior: a Gaussian distribution with mean 
  5 and standard deviation 5, truncated at 0 and 20: 