Skip to content

Commit

Permalink
#210 updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
drbenvincent committed Apr 4, 2018
1 parent 82c224f commit f7f2bb7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/ref/discount_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The 'data generating process' describes the response probability. This consists
| Hyperbolic | `1/(1+k*D)` | `*LogK` | `logk` |
| Hyperbolic (with magnitude effect) | `1/(1+[exp(m*log(R)+c)]*D)` | `*ME` | `m, c` |
| Hyperboloid | `1/[(1+k*D)^S]` | `*Hyperboloid` | `logk, S` |
| HyperboloidB | `1/[1+k*(D^S)]` | `*HyperboloidB` | `logk, S` |
| Beta Delta | `beta*delta^D` | `*BetaDelta` | `beta, delta` |

In the equations, `D` = delay, and `R` = reward.
Expand Down Expand Up @@ -59,6 +60,15 @@ Hyperboloid discounting, of the form `1/[(1+kD)^S]`. This is equivalent to expon
| `ModelMixedHyperboloid` | - | `logk `, `S`, `alpha`, `epsilon` | `alpha`, `epsilon` |
| `ModelHierarchicalHyperboloid` | - | `logk `, `S`, `alpha`, `epsilon` | `logk `, `S`, `alpha`, `epsilon`|

## HyperboloidB
Hyperboloid discounting, of the form `1/[1+k(D^S)]`.

| Model name | Fixed Effects | Random Effects (by-participant) | Hyper-priors (thus shrinkage to group mean) |
| :--- | :---: | :---: | :---: |
| `ModelSeparateHyperboloidB` | - | `logk`, `S`, `alpha`, `epsilon` | - |
| `ModelMixedHyperboloidB` | - | `logk `, `S`, `alpha`, `epsilon` | `alpha`, `epsilon` |
| `ModelHierarchicalHyperboloidB` | - | `logk `, `S`, `alpha`, `epsilon` | `logk `, `S`, `alpha`, `epsilon`|

## Beta-Delta
The discount factor is `beta*delta^D`, see (Laibson, 1997).

Expand Down

0 comments on commit f7f2bb7

Please sign in to comment.