simulation {panelhetero}R Documentation

Generate artificial data

Description

The 'simulation()' function enables to generate artificial data from an AR(1) model with random coefficients. The function is used in the package vignette.

Usage

simulation(N, S)

Arguments

N

The number of cross-sectional units

S

The length of time series

Value

An N times S matrix of panel data

Examples

panelhetero::simulation(N = 300, S = 50)


[Package panelhetero version 1.0.1 Index]