Description Usage Format Examples
This data set is simulated to demonstrate the use of the
package psmultilevel
. The treatment is randomly assigned to 30% of the
observations. The outcome is generated from a cluster-specific random effects
model. The true ATE/ ATT is fixed at -1.
1 |
simdata
is a dataframe with 1000 observations (rows) and 5
variables (columns) named X1
, X2
, cluster
, Z
,
and Y
. The first two are independent observed variables.
cluster
identifies the cluster to which the observation belongs.
Z
denotes the treatment assignment (1 = Treated, 0 = Untreated).
Y
is the outcome of interest.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.