Skip to contents

Generate synthetic change point data.

Usage

generate_changepoint_data(n = 100, sparsity = 0.01, tau2 = 1)

Arguments

n

Number of data points

sparsity

Proportion of change points

tau2

Size of change points