Hi. I have hourly level data with the format, "2010123123" representing "23:00 Dec 31, 2010". I can convert it into time variable by using "double" but there is a problem for some observations. The data show "00:00 Jan 1, 2011" as 2010123124 and Stata does not automatically change it to the midnight next day and generate an empty cell, shown as below. I would really appreciate it if you could help me to correctly convert it into the next day format. Thank you very much!
Array
Related Posts with Error in converting time (hourly) variable
add group axis label to chartHi there In chart options, is there a way to add a second group axis label? Example below (year and…
Space between axis and line chartHi, I have dataset starting in Febuary 2020 but when I create a chart for some reason the x axis sta…
Pseudo Panel Data and Mediation AnalysisDear Stata Experts I'm a PhD student, and I'd like to know how to use the codes to perform the Medi…
Using cii proportions with loopHello, I am trying to compute confidence intervals for proportions (number of cases / total) on eac…
LSDV and collinearityHi everyone, I am having trouble implementing a simple least square dummy variable (LSDV) model. The…
Subscribe to:
Post Comments (Atom)
0 Response to Error in converting time (hourly) variable
Post a Comment