Calculate Age from Birthdate - SPSS (Easy!)

preview_player
Показать описание
COMPUTE age = CTIME.DAYS(formdate-birthdate)/365.25.
EXECUTE.

I demonstrate a versatile and straightforward method to calculate age from a birthdate variable in SPSS
Рекомендации по теме
Комментарии
Автор

I've never used SPSS Syntax before (didn't even know where it was to begin), but after a couple of attempts managed to do this. Thanks - very helpful tutorial

Gilbomeister
Автор

Thank you so much, this really helped me out with the data of my thesis where I needed to calculate the mean age, but only the birth dates were given!

BelkiBuse
Автор

I have data in which age mention only in months ( no date no years mentioned). How I converted age in months to age in years??

zanisuvine
Автор

quick video... its 5 minutes and 30 seconds in he is still babbling... yeah I know what I am in for

Bob_Saccamano
Автор

Please help in a situation where the date of birth of the respondent was collected in three separate numeric variables as Day, Month and Year. I want to convert everything into months. Thanks in advance.

chrisdzimadzi
Автор

Hi - when I enter the syntax, there is a message that reads 'the expression ends unexpectedy' can you help with this? Really helpful video - thanks!

alicemorey
Автор

What if in the variable view I change the decimals of the variable, form 2 dp to 0 dp?

angelicascaglia
Автор

hi, thank you so much for the video. it is really helpfull!

kakhaa
Автор

Awesome. Thanks! Never used syntax before. <3

DocJoko