ndphillips / EE-Goals

0 stars 0 forks source link

Preparing pre-registration analyses #28

Closed ndphillips closed 7 years ago

ndphillips commented 7 years ago

Here's the idea: run a simulation of agents behaving in the exact conditions for Study 1. Then, write code that does the main statistical analyses for these data. Once we have code and predictions we like, then we can lock these into the pre-registration.

Here are the steps I envision:

1) Simulate agents performing study 1. In the goal conditions, make everyone behave RSF. In the no-goal conditions, make everyone behave EV max. You could assume everyone uses an e-greedy strategy, or that each uses a soft-max strategy with different parameters. Feel free to make any other simplifications you need to emphasise the size of the effects. Because we won't make any pre-registered predictions specifically about modelling, we don't need to worry about the specific parameters too much.

2) Define our most important behavioral predictions that come out of the simulation, with a focus on comparing the goal and environment conditions. For example:

Trial level

Game level

These are just my intuitive predictions from what we’ve talked about in the past. However, if the simulation doesn’t show one or more of these, we’ll have to discuss more).

In terms of the specific statistical test, mixed effects regression seems to be a good bet (with random intercepts for participants, games, and trials). For binary variables (DV = choose high var or choose low var), you'll need to do a logistic variant.

As I think you’ve already done all of the necessary simulation code, I hope this should not be too much work to organise. If it is, let me know

mdsteiner commented 7 years ago

Ok I added an analysis script. I tried to describe all the predictions etc. I think it would be worth discussing the script before preregistering it. The simulation shows all the predicted results, so now only the participants have to behave as simulated...