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

st: Create dummy

Subject   st: Create dummy
Date   Wed, 19 Nov 2008 23:33:08 +0100 (CET)

Dear Statlist,
I need to create a dummy from a double variable (sí, no, no sabe)
I wrote:
gen quality = 0
replace quality = 1 if b8=="no"

And I received the message

type mismatch

What should I do?

Thanks and regards,
Alejandra Molina

*   For searches and help try:

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