Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72784

type mismatch error

$
0
0
Dear Experts,

I would like to generate a date variable called "tmp" from a date variable called "dobe".

I wrote:
gen tmp=date(dobe, "DMY", 2015

and came back with error message "type mismatch" r(109)".

The type of "dobe" variable is float.

What should I do?

Many thanks in advance.

Vini

Viewing all articles
Browse latest Browse all 72784

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>