Description Usage Arguments Value Examples
This function generates a panel (“'tbl“') of firm sales.
1 2 |
N |
The number of individuals |
T |
The number of time periods |
I |
The number of industries |
mean_sales |
Cross-section mean of sales, in millions of $ |
sd_sales |
Cross-section standard deviation of sales |
model |
Arima model arguments; a list of order = c(AR order, degree of differencing, MA order), ar = (AR parameter), ma = (MA parameter) |
missing |
A number between 0 and 1; the fraction of the sample that should be missing at random |
A tbl of panel data
1 2 3 | fake_panel(N = 10000, T = 50)
fake_panel(N = 10, T = 20, missing = 0.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.