| fakeTSCS | R Documentation |
This is a toy (i.e. "fake") data set created by the fabricatr package.
There are 100 observations for 25 hypothetical countries. The outcome y
is a linear function of a baseline for each hypothetical country, plus a yearly
growth trend as well as varying growth errors for each country. x1 is
supposed to have a linear effect of .5 on y, all things considered.
x2 is supposed to have a linear effect of 1 on y for each unit
change in x2, all things considered.
fakeTSCS
A data frame with 2500 observations on the following 8 variables.
yeara numeric vector for the year
countrya character vector for the country
ya numeric vector for the outcome.
x1a continuous variable
x2a binary variable
basea numeric vector for the baseline starting point for each country
growth_unitsa numeric vector for the growth units for each country
growth_errora numeric vector for the growth errors for each country
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.