Rounding Time variable in SPSS or STATA
Hi Suzana,
in SPSS times are internally stored as seconds from midnight. So it is fairly easy to round up to 30 minutes=1800 seconds
*example data set.
DATA LIST /ID 1 time 3-7 (TIME).
BEGIN DATA
1 10:11
2 11:01
3 12:45
4 01:04
5 00:01
6 23:55
END DATA.
DATASET NAME set1.
COMPUTE test=RND((time)/1800)*1800.
EXE.
*to get it in hh:mm format use FORMATS.
FORMATS test (TIME5).
cheers.
Many Thanks :)
I'm trying to merge two datasets from a survey conducted at two different years. The key variable I'm using is FoodGroup. The issue is that diet coders spelled the Food Groups differently in each...
02 March 2015 2,659 4 View
I would like to learn more about SPSS and Its application especially in regards to data analysis. Please suggest me how I can learn more about it. Thank you so much.
11 August 2024 9,101 4 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
Hello experts, Does anyone know any free software about retention index prediction ?
08 August 2024 7,403 2 View
Are there any statistical methods to justify your sampling technique using SPSS or AMOS?
05 August 2024 9,153 4 View
I am interested to know the behavior of dyes toward light. Specifically, Blue dyes re-emit the spectrum, especially from the green zone (known as principal in LED lamps, and blue dyes are known...
05 August 2024 3,290 1 View
Hi everyone, If you have written or come across any papers where Generalised Linear Mixed Models are used to examine intervention (e.g., in mental health) efficacy, could you please share the...
04 August 2024 4,130 4 View
Molecular docking software/ websites?
02 August 2024 8,704 7 View
I am conducting a qualitative study that uses interviews to investigate the perceptions of teachers about a particular leadership practice and I am focusing on 3 schools which have a total number...
01 August 2024 8,457 10 View
Does anyone know of a module for the JAMOVI software that is capable of generating mean separations using the classic letters based on post hoc results (e.g., Tukey test)? If, as I believe, such...
31 July 2024 3,333 4 View
I am conducting my analysis using SPSS. I log transformed my data using In(X+1) as my data contain zero values. However, when I want to back transform the regression coefficients generated from my...
31 July 2024 7,860 3 View