Learn R Programming

ctmva (version 1.6.0)

ccor_boot: Bootstrap confidence interval estimation for curve correlation

Description

Inputs raw data representing two curves, and computes a bootstrap confidence interval for the curve correlation between them.

Usage

ccor_boot(
  y,
  time,
  curve = NULL,
  k = 15,
  ndraw = 299,
  conf = 0.95,
  min.overlap = 0,
  min.n = 8
)

Value

A list with components

cor

curve correlation (for the full data)

boot.cor

curve correlations for the ndraw bootstrap samples

ci

confidence interval for the curve correlation

Arguments

y, time, curve, k, min.overlap, min.n

see ccor

ndraw

number of bootstrap samples

conf

confidence level

Author

Philip Tzvi Reiss <reiss@stat.haifa.ac.il>, Noemi Foa, Dror Arbiv and Biplab Paul <paul.biplab497@gmail.com>

See Also

ccor, ccor_posim

Examples

Run this code

# see example for ccor_posim

Run the code above in your browser using DataLab