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

st: data manipulation

From   [email protected] (Nahid Tabatabai)
To   [email protected]
Subject   st: data manipulation
Date   09 Nov 2004 09:15:37 EST

I have a simple question. I have a column (x) with integer and non-integer values, such as 2, 2.03. 1, 1.8, .... I want to use this column to identify each record by referring to the integer and alternatively non-integer values. How do I refer to them?

for example:

'an expression'  if x==integer values
'another expression'  if x ~=integer values

In these two examples how do I identify the integer and non-integer values?


*   For searches and help try:

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