zapweak {hyper2} | R Documentation |
Zap weak competitors
Description
Given a hyper2
object, discard competitors with a small estimated
strength.
Usage
zapweak(H, minstrength = 1e-05, maxit, ...)
Arguments
H |
Object of class |
minstrength |
Strength below which to discard competitors |
maxit |
Maximum number of iterations; if missing, use
|
... |
Further arguments, passed to |
Details
Iteratively discards the weakest player (if the estimated strength is
less than minstrength
) using discard_flawed()
.
maxp(..,n=1)
for efficiency.
Value
Returns a slimmed-down hyper2
object with weak players
removed.
Note
This function is experimental and appears to be overly aggressive.
For some likelihood functions zapweak()
removes all the
players.
I now think that there is no consistent way to remove weaker players from a likelihood function. I think the only way to do it is to look at the dataset that generates the likelihood function, somehow weed out the players with the poorest performance, and generate a new likelihood function without them.
Author(s)
Robin K. S. Hankin
See Also
Examples
zapweak(icons) # removes noone
# zapweak(rowing) # removes everyone...