sim.tdlnm: Creates simulated data for TDLNM

View source: R/sim.tdlnm.R

sim.tdlnmR Documentation

Creates simulated data for TDLNM

Description

Method for creating simulated data for TDLNM

Usage

sim.tdlnm(sim = "A", error.to.signal = 1)

Arguments

sim

character (A - D) specifying simulation scenario

error.to.signal

scalar value setting error: sigma^2/var(f)

Details

sim.tdlnm

Simulation scenarios:

  • Scenario A: Piecewise constant effect

  • Scenario B: Linear effect

  • Scenario C: Logistic effect, piecewise in time

  • Scenario D: Logistic effect, smooth in time

Value

Simulated data and true parameters

Examples

sim.tdlnm(sim = "A", error.to.signal = 1)


dlmtree documentation built on June 22, 2024, 10:05 a.m.