- Research article
- Open Access
Searching for the optimal measuring frequency in longitudinal studies -- an example utilizing short message service (SMS) to collect repeated measures among patients with low back pain
BMC Medical Research Methodology volume 16, Article number: 119 (2016)
Mobile technology has opened opportunities within health care and research to allow for frequent monitoring of patients. This has given rise to detailed longitudinal information and new insights concerning behaviour and development of conditions over time.
Responding to frequent questionnaires delivered through mobile technology has also shown good compliance, far exceeding that of traditional paper questionnaires. However, to optimize compliance, the burden on the subjects should be kept at a minimum.
In this study, the effect of using fewer data points compared to the full data set was examined, assuming that fewer measurements would lead to better compliance.
Weekly text-message responses for 6 months from subjects recovering from an episode of low back pain (LBP) were available for this secondary analysis. Most subjects showed a trajectory with an initial improvement and a steady state thereafter.
The data were originally used to subgroup (cluster) patients according to their pain trajectory. The resulting 4-cluster solution was compared with clusters obtained from five datasets with fewer data-points using Kappa agreement as well as inspection of estimated pain trajectories. Further, the relative risk of experiencing a day with bothersome pain was compared week by week to show the effects of discarding some weekly data.
One hundred twenty-nine subjects were included in this analysis. Using data from every other weekly measure had the highest agreement with the clusters from the full dataset, weighted Kappa = 0.823. However, the visual description of pain trajectories favoured using the first 18 weekly measurements to fully capture the phases of improvement and steady-state. The weekly relative risks were influenced by the pain trajectories and 18 weeks or every other weekly measure were the optimal designs, next to the full data set.
A population recovering from an episode of LBP could be described using every other weekly measurement, an option which requires fewer weekly measures than measuring weekly for 18 weeks. However a higher measuring frequency might be needed in the beginning of a clinical course to fully map the pain trajectories.
The world has changed tremendously during the past decade in terms of communication. In high income countries most people own mobile phones , and the low income countries are not far behind [2–5]. As well as talking to and messaging each other, the phone is becoming a substitute for timetables, newspapers and calendars. Modern communication has also influenced the world of medicine. Mobile phone applications are available for different aspects of health monitoring [6, 7], fitness  and behavioural change . Reminders are sent to patients enrolled in vaccination programs , monitoring of symptoms in chronic conditions is now possible [11–13] and adherence to medication use seems to improve with this technology . Medical research is also catching on, and mobile phones are, for instance, used to monitor subjects after an intervention [15, 16] or are being used as integral parts of interventions .
The use of mobile communication enables unique insights into conditions that vary over time. It is known that many types of pain fluctuate during the day, week and over longer time periods. As frequent measurement is feasible with this new technology, the variability of the pain experience may be captured and studied [18, 19]. Contrary to diaries , time-stamping of data recordings is possible, which allows for recall bias to be assessed. Further, people carry their phone with them at work, at home and on vacations, rendering compliance unaffected by time and season . Adding to the positive features of this method is also the cost. Generally, it is much cheaper to use mobile communication compared to paper questionnaires and ordinary mail services .
For any type of measurement, good compliance and minimal amount of missing data are essential features of accurate estimates. In many longitudinal surveys, compliance drops as time passes, rendering conclusions regarding the measured variable uncertain. However, studies using mobile phones as the data collection tool have reached good compliance [19, 21], even in long term follow ups and even among the young men  that usually drop out of studies. However, the burden to the participants should be kept at a minimum to optimize compliance.
Concerns have been raised that intense monitoring may have a reactive effect, that the attention towards a certain symptom or behaviour will influence the very item being studied . Some studies have found no such effect [25, 26], and one study suggests that psychological states like anxiety and depression may actually decrease after a period of intense monitoring of pain .
It would be desirable to find the optimal number of measurements, i.e. the minimal number of data points to adequately describe the variability of the measure without losing detail. This needs to be balanced by optimal subject compliance, i.e. participants who keep answering throughout the study follow up without a reactive effect.
The aim of this study was to explore the optimal frequency for measuring pain repeatedly over 6 months. By comparing the pain trajectories formed by the full dataset of 26 weekly measures with those utilizing only parts of the data, it was possible to assess the effect of using fewer data points on the pain trajectory. As the compliance for the full dataset (26 weekly test messages) was known, it was assumed that fewer measuring points would render compliance at this level or higher as the burden on the participants would decrease.
This was a secondary analysis of data collected in a longitudinal observational study .
In short, the source population consisted of 244 patients with non-specific low back pain (LBP) who consulted a chiropractor in Sweden for this problem. Therefore, most of the subjects were experiencing a pain episode at baseline. Inclusion criteria in the study were LBP with or without leg pain, working age, having access to a mobile phone, knowledge of how to use the text message function of their phone as well as fluency in Swedish. Exclusion criteria were red flags (serious pathology), pregnancy and specific LBP (such as disc herniation). Demographic and baseline data are shown in Table 1.
The participants received a text message every Sunday for 26 weeks with a question about their LBP: “How many days during the previous week has your low back pain been bothersome, (i.e. affected your daily activities or routines)? Please answer with a number between 0 and 7”. The text messages were sent through a system called SMS Track , and the text message replies were instantly recorded in a data file on line, suitable for analysis. The primary outcome, the recorded weekly value, is the Number of Bothersome Days (NBD).
The weekly text message data were used to map the individual pain trajectories of the respondents and to group the patients with similar courses together in a cluster analysis . One of the clusters had a rather stable course over time and the remaining three showed improvement of varying speed, after which a “steady state” ensued . Therefore, the data in this study stem from a patient cohort where the individuals sought care when in pain and map a clinical course in which the majority of patients improve.
To explore the effects of varying frequencies of follow-up, a complete dataset was needed in this secondary analysis to be used as a reference dataset for comparisons to follow. Thus, data imputation was used in all missing cells for NBD. To ensure solid estimates, subjects had to have a minimum of 24 out of 26 weekly text message replies, as well as a full set of the following baseline variables: Age, sex, duration of LBP and health-related quality of life (measured through the Euro Qol 5-dimentions (EQ-5D) and a single item “How would you rate your health?” with answer options ranging from Excellent  to Poor ). Imputation for missing values of the weekly NBD was done by using the mean value of NBDs from the observations closest in time, before and after the missing data point. Further, because the spline regression analysis requires some variability in the individual data, 4 subjects with a constant reply (e.g. NBD = 7 for all weeks) were removed. Thus, data from 129 subjects from the original study were used in this analysis.
To explore the effects of varying frequencies of measuring, 6 different options were tested. These frequency options were based on the previous results, namely that some groups of individuals seem to move extremely quickly towards recovery (in a matter of 3 weeks), some relatively quick (during the first 8 weeks), others slower (during weeks 13 to 18) and some did not show much improvement at all. Thus the frequency options explored were;
all data (=26 weekly measures) which served as a reference,
the first 8 weekly measures only,
the first 13 weekly measures only,
the first 8 weekly measures, then every fourth weekly measure supplemented with the last weeks measure, week 26, thus 13 weekly measures in all,
every second weekly measure (13 weekly measures evenly distributed across the study period, also including the last week (week 26)), thus 14 weekly measures, and
the first 18 weekly measures.
Each of the 6 frequency options were analysed as in the original article , using a cluster analysis based on parameters obtained from spline regressions. This was a person-oriented analysis , of individual pain trajectories, implying that the analysis concerns the pain course of each one of the individuals, regardless baseline variables. To estimate each individual course, the spline regression was used to derive two regression lines (to describe the early and the late course of the pain experience, respectively). The point of intersection (the knot) between these two lines was also estimated along with the parameters for slopes and intercepts of the two regressions. For each individual the spline regression resulted in four unique parameters and these parameters were then used in two supplementary clustering algorithms to explore a potential clustering of the individuals with similar trajectories.
The first clustering algorithm was an hierarchical cluster analysis (Ward’s method) to identify a preliminary set of clusters, each with specific characteristics . These clusters were then used as the start for the second clustering procedure (K-means clustering), to consolidate the cluster formation and obtain the optimal number of clusters. This optimal number was noted according to the Calinski-Harabasz criterion .
Using this criterion, a four cluster solution was found to be optimal in the reference data set A), in line with the original reference . Our first evaluation of clusters therefore aimed at comparing this four-cluster solution for the reference data set with four-cluster solutions from each frequency option B-F, using the same approach with Ward’s and the K-means methods. To obtain a quantification of the agreement between clusters from the reference data set A) and the tested frequency options B)-F) Kappa and Weighted Kappa was used . Landis and Koch  give indicative values of Kappa to describe the degree of agreement with Kappa above 0.75 as excellent agreement, values below 0.40 as poor agreement and values in the range 0.40–0.75 as fair to good agreement. This first evaluation compared the frequency options on the assumption that based on previous studies, a four cluster solution is the relevant classification of individuals within this particular population.
A second evaluation applied a more exploratory approach where the assumption of a four-cluster solution was relaxed and different numbers of clusters were analysed, using the Calinski-Harabasz criterion to determine the optimal number of clusters. Thus, the reference data was as before confined to its optimal four cluster solution but for the frequency options B)-F) a non-restricted search for optimal numbers of clusters was used. In this case the Kappa criterion was not suitable as it requires comparisons between equal numbers of clusters. Therefore a graphical comparison of trajectories was used. The trajectories were derived as the average trajectories for each cluster, using the available data under the frequency option, and also extending the estimated trajectories to cover the whole period up to week 26.
In a different analytical approach a generalized linear model (GLM) was used to estimate group differences in the risk for the outcome event “bothersome day” separately for each week, from 1 to 26. The reported outcome variable was the NBD, for each week. The specified distribution for NBD was a binomial distribution with a fixed number of days (that is, 7 days), and NBD varied between 0 and 7 depending on the actual number of bothersome days reported during each week examined. If a group factor is introduced in the GLM a group comparison with respect to the risk of a bothersome day can be estimated, and by using a logarithmic link function in GLM we obtained estimates of the Relative Risk (RR) for each one of the 26 weeks.
For the purpose of this comparison the chosen group factor was duration of pain the previous year, as this was the only variable that consistently showed a predictive ability for LBP over a 6 month follow-up in a previous study . The variable was dichotomized into ≤ 30 days vs > 30 days of pain the previous year. The outcome parameter, RR, thus estimates the relative risk for a bothersome day comparing pain > 30 days as the index category and pain ≤ 30 days as the reference category.
Ethics permission was granted by the Karolinska Institutet; 2007/1458–31/4. All participants signed informed consent forms.
In total, 98 points of data were imputed (2.9 %), to form a total of 3354 cells (129x26). The demographic data of the subjects are found in Table 1.
The result of the first cluster analysis of the A–F designs under the assumption that four-cluster solutions are the targets is shown in table 2. Both the ordinary Kappa and the weighted Kappa values are shown. As the classification of the four clusters in the reference data can be ranked with an ordinal scale from fast improvement to indifference in improvements a weighted Kappa may provide the most insightful result. In this comparison and with the Kappa criterion option E, every other week, has the best result, measured by the agreement with the reference data set. Options B and C are clearly inferior, and D and F are almost as good as E. It must be noted though, that this is a comparison of allocation into clusters, not a description of the trajectories themselves for the derived clusters.
The agreement between A and B–F is estimated with the Kappa coefficient (both the raw Kappa and the weighted Kappa with quadratic weights).
In the second evaluation of clustering and individual pain courses the optimal number of clusters differed between the frequency options. Option B resulted in two clusters, option C in five clusters, options D and F in four clusters and option E in five clusters. For the E option there was just a very small favour of 5 clusters over 4 clusters according to the Calinski-Harabasz criterion, an improvement with less than 0.7 % for 5 clusters compared with 4.
The trajectories reveal that the options B and C are not at all in line with the reference data. They both give a very inaccurate prediction of the development after weeks 8 and 13 weeks, apart from not being able to reproduce the number of clusters in the reference data. The measures of these two options most likely miss the knots, the trend breaks, which for a not ignorable number of subjects occur after week 8 and 13. Option D reproduces the assumed correct number of clusters but the trajectory for the slow improvers is not very accurate. This could be explained by the fact that the slow improvers have their knot after week 8 where option D has fewer measures. Option E does not the give the same number of clusters as the reference data, although the four cluster solution is almost obtained. It is mainly the cluster named “indifferent” that seems to be split up in two clusters. Finally, option F has the best profile of trajectories compared with the reference data. This option also covers most of the available time points.
The relative risks for bothersomeness for the 26 weeks using previous duration as the explanatory factor are shown in Fig. 7. Experiencing > 30 days of pain the previous year lead to an increased risk of reporting bothersome pain during the study follow up. In the figure, the alternative use of the predetermined cut-offs at 8, 13 and 18 weeks are represented by dotted vertical lines. The RRs increase from week 1 to week 12 up to an RR higher than 3.5, then go down to a stabilized value approximately around 2.5. Using the options D and E give a more complete picture of the development of the Relative Risk for this data set, and option F gives almost as good a picture. Option B, 8 weeks, completely ignore the upward trend from week 8, and option C, 13 weeks, does not find the stable plateau after week 13.
In this study, we have used an existing dataset containing weekly pain measures from a completed observational study. The idea was to explore the minimal amount of information necessary to retain the overall result from the full dataset. By exploring the congruence between these “less than full” solutions with those obtained using the full dataset, empirical results may now inform a discussion of an optimal measuring frequency in a cohort of patients seeking care for LBP.
It is important to regard these results in light of the population and primary outcome studied. The developments of the subjects’ pain over time influence how measurement frequency may capture the pain trajectories. Studies of other variables with a more stationary behaviour over time may give rise to different considerations.
The result of clustering subjects showed that weekly measures for the first 8 weeks and only every 4 weeks thereafter as well as measures every other week, yield good to very good agreement with the reference data as regards allocation of individuals into clusters. However, in comparing trajectories, the best resemblance was found when using weekly data from the first 18 weeks. Therefore, selecting the optimal measuring frequency may be a matter of the aim of the study. If grouping (clustering) subjects recovering from a pain episode with similar profiles together, a short period of weekly measurements may be followed by monthly measurements. However, if the object is to study and estimate the “recovery trajectory” itself, it seems that using measurements every week for a limited amount of time is the best option. In this case 18 weeks resulted in the best performance, but the drawback is that this was the option that used the highest number of weekly measures of the options tested.
The result of using generalized linear models similarly indicate that options D (using the first 8 weekly and every fourth weekly measure thereafter) and E (using every other measure) most adequately describe both the initial change in RR and the steady state thereafter. Using only the first 13 weeks for analysis would completely miss the stabilized value that starts from around week 13. Using data up to and including week 18 would at least give a fairly good hint of a stabilized value in the risk estimation. Using only 8 weeks should be avoided with a population like this one. These results show that the existence of different individual courses of pain/bothersomeness might have a strong impact on the analytical model. If these trajectories are not adequately covered by the actual data the results might be even severely misleading.
The strengths of the study concern the quality and amount of data. It was collected with repeated text messages and had very good compliance (72 %) and short (1 week) recall. Further, as only those individuals with high compliance were selected, very few cells had to be imputed (2.9 %), rendering the estimates robust.
The main limitation of the study concerns the population under study, the fact that the observation started when the subjects sought care for LBP. Thus, the analysis and conclusions may only apply to subjects in similar situations. However, due to the fact that these subjects had clear trajectories (and not mere steady states) it was possible to compare the different measuring options in respect to their trajectories. Other studies with other types of variables (frequency of certain events, adherence to an intervention) may need to consider their outcomes in light of different measuring frequencies.
It should be noted that this was purely a data-driven approach, albeit one that originated in the reality of conducting clinical research. Therefore, the assumption was that a minimal measuring frequency would be the optimal frequency for compliance. The actual experiences of the subjects have not been illuminated in this regard. One could speculate that people would forget to answer when the measurements are further apart, that the weekly consistency appeals to a lot of people, and that monthly measures are more difficult to become routine events.
It is also important to point out that if measures are conducted wider apart, the recall period should be carefully considered. In order to maintain the validity of the measure, subjects should get the same question consistently. Thus, in this case with a measure pertaining to pain during the past week, if weekly measures became monthly, 3 weeks of each month would not be measured. This aspect needs to be considered in the equation of data quality and compliance.
For the longitudinal study of a population consulting with LBP, subjects might be measured every week after a pain episode to capture the nature of their recovery. For a population with an initial phase of recovery followed by a steady state it is necessary to capture the first phase of a fast recovery with frequent weekly measures. For the second phase with a more steady-state condition, every 2 to 4 weeks might be adequate to capture the subgrouping properties, trajectory patterns and risk estimations. The clinical consequence needs to be tested in a prospective study, as the behavioural impact of measurements wider apart is not known. The burden to participants needs to be weighed against the need for frequent measures in light of the condition under scrutiny.
Euro Qol 5-dimentions
Low back pain
Number of bothersome days
Short message service (text message)
Nellevad P, Bergsveen A. Swedish use of telephone and internet 2010-an individ survey: The Swedish Post and Telecom Agency 2010 Contract No.: PTS-ER-2010:25. 2010.
Otieno G, Githinji S, Jones C, Snow RW, Talisuna A, Zurovac D. The feasibility, patterns of use and acceptability of using mobile phone text-messaging to improve treatment adherence and post-treatment review of children with uncomplicated malaria in western Kenya. Malar J. 2014;13:44.
Kurumop SF, Bullen C, Whittaker R, Betuela I, Hetzel MW, Pulford J. Improving health worker adherence to malaria treatment guidelines in Papua New Guinea: feasibility and acceptability of a text message reminder service. PLoS ONE. 2013;8(10), e76578.
Lua PL, Neni WS. Feasibility and acceptability of mobile epilepsy educational system (MEES) for people with epilepsy in Malaysia. Telemed J E Health. 2012;18(10):777–84.
Maslowsky J, Valsangkar B, Chung J, Rasanathan J, Cruz FT, Ochoa M, et al. Engaging patients via mobile phone technology to assist follow-up after hospitalization in Quito, Ecuador. Telemed J E Health. 2012;18(4):277–83.
Garcia C, Hardeman RR, Kwon G, Lando-King E, Zhang L, Genis T, et al. Teenagers and texting: use of a youth ecological momentary assessment system in trajectory health research with latina adolescents. JMIR Mhealth Uhealth. 2014;2(1), e3.
Lumley MA, Shi W, Wiholm C, Slatcher RB, Sandmark H, Wang S, et al. The relationship of chronic and momentary work stress to cardiac reactivity in female managers: feasibility of a smart phone-assisted assessment system. Psychosom Med. 2014;76(7):512–8.
Marszalek J, Morgulec-Adamowicz N, Rutkowska I, Kosmol A. Using ecological momentary assessment to evaluate current physical activity. Biomed Res Int. 2014;2014:915172.
Fjeldsoe BS, Marshall AL, Miller YD. Behavior change interventions delivered by mobile telephone short-message service. Am J Prev Med. 2009;36(2):165–73.
Vilella A, Bayas JM, Diaz MT, Guinovart C, Diez C, Simo D, et al. The role of mobile phones in improving vaccination rates in travelers. Prev Med. 2004;38(4):503–9.
Garcia-Palacios A, Herrero R, Belmonte MA, Castilla D, Guixeres J, Molinari G, et al. Ecological momentary assessment for chronic pain in fibromyalgia using a smartphone: a randomized crossover study. Eur J Pain. 2014;18(6):862–72.
Brabyn S, Adamson J, MacPherson H, Tilbrook H, Torgerson DJ. Short message service text messaging was feasible as a tool for data collection in a trial of treatment for irritable bowel syndrome. J Clin Epidemiol. 2014;67(9):993–1000.
Christie A, Dagfinrud H, Dale O, Schulz T, Hagen KB. Collection of patient-reported outcomes;--text messages on mobile phones provide valid scores and high response rates. BMC Med Res Methodol. 2014;14:52.
Park LG, Howie-Esquivel J, Dracup K. A quantitative systematic review of the efficacy of mobile phone interventions to improve medication adherence. J Adv Nurs. 2014;70(9):1932–53.
Jensen RK, Leboeuf-Yde C, Wedderkopp N, Sorensen JS, Manniche C. Rest versus exercise as treatment for patients with low back pain and Modic changes, A randomized controlled clinical trial. BMC Med. 2012;10:22.
Moller N, Tarp J, Kamelarczyk E, Brond J, Klakk H, Wedderkopp N. Do extra compulsory physical education lessons mean more physically active children-findings from the childhood health, activity, and motor performance school study Denmark (The CHAMPS-study DK). Int J Behav Nutr Phys Act. 2014;11(1):121.
Bauer S, Okon E, Meermann R, Kordy H. Technology-enhanced maintenance of treatment gains in eating disorders: efficacy of an intervention delivered via text messaging. J Consult Clin Psychol. 2012;80(4):700–6.
Stone AA, Broderick JE, Kaell AT. Single momentary assessments are not reliable outcomes for clinical trials. Contemp Clin Trials. 2010;31(5):466–72.
Macedo LG, Maher CG, Latimer J, McAuley JH. Feasibility of using short message service to collect pain outcomes in a low back pain clinical trial. Spine (Phila Pa 1976). 2012;37(13):1151–5.
Stone AA, Shiffman S, Schwartz JE, Broderick JE, Hufford MR. Patient compliance with paper and electronic diaries. Control Clin Trials. 2003;24(2):182–99.
Axen I, Bodin L, Bergstrom G, Halasz L, Lange F, Lovgren PW, et al. The use of weekly text messaging over 6 months was a feasible method for monitoring the clinical course of low back pain in patients seeking chiropractic care. J Clin Epidemiol. 2012;65(4):454–61.
Johansen B, Wedderkopp N. Comparison between data obtained through real-time data capture by SMS and a retrospective telephone interview. Chiropr Osteopat. 2010;18(1):10.
Phillips MM, Phillips KT, Lalonde TL, Dykema KR. Feasibility of text messaging for ecological momentary assessment of marijuana use in college students. Psychol Assess. 2014;26(3):947–57.
Runyan JD, Steenbergh TA, Bainbridge C, Daugherty DA, Oke L, Fry BN. A smartphone ecological momentary assessment/intervention “app” for collecting real-time data and promoting self-awareness. PLoS ONE. 2013;8(8), e71325.
Heron KE, Smyth JM. Is intensive measurement of body image reactive? A two-study evaluation using Ecological Momentary Assessment suggests not. Body Image. 2013;10(1):35–44.
Stone AA, Broderick JE, Schwartz JE, Shiffman S, Litcher-Kelly L, Calvanese P. Intensive momentary reporting of pain with an electronic diary: reactivity, compliance, and patient satisfaction. Pain. 2003;104(1–2):343–51.
Broderick JE, Vikingstad G. Frequent assessment of negative symptoms does not induce depressed mood. J Clin Psychol Med Settings. 2008;15(4):296–300.
SMS-Track. SMS-Track Questionnaire 1.1.3. http://www.sms-track.com/; 2007. Accessed 2 Sept 2016.
Axen I, Bodin L, Bergstrom G, Halasz L, Lange F, Lovgren PW, et al. Clustering patients on the basis of their individual course of low back pain over a 6 month period. BMC Musculoskelet Disord. 2011;12:99.
Bergman LR, Magnusson D. A person-oriented approach in research on developmental psychopathology. Dev Psychopathol. 1997;9(2):291–319.
Everitt BS, Landau S, Leese M. D S. Cluster Analysis. 5th ed. London: Wiley; 2011.
Fleiss JL, Levin B. MC. P. Statistical Methods for rates and Proportions. Hoboken: Wiley; 2003.
Landis JR, Koch GG. The measurement of observer agreement for categorical data. 1977.
Axen I, Bergstrom G, Bodin L. Using few and scattered time points for analysis of a variable course of pain can be misleading: an example using weekly text message data. Spine J. 2014;14(8):1454–9.
We extend our gratitude to the subjects who answered questionnaires and text messages in the study as well as to the chiropractic clinicians recruiting them.
The original study was funded in part by the Swedish Chiropractic Association and the European Chiropractor’s Union.
Availability of data and materials
Data are available from the authors upon request.
IA was the principal investigator of the original study. Both authors designed the study, LB was responsible for the analysis and IA wrote the first draft. Both authors approved the final manuscript.
The authors declare that they have no competing interests.
Consent for publication
Ethics approval and consent to participate
Ethics permission was granted by the Karolinska Institutet; 2007/1458–31/4. All participants signed informed consent forms.
About this article
Cite this article
Axén, I., Bodin, L. Searching for the optimal measuring frequency in longitudinal studies -- an example utilizing short message service (SMS) to collect repeated measures among patients with low back pain. BMC Med Res Methodol 16, 119 (2016). https://doi.org/10.1186/s12874-016-0221-4
- Short message service
- Text messages
- Repeated measures
- Low back pain