[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: year dummy

From   "Rajesh Tharyan" <>
To   <>
Subject   st: year dummy
Date   Fri, 28 Mar 2008 06:25:08 -0000


I have a simple model, where I want to examine the effect of the regulation
on certain behaviour. As far as the regulation is concerned, I want to look
at two things. One is the enactment of the law (say year 2000) and the first
enforcement of the law (say year 2004). Is it right to create dummy
variables as below and run them in the same regression

gen enact= (year>2000)
gen enfor= (year>2004)

*   For searches and help try:

© Copyright 1996–2019 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index