trialdev {droptest} | R Documentation |
Calculates trial deviation for simulated trials (drops).
Description
trialdev
creates a data.table with the average distances from q for
the total percent of reactions (failures).
Usage
trialdev(sim.values)
Arguments
sim.values |
Data table. Data table produced by droptest::dtrials, droptest::dseries, or droptest::dgroups. |
Value
Data table of q, p, trial deviation, and average total trials per test. Aggregated by q.
-
Q The probability of failure (reaction) as specified.
-
P The probability of success (non-reaction).
-
TRIAL_DEV The average distance from q for the total percent of reactions (failures).
-
AVG_TRIALS The average number of simulated trials reached for each q.
Author(s)
Chad Ross chad.ross@gmail.com
See Also
dtrials
dseries
dgroups
droptest
Examples
trialdev(dtrials(q = 0.05, max.trials = 60, fail.criteria = 2))
[Package droptest version 0.1.3 Index]