I split a variable which had date and time together to one with just the dates.
Now I am trying to convert it to a date numerical variable but its generating missing variables. I have used the same code for other dates and it worked just fine. Please let me know what is the error here.
The code that I used was:
gen long result_time = date(specimen_dt, "MDY" )
Thanks
Related Posts with Problem with date format
Estimate for random subgroupI have a dataset (N=300) from a study where participants were randomly allocated to 2 different teac…
Missing value generated after predicting standardized residualHello, When I predict standardized residuals after a regression (including a dummy where only 1 obs…
Between estimation Robust and Cluster robust Standard errors not optional?Dear all, Can some explain me why there is no 'cluster(id)' or 'robust' option for the following be…
Dropping particular observations from a panel datasetDear Statalist, I am running into a problem. First of all, I have a panel dataset consisting of 10 …
Hayashi C statisticHi- anyone knows how this test [Hayashi C test] be done on Stata. …
Subscribe to:
Post Comments (Atom)
0 Response to Problem with date format
Post a Comment