@@ -39,7 +39,7 @@ A formal introduction to sampling in DfE and the data generating models of this
# Method
## Data Set
## Test set
Under each condition, i.e., strategy-parameter combinations, all gambles are played by 100 synthetic agents. We test a set of gambles, in which one of the prospects contains a safe outcome and the other two risky outcomes (*safe-risky gambles*). Therefore, 60 gambles from an initial set of 10,000 are sampled. Both, outcomes and probabilities are drawn from uniform distributions, ranging from 0 to 20 for outcomes and from .01 to .99 for probabilities of the lower risky outcomes $p_{low}$. The probabilities of the higher risky outcomes are $1-p_{low}$, respectively. To omit dominant prospects, safe outcomes fall between both risky outcomes. The table below contains the test set of 60 gambles. Sampling of gambles was stratified, randomly drawing an equal number of 20 gambles with no, an attractive, and an unattractive rare outcome. Risky outcomes are considered *"rare"* if their probability is $p < .2$ and *"attractive"* (*"unattractive"*) if they are higher (lower) than the safe outcome.
...
...
@@ -581,67 +581,5 @@ choices %>%
### Modeling Choices in Cumulative Prospect Theory
```{r}
# parameters
parameters <- c("alpha",
"gamma",
"delta",
"rho")
n_chains <- 4
```
```{r}
# prepare data for JAGS
## select strategy-parameter combination
choices_MCMC <- choices %>%
filter(strategy == "piecewise" & boundary == "relative" & s == 1, a == 7) %>%