analysER {ESTER}R Documentation

Analysing the results of simulations ran with simER

Description

Analysing the results of simulations ran with simER. It computes the average sample number (ASN) at which the boundary is attained (either the lower or the upper one), the percentage of hits of the lower boundary as well as hits of the upper boundary, and the percentage of trajectories that did not hit none of the boundaries.

Usage

analysER(sim)

Arguments

sim

A simER or a compER object.

Value

An object of class data.frame, which contains the average sample number (ASN) at which the boundary is attained (either the lower or the upper one), the percentage of hits of the lower boundary as well as hits of the upper boundary, and the percentage of trajectories that did not hit none of the boundaries (and thus end at nmax).

Author(s)

Ladislas Nalborczyk <ladislas.nalborczyk@gmail.com>

See Also

simER

Examples

## Not run: 
library(ESTER)
sim <- simER(cohensd = 0.8, nmin = 20, nmax = 100, boundary = 10, nsims = 100, ic = bic)
analysER(sim)

## End(Not run)


[Package ESTER version 0.2.0 Index]