sim_check | R Documentation |
Checking input for the sim_paneldata function
sim_check(N, tt, beta, p, gamma, eta, lambda, het, phi, sd, burnins)
N |
The number of cross-sectional units in the panel-data |
tt |
The number of time periods in the panel-data |
beta |
The vector of coefficients for the placebo variables. Must be of size tt. |
p |
The number of additional regressors |
gamma |
The vector of coefficients for the additional regressors |
eta |
The vector of fixed effects. Must be of size N. |
lambda |
The vector of time effects. Must be of size tt. |
het |
The heteroskedasticity parameter. Must be 0 or 1: |
phi |
The AR(1) parameter for the error terms. Must be in the interval [0,1). |
sd |
The standard deviation of the error terms. Must be a positive number. |
burnins |
The number of burn-ins for the AR(1) process. Must be a positive integer. |
A list with two elements: a logical object error indicating if an error is encountered and a message (a character string) corresponding to the error. If error is TRUE, message contains an error message. If error is FALSE, message is an empty string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.