Learn R Programming

games (version 1.1.2)

plot.profile.game: Plot profiles of strategic model log-likelihoods

Description

Plot output of profile.game.

Usage

"plot"(x, show.pts = FALSE, ...)

Arguments

x
an object of class profile.game, typically created by running profile.game on a fitted game model
show.pts
logical: plot a point for the log-likelihood of each profiled model?
...
other arguments, currently ignored

Value

x, invisibly

Details

This method provides plots for a quick assessment of whether game models have failed to converge to a global maximum. For each parameter profiled (see profile.game for details of the profiling process), a spline interpolation of the log-likelihood profile is provided, with an "x" marking the value at the original parameter estimate.

Sometimes the plot will seem to indicate that the original fit did not reach the global maximum, even though profile.game did not issue the non-covergence warning. This is an artifact of the interpolation, which can be confirmed by re-running plot.profile.game with the argument show.pts = TRUE.

See Also

profile.game