Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: gen new variable

From   "Kompal Sinha" <>
To   <>
Subject   st: gen new variable
Date   Mon, 21 Oct 2002 21:48:13 +1000

Hi there,
I want to generate a new variable based on a variable x. That is the new
variable should have value 1 if x=2, value 6 if x=3 and so on. How do I

*   For searches and help try:

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