User Manual: Inquisit International Physical Activity Questionnaire (short form)


___________________________________________________________________________________________________________________	

						International Physical Activity Questionnaire – Short Form (IPAQ)
										-7-day period-
						(Spanish version)
___________________________________________________________________________________________________________________

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 09-22-2023
last updated:  09-26-2023 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 09-26-2023 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	

This script implements Millisecond's computerized version of the  International Physical Activity Questionnaire – 
Short Form (IPAQ).
The IPAQ is freely available.

more information as well as forms in several language available at:
https://sites.google.com/view/ipaq

Scoring protocol ('scoring_protocol.pdf'): 
https://sites.google.com/view/ipaq/score


/////////////////////////////////////////////////////////////////////////////////////////////
DISCLAIMER:
This script runs Millisecond's best effort attempt to code summary variables such as MET-scores 
according to the guidelines outlined in 'scoring_protocol.pdf' 
(downloaded at: https://sites.google.com/view/ipaq/score). 
Coding may, however, still differ from intended purposes or contain errors. 

If in doubt, manually score the obtained raw responses.
/////////////////////////////////////////////////////////////////////////////////////////////


References:

Booth, M.L. (2000). Assessment of Physical Activity: An International Perspective. Research Quarterly for Exercise
and Sport, 71 (2): s114-20.

Craig, C. L., Marshall, A. L., Sjöström, M., Bauman, A. E., Booth, M. L., Ainsworth, B. E., Pratt, M., 
Ekelund, U., Yngve, A., Sallis, J. F., & Oja, P. (2003). International physical activity questionnaire: 
12-country reliability and validity. Medicine and Science in Sports and Exercise, 35(8), 1381–1395. 
https://doi.org/10.1249/01.MSS.0000078924.61453.FB

___________________________________________________________________________________________________________________
OVERVIEW
___________________________________________________________________________________________________________________	

from webpage:
"The International Physical Activity Questionnaires (IPAQ) comprises a set of 4 questionnaires.
Long (5 activity domains asked independently) and short (4 generic items) versions for use by
either telephone or self-administered methods are available. The purpose of the questionnaires
is to provide common instruments that can be used to obtain internationally comparable data on
health–related physical activity."

FOR USE WITH YOUNG AND MIDDLE-AGED ADULTS (15-69 years)

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 5 minutes to complete

__________________________________________________________________________________________________________________	
DATA FILE INFORMATION 
___________________________________________________________________________________________________________________	
The default data stored in the data files are:

(1) Raw data file: 'ipaq_short.iqdat'

date, time:						date and time script was run with the current group/subjectnumber 
subject, group, session:	  	with the current subject/groupnumber/session id
build:							the Inquisit build 

q*_response:					response given (in assigned values)
									
								////////////
								q1_DPA: 1 = participant entered number of days for VIGOROUS PA  (see q1_VPAother_response for actual number); 0 = no VIGOROUS PA 
								q2a_DPA: stores the horas por día of VIGOROUS PA
								q2b_DPA: stores the minutos por día of VIGOROUS PA
									(Note: total time spent on VIGOROUS PA  = (hours*60) + minutes)
								q2c_DPA: stores response to No sabe/No está seguro(a)
									
								q3_MPA: 1 = participant entered number of days for MODERATE PA  (see q3_MPAother_response for actual number); 0 = no VIGOROUS PA 
								q4a_MPA: stores the horas por día of MODERATE  PA
								q4b_MPA: stores the minutos por día of MODERATE  PA
									(Note: total time spent on MODERATE  PA  = (hours*60) + minutes)
								q4c_MPA: stores response to No sabe/No está seguro(a)						

								q5_walking: 1 = participant entered number of days for WALKING  (see q5_walkingother_response for actual number); 0 = no WALKING 
								q6a_walking: stores the horas por día of WALKING
								q6b_walking: stores the minutos por día of WALKING
									(Note: total time spent on WALKING  = (hours*60) + minutes)
								q6c_walking: stores response to No sabe/No está seguro(a)
								
								/////Sitting///////
								q7a_sitting: stores the horas por día of SITTING time during a WEEK DAY
								q7b_sitting: stores the minutos por día of SITTING time during a WEEK DAY
								q7c_sitting:  stores response to No sabe/No está seguro(a)
									
						
q*_latency:						how much time (in ms) the participant spent on the surveypage with this particular 
								question (the last time this particular surveypage was visited)
								
NOTE: if participants are allowed to navigate back and forth on survey pages (default),
it is possible the raw data files store data that are not considered for summary variable analyses.
Example: participant enters vigorous hours at 1 hour and 10 minutes (q2a + q2b) but later changes
their answer to question q1 to 'no work related vigorous activities'. In this case, the answer to q1 overrides the
earlier entered responses to q2a+q2b for summary variable analyses (= minutes of work related vigorous activity will be 0)
but the last responses to q2a/q2b are still stored in the raw data file.

To change navigation settings, go to element.survey_short and follow instructions.								
								

(2) Summary data file: 'ipaq_short_summary*.iqdat' (a separate file for each participant)

inquisit.version:			Inquisit version run
computer.platform:			the platform the script was run on (win/mac/ios/android)
startDate:					date script was run
startTime:					time script was started
subjectid:					assigned subject id number
groupid:					assigned group id number
sessionid:					assigned session id number
elapsedTime:				time it took to run script (in ms); measured from onset to offset of script
completed:					0 = script was not completed (prematurely aborted); 
							1 = script was completed (all conditions run)	
																
////////////////////////////////////////////////////////////								
///////////Explanation of Abbreviations////////////////
////////////////////////////////////////////////////////////	
MET: Metabolic equivalent of a task	

PA: Physical Activity
VPA: Vigorous Physical Activity
MPA: Moderate Physical Activity
PAL: Physical Activity Level

DPW: Days per Week exercised 
MPD: minutos por días exercised			

///////////////////////////////////////////////////////////////////////////								
Continues Measure of Physical Activity (PA): MET-minute scores
///////////////////////////////////////////////////////////////////////////
From 'scoring_protocol.pdf' (p.3):
"METs are multiples of the resting metabolic rate and a MET-minute is computed by multiplying
the MET score of an activity by the minutes performed. MET-minute scores are
equivalent to kilocalories for a 60 kilogram person."
(MET scores used in this script reported in 'scoring_protocol.pdf', p.7-8)

//////////MET-scores (see 'scoring_protocol.pdf', p.7-8)

MET_VPA:					calculated as 	= 8.0*DPW_VPA*MPD_VPA_capped* (Note: this script uses capped MPD values to calculate MET)	
MET_MPA:					calculated as 	= 4.0*DPW_MPA*MPD_MPA_capped					
MET_walking:				calculated as 	= 3.3*DPW_walking*MPD_walking_capped
MET_total:					sum of all MET  scores

* capped = by default scripts automatically limits number of minutes exercised per day for any of the three categories to 180minutes (3 hours)
for the purpose of computing MET scores
To use uncapped scores, set parameters.useCappedMinutes (section Editable Parameters) to false.

///////////////////////////////////////////////////////////////////////////								
Categorical Measure of Physical Activity (PA): 
///////////////////////////////////////////////////////////////////////////
Criteria to score Physical Activity Level are described in 'scoring_protocal.pdf', p. 8/9
DISCLAIMER: best guess interpretation of the criteria

PAL:								Physical Activity Level (LOW, MODERATE, HIGH)							

high_criterium1:					1 = participant fulfilled high_criterium1, IF SO (PAL = HIGH); 0 = otherwise 
												criterium: vigorous-intensity activity on at least 3 days achieving a minimum Total physical activity of at least 1500 MET-minutes/week)
												calculation in this script:
												if (expressions.DPW_VPA >= 3 AND expressions.MET_total >= 1500) => return '1' else return '0'
												DPW_VPA: 		stores the number of days of vigorous physical activity (>= 10min) reported  (if nothing was reported, the data says 'missing data')
												MET_total:			sum of all MET scores												
												
												
high_criterium2:						1 = participant fulfilled high_criterium2, IF SO (PAL = HIGH); 0 = otherwise 
												criterium: 7 or more days of any combination of walking, moderate-intensity or vigorous-intensity activities achieving a minimum Total physical activity of at least 3000 MET-minutes/week.
												Calculation in this script: 
												if (expressions.DPW_PA >= 7 AND expressions.MET_total >= 3000) => return '1' else return '0'
												DPW_PA:		sum of (DPW_VPA + DPW+MPA + DPW_walking)
												MET_total:		sum of all MET  scores												
											
moderate_criterium1:				1 = participant fulfilled moderate_criterium1, IF SO (PAL = MODERATE); 0 = otherwise 
												criterium: 3 or more days of vigorous-intensity activity of at least 20 minutes per day
												Calculation in this script: 
												if (DPW_VPA >= 3 AND MPD_VPA >= 20) => return '1' else return '0'
												DPW_VPA: 		stores the number of days of vigorous physical activity (>= 10min) reported  (if nothing was reported, the data says 'missing data')
												MPD_VPA:			stores the reported time (in minutes) spent on the vigorous activity  on these days
												
moderate_criterium2:				1 = participant fulfilled moderate_criterium2, IF SO (PAL = MODERATE); 0 = otherwise 
												criterium: 5 or more days of moderate-intensity activity and/or walking of at least 30 minutes per day
												Calculation in this script (tested against official Excel files downloaded from: https://sites.google.com/view/ipaq/score):
												if (DPW_MPAandWALK >= 5 AND expressions.totalMinutes_MPAandWALK/5 >= 30) => return '1' else return '0'
												DPW_MPAandWALK:			the combined DPWs for MPA and walking (simple addition) 
												totalMinutes_MPAandWALK: sum of the totalMinutes MPA and walking
																						
moderate_criterium3:				1 = participant fulfilled moderate_criterium3, IF SO (PAL = MODERATE); 0 = otherwise 
												criterium: 5 or more days of any combination of walking, moderate-intensity or vigorous intensity activities achieving a minimum Total physical activity of at least 600 MET-minutes/week.
												Calculation in this script:
												if (expressions.DPW_PA >= 5 AND expressions.Met_total >= 600) => return '1' else return '0'
												DPW_PA:		sum of (DPW_VPA + DPW+MPA + DPW_walking)
												MET_total:		sum of all MET  scores
/////////////////////////////////////////////////////////////////////////////////////////////								
//DPW (days per week physical exercise) and MPD (minutos por día physical exercise) per domain
/////////////////////////////////////////////////////////////////////////////////////////////

DPW_PA:						sum of (DPW_VPA + DPW+MPA + DPW_walking)
totalMinutes_PA:			total number of minutes of physical activity in the last 7 days

////////////////
DPW_VPA: 				stores the number of days of vigorous physical activity (>= 10min) reported  (if nothing was reported, the data says 'missing data')
DPW_VPA_20min: 			Days Per Week of VPA (vigorous physical activity) of at least 20 minutes per day (used for moderate_criterium1 in this script)
MPD_VPA:				stores the reported time (in minutes) spent on the vigorous activity  on these days
MPD_VPA_capped:			stores the reported time (in minutes) spent on the vigorous activity  on these days, capped at 180 minutes max (3 hours) 														
totalMinutes_VPA:		stores the total reported number of minutes spent on vigorous exercise  (NOT based on capped time)

DPW_MPA: 				stores the number of days of moderate physical activity (>= 10 min) reported  (if nothing was reported, the data says 'missing data')
MPD_MPA:				stores the reported time (in minutes) spent on the moderate activity  on these days
MPD_MPA_capped:			stores the reported time (in minutes) spent on the moderate activity  on these days, capped at 180 minutes max (3 hours) 														
totalMinutes_MPA:		stores the total reported number of minutes spent on moderate exercise  (NOT based on capped time)												
														
DPW_walking: 			stores the number of days of walking (>= 10min) reported  (if nothing was reported, the data says 'missing data')
MPD_walking:			stores the reported time (in minutes) spent on the walking activity  on these days
MPD_walking:			stores the reported time (in minutes) spent on the walking activity  on these days, capped at 180 minutes (3 hours) 														
totalMinutes_walking:	stores the total reported number of minutes spent on walking exercise 	(NOT based on capped time)	


DPW_MPAandWALK:			the combined DPWs for MPA and walking (simple addition) 
totalMinutes_MPAandWALK: sum of the totalMinutes MPA and walking 

///////////////////////////////////////////
Sitting
//////////////////////////////////////////

min_sitting:					the number of minutes spent sitting during the last 7 days

__________________________________________________________________________________________________________________	
EDITABLE PARAMETERS
__________________________________________________________________________________________________________________	

/ useCappedMinutes = true   //True: If TRUE all reported walking, moderate and vigorous times are capped at 
							//180min (3 hours) per day for the purpose of MET min/week calculations. 
							//False: the uncapped values are used for MET min/week calculations

/ runFeedbackPage = true    //true: participants are informed about MET scores and physical fitness category 
							//false: no feedback is provided for participants

/ low = "LOW"				//word used in feedback report for LOW level of PA (useful for translations)
/ moderate = "MODERATE"		//word used in feedback report for MODERATE level of PA
/ high = "HIGH" 			//word used in feedback report for HIGH level of PA