Description Usage Objects from the Class Slots Methods
Objects of class StratModel
describe statistical
strategic discrete choice models.
This class is extended by classes specific to different game forms.
The following extended classes are defined
1 2 3 | ## Methods with "surprising" arguments
## S4 method for signature 'StratModel'
prAction(object, b)
|
Objects of this class are used internally by the strat
function. The functions to estimate the maximum likelihood
of a strategic discrete choice model all operate on objects
of this class.
Classes derived from StratModel
are used to differentiate
the specific game forms that strat
can estimate.
Different game trees only differ in their log-likelihood functions
in the estimation of the probabilities of each action.
Then adding a new extensive game form is a matter of defining
a new class that contains StatModel
and an associated prAction
method
The class "StratModel"
represents a statistical discrete
choice model and contains the slots:
Object of class "character"
. The names of the unique players.
The first element in this vector is the label for player 1,
the second element is the label for player 2, ....
Object of class "character"
. The names of the unique outcome
nodes. This is the same vector as colnames(object@Y)
.
The StratModel
class is extended by several classes for
specific game forms.
The class StratModel_1-2
has the following restrictions
paths
:Takes the value list(1, c(2,3), c(2,4))
.
terminalNodes
:There are three terminal nodes.
utilities
:There are two players.
signature(object = "StratModel", b="list")
Given coefficients in b
, estimates the probability for each
action in the game.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.