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

st: inrange

From   "Ssu Weng" <[email protected]>
To   <[email protected]>
Subject   st: inrange
Date   Tue, 5 Jul 2005 16:53:41 -0600

Please cancel the original message below. I updated Stata and was able to
read help inrange, which I understand. I realize that inlist is the function
I needed.

Thank you and sorry for the bother,

-----Original Message-----
From: Ssy Weng [mailto:[email protected]] 
Sent: Tuesday, July 05, 2005 2:27 PM
To: '[email protected]'
Subject: inrange

I am using Stata v8.0 and get this error message. MAT_RACE is a numeric
variable. I searched StataList archives and could not find an answer.

.         g byte ETH6X=1 if ETHNICIT==8
(5970 missing values generated)

.         replace ETH6X =2 if inrange(MAT_RACE,1,5,6,7,9)

invalid syntax

Thank you in advance for your help.

Ssu Weng
[email protected]

*   For searches and help try:

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