[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: Error message 'type mismatch'
BTW, I was using Stata 9.0 (SE).
> I transfered my data from long to wide, and thus have continuous variables
> like obrum1 through obrum10. I want to add the values of each obrum*
> variable together. I am trying to use the command egen
> However, it keeps giving me an error message "type mismatch". I looked
> into those 10 vars. The storage type of obrum1 and obrum2 is int., and
> that of the rest is byte. Does this have some say on the error message?
> I also tried to use recast to set the int. to byte., but it didn't seem to
> be working.
> I have done some research and didn't have any luck. Can anybody kindly
> suggest me how to deal with this?
> Many thanks,
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
* For searches and help try: