Hello - I'm trying to declare my data as time series for 30 study participants with data recordings every 15 seconds to 2 minutes but continually get the error 451 code. .Thank you in advance for your advice on this.
The error code r(451) appears after entering the first 3 tsset commands and this error warning appeared as well after the third tsset command "warning: Variable dateT2 had been formatted %tC (a period), and you asked for a clocktime period. Are you sure that is what you want? Format has been changed. dateT2 is now formatted %tc:
following code
i
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float IDnum double(Session dateT dateT2) float(doy hr min) 1 3 1898207739000 1898207739000 55 23 55 1 3 1898207708999.9998 1898207708999.9998 55 23 55 1 3 1898207799999.9998 1898207799999.9998 55 23 56 1 3 1898207770000.0002 1898207770000.0002 55 23 56 1 3 1898207829999.9998 1898207829999.9998 55 23 57 1 3 1898207861000.0002 1898207861000.0002 55 23 57 1 3 1898208288000 1898208288000 56 0 4 1 3 1898208256999.9998 1898208256999.9998 56 0 4 1 3 1898208622999.9998 1898208622999.9998 56 0 10 end format %tc dateT format %tC dateT2
following code
i
Code:
tsset ID_Sess dateT, clocktime delta(1 seconds)
Code:
tsset ID_Sess dateT2, clocktime
Code:
format %tC dateT2 tsset ID_Sess dateT2, clocktime
Comment