Hi everyone, I'm looking to convert an integer variable into a time variable. The integers are all between 0 to 2359, and I want to tell Stata that these are 24-hour format time entries. I've looked at the documentation (chapter 24 and 25) but I still don't know how to do this. If anyone could help me this would be much appreciated. Thanks!
The data looks like this
Starttime
0
800
900
1300
Related Posts with Time Variable Conversion
syntax for calculating mean eGFR loss using joint model (-stjm-)Dear Stata users, I am trying to calculate mean eGFR loss/year using joint model which uses both th…
More mathematical functions like sigma & integralHello everyone! I would like to draw more mathematical functions on Stata. I found following functi…
Commands to estimate models with variables at different levels?Hi folks, imagine I have a panel data set in which the dependent variable is continuous and is measu…
Getting RR and CI ; when one of the cells is 0 (similar to Exlogistic command)Dear Statalisters, Any advise Getting RR and CI using generalised linear models ; when one of the ce…
Exlogistic: getting OR and CI from return list or ereturn listDear Statalisters, Any advise on getting OR and 95%CI after use of exlogistic command directly for p…
Subscribe to:
Post Comments (Atom)
0 Response to Time Variable Conversion
Post a Comment