gen_data: Generate data

Description Usage Arguments Details Value References Examples

View source: R/NnDd.R

Description

Generated a panel data containing a time and firm identifier such as one outcome variable and 45 control variables. The data is created in the time span of 1997 till 2007.

Usage

1
2
3
gen_data(treated.n = 1, control.n = 3)

gen_data2(treated = 1)

Arguments

treated.n

a normal number signaling a tenth of treated firms

control.n

a normal number signaling a tenth of treated firms

treated

a dummy 1 or 0 if treated or control units are generated

Details

needed?

Value

Returns a data.frame which contains a panel for the year 1997-2007

References

No references

Examples

1
summary(gen_data(10,10))

NnDd documentation built on May 2, 2019, 6:49 p.m.

Related to gen_data in NnDd...