powered by
The `simulation()` function enables to generate artificial data from an AR(1) model with random coefficients. The function is used in the package vignette.
simulation(N, S)
An N times S matrix of panel data
The number of cross-sectional units
The length of time series
panelhetero::simulation(N = 300, S = 50)
Run the code above in your browser using DataLab