Computing Elapsed Time With SPSS
Computing Elapsed Time With SPSS
[pic]
My colleague, Christyn Dolbier, asked me: “I am struggling with how to compute a variable for the time since an event took place. I have the data entered for the date (MM/DD/YY) the event took place and the date (MM/DD/YY) the participants completed the survey. What I want to compute is the amount of time since the event to the date they completed the survey. Do you know of a simple way to do this in SPSS?”
I tried to Google an answer to this, without success. Sometimes it is just easier to tinker and figure it out yourself. Here is what I discovered: If you want the elapsed number of days between one date and another, just do this:
[pic]
If you just tell SPSS to find the difference between two dates, it will report the answer in SECONDS, so you just divide by 86,400 to get the difference in days.
[pic]
Karl Wuensch, May, 2005.
Return to my SPSS Lessons Page.
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- calculating percentages for time spent during day week
- restricted days and number of days away from work
- step by step 1 explore functions
- computing elapsed time with spss
- washington state university
- sas functions arithmetic functions
- benefit service date calculation and reports
- using dates in sas
- longevity date calculation and reports
Related searches
- spending time with family
- spending time with family facts
- benefits of spending time with family
- why is spending time with family important
- finding time with velocity and acceleration
- finding time with acceleration and distance
- find time with acceleration and velocity
- how to find time with acceleration
- find time with velocity and distance
- spending time with family statistics
- why is spending time with family good
- exact time with seconds in california