I have two variables - bed time and wake time. bed time is formulated like: 21_30 and wake time is formulated like 06_30.
Can you advise how I can calculate the duration between those times in stata in minutes? i.e in that example the calculation should be 540 minutes.
Related Posts with Calculating difference between two times in minutes
Issue with two-step multinomial logit estimation (McFadden correction)Dear stata users, As you know, the two-step multinomial logit estimation (McFadden correction), req…
Renaming Windows directory using Stata syntax?Dear Statalist Is there a way to rename directories on my Windows PC from within Stata? I found how…
Generalized ordered probit: "Looping over program" problemDear Statalist User, I have a piece of code for estimation generalized ordered probit model from th…
Forecast applications of dynamic panel data models with fixed effectsI am attempting to produce out-of-sample forecasts based on a dynamic panel data model with fixed ef…
Pedroni's Panel Cointegration Tests and Panel Dynamic OLS estimationDear all, I was trying to conduct the Pedroni's Panel Cointegration Tests and Panel Dynamic OLS est…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating difference between two times in minutes
Post a Comment