Learn R Programming

hdthreshold (version 1.0.0)

threshold.example: Simulate an example data frame

Description

Simulate an example data frame

Usage

threshold.example(N, TL, p, gamma)

Value

simulated data frame

Arguments

N

cross-sectional dimension

TL

time series length

p

fraction of non-zero coefficients

gamma

value of non-zero coefficients

Examples

Run this code
d = threshold.example(10, 200, 0.1, 2)

Run the code above in your browser using DataLab