Description Usage Arguments Value Examples
What's the log likelihood of the choice data given a parameterized model?
1 | discounting.model.log.likelihood(choices, model, parameters)
|
choices |
Standard choices data frame. |
model |
exponential |
parameters |
model parameters |
A negative scalar value.
1 2 3 4 5 6 7 | parameters <- list('a' = 1, 'delta' = 0.9)
choices <- discounting.model.simulate(discounting.model.generate.choice.set(10, 10:20, 0:5, 10:30, 0:10),
'exponential',
parameters)
discounting.model.log.likelihood(choices, model = 'exponential', parameters)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.