confidenceInterval: Confidence Interval

Description Usage Arguments Examples

View source: R/output.R

Description

Compute confidence bands for all pair of groups (q,l)

Usage

1
confidenceInterval(boot.sol, alpha = 0.05)

Arguments

boot.sol

Bootstrap list of estimators

alpha

Level of confidence : 1 - α

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
# data of a synthetic graph with 50 individuals and 3 clusters

n <- 50
Q <- 3

Time <- generated_Q3$data$Time
data <- generated_Q3$data
z <- generated_Q3$z

Dmax <- 2^3

# VEM-algo hist
sol.hist <- mainVEM(list(Nijk=statistics(data,n,Dmax,directed=FALSE),Time=Time),
     n,Qmin=3,directed=FALSE,method='hist',d_part=1,n_perturb=0)[[1]]

# compute bootstrap confidence bands
boot <- bootstrap_and_CI(sol.hist,Time,R=5,alpha=0.1,nbcores=1,d_part=1,n_perturb=0,
     directed=FALSE)

boot.sol <- boot$boot.sol

confidenceInterval(boot.sol)

ppsbm documentation built on May 1, 2019, 11:26 p.m.