ExponentialNoise: Generate Data with Exponential Noise

View source: R/data.R

ExponentialNoiseR Documentation

Generate Data with Exponential Noise

Description

Adds exponential noise to a nonlinear combination of Z1 and Z2.

Usage

ExponentialNoise(N, rate_param = 1)

Arguments

N

Integer. Sample size.

rate_param

Numeric. Rate parameter for the exponential distribution. Default is 1.

Value

A data frame with columns Z1, Z2, X, and Y.

Examples

head(ExponentialNoise(100))


CCI documentation built on Aug. 29, 2025, 5:17 p.m.