Usage

Arguments

n

The number of data points to be simulated

beta

Regression coefficients

ind

Logical flag. If TRUE then observations are assumed to be independent. Otherwise they are generated from random AR(1) processes. In both cases, variables are assumed to be mutually independent and follow Gaussian distribution.