[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Generate Variable

From   <>
Subject   st: Generate Variable
Date   Wed, 11 Mar 2009 17:08:39 -0500 (CDT)

Hi Statalisters, 

I have a quick question. I am trying to create a dummy 
variable that is equal to 1 when organizations have more 
properties in wave 6 compared to wave 4. My data is in long 

Logically, it would be something like this, but this does not 
work, I am missing some steps.

gen HiPropertyw6= 1 if (numProp==wavenum==4 <  

Erick Guerrero, M.A.
Ph.D. Candidate
NIDA Predoctoral Fellow
School of Social Service Administration
The University of Chicago
*   For searches and help try:

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