| zapweak | R Documentation |
Given a hyper2 object, discard competitors with a small estimated
strength.
zapweak(H, minstrength = 1e-05, maxit, ...)
H |
Object of class |
minstrength |
Strength below which to discard competitors |
maxit |
Maximum number of iterations; if missing, use
|
... |
Further arguments, passed to |
Iteratively discards the weakest player (if the estimated strength is
less than minstrength) using discard_flawed().
maxp(..,n=1) for efficiency.
Returns a slimmed-down hyper2 object with weak players
removed.
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.
Robin K. S. Hankin
discard_flawed,maxp
zapweak(icons) # removes noone
# zapweak(rowing) # removes everyone...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.