This is a toy (i.e. "fake") data set created by the
There are 100 observations. The outcome
y is a linear function
20 + (.25 * year) + .(25 * x1) + (1 * x2) + e. This clearly implies
some autocorrelation in the data. I.e. it's a time-series.
A data frame with 100 observations on the following 5 variables.
a continuous variable
a binary variable
randomly generated errors
Errors are random-normal with a mean of 0 and a standard deviation of 1.
x1 is generated by a normal distribution with a mean of 5 and a standard
deviation of 2.
x2 is drawn from a Bernoulli distribution with a
probability of .5 of observing a 1.