Bookmark and Share

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


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

st: RE: 'Cannot be read as number'


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

Amal,
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
end

-Sarah

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



From: Amal Khanolkar

Sent: 01 June 2012 13:34

To: [email protected]

Subject: 'Cannot be read as number'






Hello,



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??



Thanks,



/Amal.






*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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