Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: RE: 'Cannot be read as number'

From   "Sarah Edgington" <>
To   <>
Subject   st: RE: 'Cannot be read as number'
Date   Fri, 1 Jun 2012 12:43:38 -0700

Try -help input- to get more info on the input command.
You don't say what you're trying to enter after that command that's
generating the error but my guess is that you're trying to enter too few
values.  You've defined three variables so you need to enter info for all of
them.  The other thing you need to know is that to get out of the input
dialog you should type end and hit return.
As an example try:
input str12 diag freq w
first 5 10
second 10 1
another 3 4


-----Original Message-----
[] On Behalf Of Amal Khanolkar
Sent: Friday, June 01, 2012 6:08 AM
Subject: st: 'Cannot be read as number'

From: Amal Khanolkar

Sent: 01 June 2012 13:34


Subject: 'Cannot be read as number'


I used the following command to generate frequencies and weights:

 input str12 diag freq w

However, now no matter what I do, I get a 'cannot be read as a number' error
from Stata. I can't even close the wondow and restart Stata  :)  How do I
force Stata to ignore the previous command, so I may continue as normal??



*   For searches and help try:

*   For searches and help try:

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