Learn R Programming

simctest (version 2.5)

confint-methods: Methods for Function run in Package `simctest'

Description

Computes a confidence interval for the p-value

Usage

confint(object,parm,level=0.95,...)

Arguments

object

An object of type '>sampalgres resulting from a previous call to run or cont.

parm

must be missing.

level

the desired coverage probability.

...

additional argument(s). Currently not used

Methods

object = "ANY", parm = "ANY"

Generic function: see confint.

object = "sampalgres", parm = "missing"

Computes a confidence interval for the p-value with the coverage probability given by level.

Examples

Run this code
# NOT RUN {
alg<-getalgonthefly()
res <- run(alg, function() runif(1)<0.05);
res
confint(res)
# }

Run the code above in your browser using DataLab