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
Delete whole rowI have discovered that I have duplicates for a whole row (same person).. how do I delete the rows wi…
Latent Class AnalysisHi Statalist I am performing Latent Class Analysis in STATA 14. I am using the following Code: gse…
Relative risk and the risk differenceHi, I try to estimate the treatment effect in an RCT using the xtlogit command as I have panel data.…
iv with interactionI have an endogenous variable P . In my specification I also have interaction of P with X (X is an e…
How to use -graph combine- and typical twoway options with -meta forest-Dear all, I would like to present forest plots side by side, but -meta forest- does not work well w…
Subscribe to:
Post Comments (Atom)
0 Response to Calculating difference between two times in minutes
Post a Comment