Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

confidenceInterval

Confidence Interval


Description

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

Usage

confidenceInterval(boot.sol, alpha = 0.05)

Arguments

boot.sol

Bootstrap list of estimators

alpha

Level of confidence : 1 - α

Examples

# 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

Clustering in Longitudinal Networks

v0.2.2
GPL (>= 2)
Authors
D. Giorgi, C. Matias, T. Rebafka, F. Villers
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.