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

st: RE: Fwd: Infix Command

From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Fwd: Infix Command
Date   Fri, 1 Oct 2004 14:31:06 +0100

It doesn't surprise me that -infix- doesn't 
behave as expected or hoped with input like 
9(13). How would you expect or hope -infix- to 
interpret 9(13)? 

As you say, one option is to read in the data 
as string and carry out later surgery. 

Another option is to fix the problem upstream 
of Stata with a text editor or scripting language. 

I doubt there are any other options. 

[email protected] 

Rima Chakravarty
> I am trying to import an ascii file into Stata using the 
> infix command.
> There are fields which has the format as 9(13), without any decimal
> place but numeric. Stata is messing up the last two numbers of that
> specific field in the imported Stata file. But if I import 
> that field as
> a string field then it is importing it correctly. I have been 
> trying to
> figure out why this is happening for quite sometime.  Just 
> wondering if
> anybody have an answer for this.

*   For searches and help try:

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