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: mysterious missing variables after mydate=mdy(month,day,year)

From   ABDUL ADAM <>
To   "" <>
Subject   st: mysterious missing variables after mydate=mdy(month,day,year)
Date   Mon, 30 May 2011 07:43:04 -0700 (PDT)

Dear List,

I have a panel dataset where my date is in different variables (month, day, year), I am able to create a single date variable by mydate=mdy(month,day,year). But the thing is after generating this new variable, stata returns (132 missing values generated). I tried to see where these missing values lie? but to my surprise, I cannot find them; even after 
su  mydate if mydate>=. 
I get zero observations. So, I wonder:

1)what can be the reason of stata returning a missing value while the new variable has no missing values?
2)how can I check the observations that have these missing values.

Thank you in advance,

*   For searches and help try:

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