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
Generating new variables out of existing ones using a loopHello, I am working with a dataset which contains daily stock prices of over 300 stocks. Each stock…
Chi square test or ANOVA?Hi! I have two variables: doctors and their smoking status (smoking or don't smoking). I want to fin…
Create table (by stacking different regression models)My goal is to create a table that looks like this: 1. Each entry (horizontal) represents a new mode…
GeorouteI'm trying to use the georoute command to calculate the driving distance between two geocoded points…
psmatch2 with missing data using multiple imputation syntax?Hello All, I hope that all is well. I am starting to see more publications using MI and psmatch2. I …
Subscribe to:
Post Comments (Atom)
0 Response to Calculating difference between two times in minutes
Post a Comment