Automatically compute variable upon input in SPSS
Posted
by
what
on Stack Overflow
See other posts from Stack Overflow
or by what
Published on 2012-10-04T08:57:26Z
Indexed on
2012/10/04
9:37 UTC
Read the original article
Hit count: 322
I have two cells in SPSS, months
is a number of months, years_from_months
is the number of years, calculated from the months (decimal: months / 12).
What I want is that years_from_months
is calculated (and updated) automatically, when I finish entering the months in months
, i.e. that I don't have to explicitly call compute manually through the menu.
I have defined years_from_months
to calculate the years, but at the moment the field only updates when I go to the menu option Transform > Compute variable ... and click OK in the window that opens.
How can I set up the cell to update automatically (like in Excel)?
© Stack Overflow or respective owner