Literature DB >> 29580203

Sample size determination for mediation analysis of longitudinal data.

Haitao Pan1, Suyu Liu2, Danmin Miao3, Ying Yuan4.   

Abstract

BACKGROUND: Sample size planning for longitudinal data is crucial when designing mediation studies because sufficient statistical power is not only required in grant applications and peer-reviewed publications, but is essential to reliable research results. However, sample size determination is not straightforward for mediation analysis of longitudinal design.
METHODS: To facilitate planning the sample size for longitudinal mediation studies with a multilevel mediation model, this article provides the sample size required to achieve 80% power by simulations under various sizes of the mediation effect, within-subject correlations and numbers of repeated measures. The sample size calculation is based on three commonly used mediation tests: Sobel's method, distribution of product method and the bootstrap method.
RESULTS: Among the three methods of testing the mediation effects, Sobel's method required the largest sample size to achieve 80% power. Bootstrapping and the distribution of the product method performed similarly and were more powerful than Sobel's method, as reflected by the relatively smaller sample sizes. For all three methods, the sample size required to achieve 80% power depended on the value of the ICC (i.e., within-subject correlation). A larger value of ICC typically required a larger sample size to achieve 80% power. Simulation results also illustrated the advantage of the longitudinal study design. The sample size tables for most encountered scenarios in practice have also been published for convenient use.
CONCLUSIONS: Extensive simulations study showed that the distribution of the product method and bootstrapping method have superior performance to the Sobel's method, but the product method was recommended to use in practice in terms of less computation time load compared to the bootstrapping method. A R package has been developed for the product method of sample size determination in mediation longitudinal study design.

Entities:  

Keywords:  Longitudinal study; Mediation analysis; Sample size determination

Mesh:

Year:  2018        PMID: 29580203      PMCID: PMC5870539          DOI: 10.1186/s12874-018-0473-2

Source DB:  PubMed          Journal:  BMC Med Res Methodol        ISSN: 1471-2288            Impact factor:   4.615


Background

Mediation analysis is a statistical method that helps researchers to understand the mechanisms underlying the phenomena they study. It has broad application in psychology, prevention research, and other social sciences. A simple mediation framework (see Fig. 1) involves three variables: the independent variable, dependent variable and mediating variable [4, 27]. The aim of mediation analysis is to determine whether the relation between the independent and dependent variables is due, wholly or in part, to the mediating variables. Since the seminal work of Baron and Kenney [4], extensive research has been conducted in mediation analysis, including that of [7, 22, 25]; [34]; and [18], among others. A comprehensive review of mediation analysis can be found in the book by [27].
Fig. 1

Path diagram for simple single-level mediation model

Path diagram for simple single-level mediation model When planning a mediation study, the investigator commonly determines the required sample size. An appropriately chosen sample size is critical for the success of the study. If the sample size is too small, the study may lack adequate statistical power to detect an effect size of practical importance, which leads the investigator to incorrectly conclude that an efficacious intervention is inefficacious. Reviews of the psychological literature suggest that insufficient statistical power is a common problem in psychological studies [1, 29, 30]. On the other hand, an unnecessarily large sample size is wasteful and increases the duration of the study. Because of the importance of sample size, funding agencies such as the National Institutes of Health routinely require investigators to justify the sample size for funded projects. Unfortunately, sample size determination is not straightforward for mediation analysis. No simple formula is available to carry out this task. Using Monte Carlo simulations, Fritz and MacKinnon [14] investigated power calculations for the simple mediation model and provided guidance in choosing sample sizes for mediation studies with independent data. Their results, however, are not applicable to longitudinal studies, in which data are correlated. A longitudinal study design is common in psychological and social research [13]. Compared with a cross-sectional study design, the longitudinal design requires fewer subjects and allows investigators to study the trajectory of each subject. In longitudinal studies, repeated measures are collected from each subject over time. Since measures collected from the same subject are more likely to be similar when compared to those collected from other subjects, data from the same subject tend to be correlated. Analyzing such correlated data requires special statistical methods, such as the multilevel model [33]. In this article, assuming a multilevel mediation model and using Monte Carlo simulation, we investigate sample size determination for longitudinal mediation studies. Our objective is to provide practical guidance and easy-to-use R software to help researchers determine the sample size when designing longitudinal mediation studies.

Methods

This section starts by formulating single-level mediation model, then multilevel mediation model for longitudinal data is described. We focus on lower-level multilevel mediation model and relevant model assumptions are discussed.

Simple single-level mediation model

Let Y denote the dependent (or outcome) variable, X denote the independent variable, and M denote the mediating variable (or mediator). A single-level mediation model (Fig. 1) can be expressed in the form of three regression equations: where β quantifies the relation between the independent variable and dependent variable (i.e., the total effect of X on Y); quantifies the relation between the independent variable and dependent variable after adjusting for the effect of the mediating variable (i.e., the direct effect of X on Y adjusted for M); β quantifies the relation between the mediating variable and dependent variable after adjusting for the effects of the independent variable; β measures the relation between the independent variable and mediating variable; β01, β02, and β03 are intercepts; and ε1, ε2, and ε3 are error terms that follow normal distributions with mean 0 and respective variances of , and . The mediation effect can be defined by two ways: β − β and ββ [16, 17, 27]. For the single-level mediation model, the two definitions of the mediation effect are equivalent [28], but they are generally different in the multilevel mediation models we will describe.

Multilevel mediation model for longitudinal data

For correlated longitudinal data, the simple mediation model, which assumes independence of observations, is not appropriate. Using the single-level mediation model for longitudinal data leads to biased estimates of standard errors and confidence intervals [3]. Multilevel mediation modeling is a powerful technique for analyzing mediation effects in longitudinal data. Multilevel models assume that there are at least two levels in the data, an upper level and a lower level. The lower-level units (e.g., repeated measures) are often nested within the upper-level units (e.g., subjects). Assuming that the lower-level units are random, also known as random effects, multilevel models appropriately account for correlations among the observations from the same subject, and yield valid statistical inference. For a comprehensive coverage of multilevel modeling techniques, see the book by Raudenbush & Bryk [33]. The multilevel mediation model is much more complex than the single-level model because mediation effects can occur at the different model levels. Two kinds of mediation, upper-level mediation and lower-level mediation, can be distinguished in the context of multilevel mediation models [5]. In upper-level mediation, the initial causal variable for which the effect is mediated is an upper-level variable. In lower-level mediation, the mediator is a lower-level variable. Krull [21] and MacKinnon [22] offered examples of upper-level mediation, while [18] studied lower-level mediation, in which the mediation links varied randomly across the upper-level units. In this study, we focus on a specific type of lower-level mediation model (Fig. 2) that is appropriate for analyzing longitudinal studies. In this model, an initial variable X is mediated in the lower level (i.e., measurement level), but the mediator M and outcome Y are affected by upper-level (i.e., subject level) variations. A simple scenario for this model is a longitudinal experimental study in which subjects are randomly assigned to a treatment (time-invariant) or the multiple treatments can be assigned to a same subject in cross-over design (i.e., initial variable X, in this paper, variable X is treated as time-varying), and mediating variable M, such as a psychosocial measure, is believed to change individual behavior (i.e., dependent variable Y) over time.
Fig. 2

Pathway diagram for a 1–1-1 mediation model

Pathway diagram for a 1–1-1 mediation model

The lower-level mediation model

Let X, Y, and M denote the independent variable, dependent variable, and mediating variable, respectively, for the ith observation from the jth subject. The lower-level mediation model in Fig. 2 can be expressed in the form of the following two-level regression equations, where at the lower (or within-subject) level, similar to the simple single-level mediation model, β measures the total effect of the independent variable on the dependent variable; β measures the direct effect of the independent variable on the dependent variable, adjusted for the mediating variable; β measures the effect of the mediating variable on the dependent variable, adjusted for the independent variable; β measures the effect of the independent variable on the mediating variable; and β01, β02, and β03 are subject-specific intercepts that differ from subject to subject, as reflected by the subscript j in these parameters. These subject-specific intercepts are also known as random intercepts. The terms ε1, ε2, and ε3 are lower-level (or within-subject) error terms that follow normal distributions with a mean of zero and respective variances , and . At the upper (or between-subject) level γ1, γ2, and γ3 are overall or population average intercepts; and u1, u2, and u3 are upper-level (between-subject) error terms that follow normal distributions with a mean of zero and respective variances , and . In the multilevel model, the upper-level errors induce within-subject correlations. Let y and denote the i-th and i′-th measures for the same subject j, then y and are correlated as Such within-subject correlation is often measured by the intraclass correlation coefficient (ICC), which is defined as Under the above two-level mediation model, the value of ICC for Y is given by Larger values of ICC represent strong within-subject correlations, i.e., measures from the same subject are more similar. When ICC = 0, measures from the same subject are independent. Due to the within-subject correlation, the two definitions of the mediation effects, β − β and ββ, are generally not equivalent in multilevel models [21], although they are equivalent in the single-level mediation model. The different behaviors of multilevel and single-level models are caused by the fact that the weighting matrix used to estimate the multilevel model is typically not identical to single-level equations. The non-equivalence between β − β and ββ, however, is unlikely to be problematic because the difference between the two estimates is typically small and unsystematic and tends to vanish at large sample sizes [21]. In this article, we focus on ββ as the measure of the mediation effect.

Test of the mediation effect

As the independence assumption is violated, conventional statistical methods, such as the ordinary least squares method, are not appropriate for estimating the multilevel mediation model. Instead, maximum likelihood methods and/or empirical Bayes methods are typically used. Let and denote the maximum likelihood estimates of β and β respectively. Then, the maximum likelihood estimate of the mediation effect is given by . To test whether the mediation effect ββ equals zero, three approaches can be taken.

Sobel’s method

Sobel’s method is a widely used test of the mediation effect, based on the first-order multivariate delta method [35, 36]. In this approach, assuming and are independent, the standard deviation of is estimated by where and are the squared standard errors of and , respectively. The 100(1-α)% confidence interval (CI) of the mediation effect is given by where z1 −  is the (1 − α/2)th quantile of the standard normal distribution. If α = 0.05, the familiar 95% CI results. If this CI does not contain zero, we reject the null hypothesis and conclude that the mediation effect is statistically significant. Sobel’s method relies on the assumption that , the product of two normal random variables and , is normally distributed. However, several studies have shown that the distribution of the product of two normal random variables is not actually normal, but skewed [23]. The violation of the normality assumption compromises the performance of Sobel’s method and leads to invalid CIs [26]. To address this problem, [26] discussed several improved CIs that account for the fact that is not normally distributed, including the CI based on the distribution of the product of two normal random variables and the CI based on the bootstrap method [6, 34].

Distribution of the product method

Instead of assuming the normality of , the distribution of the product method proposed by MacKinnon and Lockwood (2001) constructs the CI of the mediation effect based on the distribution of the product of two normal random variables. Although such a distribution does not take a simple closed form, Meeker et al. [31] provided tables of critical values for this distribution that can be used to construct the CI. Alternatively, the critical values can also be obtained based on the empirical distribution of the product of two normal random variables through Monte Carlo simulations. Let δ and δ denote critical values that correspond to the lower and upper bounds of the CI, then the CI of the mediation effect is given by

Bootstrap method

Another approach for constructing the CI without imposing a normal assumption on is the bootstrap method [11]. The bootstrap method, based on resampling, is useful for finding the standard error and forming CIs for estimates when their sampling distributions are unknown. In this study, we use the percentile bootstrap [6] to construct the CI for the mediation effect. We repeatedly resample the original data with replacement, obtaining the so-called bootstrap samples. For each of the bootstrap samples, we estimate the mediation effect using the maximum likelihood method. These estimates form the empirical distribution of the mediation effect. Let q and q1 −  denote the (α/2)th and (1 − α/2)th percentiles of this empirical distribution; then the 100(1 − α)% CI of the mediation effect is given by When conducting bootstrap resampling for the multilevel mediation model, in principle, we should resample both the upper-level (subjects) and lower-level (measures) units. However, in a multilevel context, we should be careful of not breaking the structure of the dataset, therefore, a resampling scheme for multilevel models must take into account the hierarchical data structure. There are three approaches can be applied to bootstrap two-level models: the parametric bootstrap, the residual bootstrap, and the cases bootstrap. We chose the cases bootstrap since it requires minimal assumptions of hierarchical dependency in the data being assumed to be specified correctly. de Leeuw & Meijer [9] suggest that when the number of lower-level units (measures) is small, the approach of resampling only the upper level and keeping the lower level intact yields more accurate estimates. In our simulation, the number of lower-level units is small (i.e., 2 to 5), thus we only resampled the upper-level units. To be specific, the algorithm for cases bootstrap is as follows: Draw a sample of size J with replacement from the upper level units; that is, draw a sample {} (with replacement) of upper level numbers. For each k, draw a sample of entire cases, with replacement, from (the original) upper level unit . This sample has the same size as the original unit from which the cases are drawn. Then, for each k, we have a set of data {(),}. Compute estimates for all parameters of the two-level model. Repeat steps 1–3 B times.

Simulation study

We conducted a simulation study to determine the sample size that is needed to achieve 80% power when using Sobel’s method, the distribution of the product method, and the bootstrap method for longitudinal mediation studies. In our simulation, we varied three factors. The first one is the effect size of the mediation effect . We considered four values of β and β: 0.14, 0.26, 0.39 and 0.59, respectively corresponding to smaller, medium, halfway (between medium and large), and large effect sizes. These values yielded 16 combinations of effect sizes of the mediation effect. Another factor is the ICC. We considered five values of ICC, 0.1, 0.3, 0.5, 0.7 and 0.9, to cover various within-subject correlations from low to high. The last factor is the number of repeated measures. We considered 2, 3, 4 and 5 repeated measures for each subject. For other parameters, we set the overall interceptsγ2and γ3 as zero. Since there were no repeated measurements in Fritz et al. [14] and the samples were all drawn from a standard normal distribution, for fair comparisons, we set marginal variances of Y and M, that is, and , as 1. Based on the definition of ICC, we have. To simulate data, we first simulated the independent variable X from the standard normal distribution, then generated random intercepts β02 and β03 according to eqs. (7) and (9). Conditional on the values of β02 and β03, we generated the dependent variable Y and mediating variable M according to eqs. (6) and (8). To determine the power of the three test methods, under each of the parameter settings, we generated 1000 simulated datasets, and applied the methods to each of the datasets to test the mediation effect. We calculated the power of the methods as the proportion of tests that rejected the null hypothesis of no mediation effects, i.e., the CI excluded zero. For the bootstrap method, we based the construction of the CI on 500 bootstrap samples. To determine the sample size that yields 80% power, we started with an initial guess of the sample size. If we found the power achieved with that sample size to be too low, we increased the sample size; and if we found the power to be too high, we decreased the sample size. We repeated this procedure until the sample size allowed us to reach the level of power nearest to 80%.

Results

Tables 1, 2, 3, 4 and 5 show the sample sizes necessary to achieve 80% power under five different ICCs (ICC = 0.1, 0.2, 0.4, 0.6, 0.9). For completeness, results with other ICCs, say, 0.3, 0.5, 0.7, and 0.8, are also shown, which can be found in the Additional file 1: Tables S1- S4, respectively. In each table, the 16 mediation effect sizes are denoted by two letters, with the first one referring to the size of β, and the second letter referring to the size of β. We use S for small (0.14), M for medium (0.39), L for large (0.59) and H for halfway (0.26) between large and medium effect sizes, e.g., the effect size ML indicates β= 0.39 and β= 0.59.
Table 1

Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.1

Observations
2345
Effect sizeaSobelProductBootstrapSobelProductBootstrapSobelProductBootstrapSobelProductBootstrap
SS365299304257215215207163169169136142
SH272235237194172180151140150133126131
SM248226230188188200146144145132126130
SL238248251176176176148147149124126128
HS238201209161138143123104108998385
HH1098894786569615057514240
HM877799585557494252424040
HL747273575125474620403839
MS215200209138134140110102105868385
MH796569544646423536352931
MM514144383033292328242123
ML403638292728242225201820
LS204206204139132140105101103838282
LH656069444140343132282424
LM363133252224191718171515
LL242022171615141312121111

aEffect size: The first letter is the size of β, the second letter is the size of β; S is small (0.14), M is medium (0.39), L is large (0.59) and H is halfway (0.26) between large and medium effect sizes

Table 2

Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.2

Observations
2345
Effect sizeSobelProductBootstrapSobelProductBootstrapSobelProductBootstrapSobelProductBootstrap
SS408330341291244234239204201201169175
SH301282283231226230201185190177163160
SM294287279226220218191188185163166170
SL282267278223213211188182182166163164
HS2402062241661371391291071071088984
HH12097104877279715958615360
HM958790746568615660564952
HL888585726570615754514948
MS213194202148138141112102111908185
MH816873594953473937393230
MM564650403333342728282523
ML473837323128292723252424
LS215189204136136140105103108858285
LH666065453940363234302628
LM383233272424211818191614
LL252222191715161412141213
Table 3

Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.4

Observations
2345
Effect sizeSobelProductBootstrapSobelProductBootstrapSobelProductBootstrapSobelProductBootstrap
SS479394395363300334313269276282251253
SH379351564305299298276266270290244254
SM376350351307301302269251253282238232
SL360361361293302305271276275283251264
HS258215219181153159149120134137106111
HH1431171231089092918088937275
HM116109111968888857981887278
HL112109110938690847985867374
MS2172102121521321411161051181008385
MH887281655459564548543940
MM645455494547423738423533
ML544950454144393838413540
LS20919820414313814010596108858187
LH686163494249403337352829
LM413436322526252221241919
LL292426232023201819201718
Table 4

Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.6

Observations
2345
Effect sizeSobelProductBootstrapSobelProductBootstrapSobelProductBootstrapSobelProductBootstrap
SS551467477438378385400326333351326326
SH451426453376369370363349350332326334
SM451438451380377380357346351326323333
SL454444445385376380344326340326313324
HS289234239200171179171136157145120127
HH1561321301271111221111011081049396
HM1421251321151111131071021051009898
HL13313112711511111210297971009799
MS2261942021571451481291081181068885
MH998091766273635260574852
MM726270615153544748494648
ML635961535252494949474646
LS211201204138132135117105108917987
LH726265524549433638373132
LM453839352934302428262324
LL333132282425252425232123
Table 5

Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.9

Observations
2345
Effect sizeSobelProductBootstrapSobelProductBootstrapSobelProductBootstrapSobelProductBootstrap
SS638576581544495523499465454476426455
SH551545550499468473462463464458440465
SM551550550507485490476479478444447445
SL568576577512499500461466466447425435
HS308246251236189204193163168175148162
HH195165170159144149144139142143129134
HM183171170143148149139133132134128129
HL167164166154145148134134132134129131
MS23220821217114515313611311111595102
MH10992102907485796670716567
MM867682736665656464636062
ML827477706566636363656162
LS213207216144133137111108109918484
LH776476564854494048433640
LM504246413634353132322730
LL413437333133312930302830
Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.1 aEffect size: The first letter is the size of β, the second letter is the size of β; S is small (0.14), M is medium (0.39), L is large (0.59) and H is halfway (0.26) between large and medium effect sizes Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.2 Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.4 Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.6 Estimated numbers of required subjects for 2, 3, 4 and 5 observations with ICC = 0.9 Among the three methods of testing the mediation effects, Sobel’s method required the largest sample size to achieve 80% power. Bootstrapping and the distribution of the product method performed similarly and were more powerful than Sobel’s method, as reflected by the relatively smaller sample sizes. For instance, when the mediation effect size was medium (i.e., SM) and the ICC was 0.2, with 4 repeated measures, Sobel’s method required 191 subjects to achieve 80% power, whereas the distribution of the product and bootstrap methods required 188 and 185 subjects, respectively, to achieve the same power. For all three methods, the sample size required to achieve 80% power depended on the value of the ICC (i.e., within-subject correlation). A larger value of ICC typically required a larger sample size to achieve 80% power. For example, under the design with two repeated measures and using the distribution of the product method, to detect a small effect size of SS, a sample size of 299 was needed when ICC = 0.1, while a sample size of 420 was needed when ICC = 0.4. Simulation results also illustrated the advantage of the longitudinal study design. Compared with the results reported by Fritz and MacKinnon [14] for the cross-sectional study, the required sample size under the longitudinal design was substantially smaller. When the ICC was low, such as 0.1, the required sample size under the longitudinal study design was a fraction of that under the cross-sectional design, and was approximately equal to the sample size of the cross-sectional study divided by the number of repeated measures. For example, under the longitudinal design with three repeated measures and using the distribution of the product method, the sample size under the longitudinal design was 215 to detect a small effect size of SS, which was approximately one-third of that required under the cross-sectional design (667). Even when the ICC was relatively high, we still observed dramatic sample size savings. For example, when ICC = 0.6 and using the bootstrap method, to detect the mediation effect size SM, the cross-sectional design required 422 subjects, while the longitudinal design with 4 repeated measures only required 351 subjects. This observation is in accordance to findings in literatures [19]. Figure 3 shows the type I error rates for the sample sizes corresponding to 5 examples of zero mediation effects when ICC = 0.3 for three repeated measures. A parameter combination of zero/zero (ZZ) had error rates around zero for all numbers of observations and sample sizes across the mediation tests. The distribution of the product method had the most precise rates; whereas Sobel’s method had less type I error probability and bootstrapping inflated the error rates in the case of a zero/0.59 (ZL) parameter, as with small sample sizes. However, the rates approached 0.05 when the number of sample sizes increased. Other scenarios taking various ICCs and repeated measures showed results similar to those in Fig. 3 and they are not shown in the paper.
Fig. 3

Type I error rates of Sobel’s (black line), distribution of the product (red line), and bootstrap (blue line) methods under various sample sizes with 3 repeated measures and ICC of 0.3

Type I error rates of Sobel’s (black line), distribution of the product (red line), and bootstrap (blue line) methods under various sample sizes with 3 repeated measures and ICC of 0.3

Discussion

Assuming a two-level mediation model and using Monte Carlo simulations, we determined the sample sizes required to achieve 80% power for longitudinal mediation studies under various practical settings. The simulation results provide guidance for researchers when choosing appropriate sample sizes in the design of longitudinal mediation studies. Our simulations also show that the distribution of the product and bootstrap methods are more powerful than Sobel’s method for testing the mediation effect. In addition, the required sample size is closely related to the ICC. A high ICC generally requires a larger sample size to detect a given effect size. The simulation results show that when the ICC is high, above 0.8 for instance, the required sample sizes in these scenarios are close to the values provided in Fritz et al. [14], suggesting that we should choose cross-sectional studies instead of longitudinal studies since the former is relatively easy to conduct but does not lose power. However, in real studies, especially in psychotherapy clinical trial studies, a meta-analysis of ICCs found that ICCs varied widely, ranging from 0 to 0.729, with an average around 0.08 [8]. Similar results have been found in clinical trial data [12, 20] and clinical practice data [24, 32, 37]. In studies in the field of education, small ICCs are also common [15], with 0.20 as a median value. Another interesting finding for multilevel mediation is that the power of testing the mediation effect depends on not only the overall value of the mediation effects ββ, but also the values of the individual regression coefficients β and β. For instance, the sample size required to detect the effect size of LS is different from that required to detect the effect size SL. In other words, the sample size depends on the position of the effect sizes. Such a “positioning” effect for testing the mediation effect in multilevel mediation depends on the ICC. A high ICC leads to a stronger positioning effect. For example, in Table 5, when ICC = 0.9, detecting the effect size SL requires 568 subjects, while detecting the effect size LS only requires 213 subjects. The positioning effect does not appear in the single-level mediation model, which can be viewed as an extreme case of the multilevel model with ICC = 0. In the single-level mediation model, the required sample size (or power) only depends on the value of ββ, but not the individual values of β and β [14]. For example, the number of subjects needed to detect the effect size LS was equal to that required to detect the effect size SL. The different behavior of multilevel mediation compared to single-level mediation is due to the within-cluster correlation in the multilevel model. Therefore, when conducting power calculations for longitudinal mediation studies, in addition to the mediation effect ββ, it is equally important to report the effect size of β and β. Our simulation studies showed that the bootstrap and the distribution of the product methods have similar performance in testing the mediation effect. However, as the bootstrap is much more computer-intensive and time-consuming, we recommend using the distribution of the product method in practice. One limitation is that in the paper, coefficients β, β, β and β in the model were treated as fixed-effects coefficients only. More flexible model by treating these as random-effects variables and two-level random-slopes model can also be considered. Another limitation is that in practice, effects size estimates are just estimates, not the true values, so uncertainty needs to be considered in the effect size estimates for sample size planning. Interested readers can consult the papers by [2, 10] for more information. There is a recent paper [38] discusses power and sample size for mediation model in longitudinal studies, however, in their model, the mediator was assumed to be time-invarying instead of time-variant in our research.

Conclusion

Mediation analysis using longitudinal data allows researchers to investigate biological pathways and identifies their direct and indirect contribution to interested outcome variable. However, though this method is common in psychological and social research, sample size determination is still a challenging problem. This paper gives a way of using multilevel model for longitudinal data to provide the sample size under various sizes of the mediation effect, within-subject correlations and numbers of repeated measures via simulations by using three methods, Sobel, distribution of product and bootstrap. We found that the bootstrap and distribution of the product methods had comparable results and were more powerful than the Sobel’s method in terms of relatively smaller sample sizes. We recommend to use the distribution of product method due to its less computational load. For the mediation model of longitudinal data, the sample size depended on the ICC (i.e., the intra-subject correlation), number of repeated measurements, “position” of β and β. Sample size tables for commonly encountered scenarios in practice were also provided for researchers’ convenient use. Estimated numbers of required subjects with ICC = 0.3, 0.5, 0.7 and 0.8. (DOCX 27 kb)
  18 in total

1.  Mediation in experimental and nonexperimental studies: new procedures and recommendations.

Authors:  Patrick E Shrout; Niall Bolger
Journal:  Psychol Methods       Date:  2002-12

2.  The persistence of underpowered studies in psychological research: causes, consequences, and remedies.

Authors:  Scott E Maxwell
Journal:  Psychol Methods       Date:  2004-06

3.  Implications of therapist effects for the design and analysis of comparative studies of psychotherapies.

Authors:  P Crits-Christoph; J Mintz
Journal:  J Consult Clin Psychol       Date:  1991-02

4.  An Alternative Framework for Defining Mediation.

Authors:  L M Collins; J J Graham; B P Flaherty
Journal:  Multivariate Behav Res       Date:  1998-04-01       Impact factor: 5.923

5.  Multilevel mediation modeling in group-based intervention studies.

Authors:  J L Krull; D P MacKinnon
Journal:  Eval Rev       Date:  1999-08

Review 6.  Sample size planning for statistical power and accuracy in parameter estimation.

Authors:  Scott E Maxwell; Ken Kelley; Joseph R Rausch
Journal:  Annu Rev Psychol       Date:  2008       Impact factor: 24.137

7.  Confidence Limits for the Indirect Effect: Distribution of the Product and Resampling Methods.

Authors:  David P Mackinnon; Chondra M Lockwood; Jason Williams
Journal:  Multivariate Behav Res       Date:  2004-01-01       Impact factor: 5.923

8.  Addressing the "Replication Crisis": Using Original Studies to Design Replication Studies with Appropriate Statistical Power.

Authors:  Samantha F Anderson; Scott E Maxwell
Journal:  Multivariate Behav Res       Date:  2017-03-07       Impact factor: 5.923

9.  Estimating variability in outcomes attributable to therapists: a naturalistic study of outcomes in managed care.

Authors:  Bruce E Wampold; George S Jeb Brown
Journal:  J Consult Clin Psychol       Date:  2005-10

10.  Power and sample size calculations for evaluating mediation effects in longitudinal studies.

Authors:  Cuiling Wang; Xiaonan Xue
Journal:  Stat Methods Med Res       Date:  2012-12-06       Impact factor: 3.021

View more
  16 in total

1.  Does Self-Efficacy Mediate the Link Between Impulse Control and Diabetes Adherence?

Authors:  Karol Silva; Victoria A Miller
Journal:  J Pediatr Psychol       Date:  2020-05-01

Review 2.  An Empirical Mediation Analysis of Mechanisms Underlying HIV-1-Associated Neurocognitive Disorders.

Authors:  Kristen A McLaurin; Charles F Mactutus; Rosemarie M Booze; Amanda J Fairchild
Journal:  Brain Res       Date:  2019-09-09       Impact factor: 3.252

3.  Evaluating environmental and inhibitory control strategies to improve outcomes in a widely available weight loss program.

Authors:  Nenette A Cáceres; Qihan Yu; Jessica Capaldi; Márcio Augusto Diniz; Hollie Raynor; Gary D Foster; Aaron R Seitz; Sarah-Jeanne Salvy
Journal:  Contemp Clin Trials       Date:  2022-07-05       Impact factor: 2.261

4.  Mediational Effects on Motivation to Quit Smoking After Exposure to a Cigarette Pictorial Warning Label Among Young Adults.

Authors:  Andrea C Johnson; Monique M Turner; Samuel J Simmens; W Douglas Evans; Andrew A Strasser; Darren Mays
Journal:  Ann Behav Med       Date:  2022-07-12

5.  Parenting and the Development of Impulse Control in Youth with Type 1 Diabetes: The Mediating Role of Negative Affect.

Authors:  Karol Silva; Victoria A Miller
Journal:  Appl Dev Sci       Date:  2019-12-18

6.  CG Demethylation Leads to Sequence Mutations in an Anther Culture of Barley Due to the Presence of Cu, Ag Ions in the Medium and Culture Time.

Authors:  Piotr T Bednarek; Renata Orłowska
Journal:  Int J Mol Sci       Date:  2020-06-20       Impact factor: 5.923

7.  One year follow-up and mediation in cognitive behavioral therapy and acceptance and commitment therapy for adult depression.

Authors:  Jacqueline G L A-Tjak; Nexhmedin Morina; Maurice Topper; Paul M G Emmelkamp
Journal:  BMC Psychiatry       Date:  2021-01-14       Impact factor: 3.630

8.  Longitudinal investigation of the relationships between trauma exposure, post-migration stress, sleep disturbance, and mental health in Syrian refugees.

Authors:  July Lies; Sean P A Drummond; Laura Jobson
Journal:  Eur J Psychotraumatol       Date:  2020-11-19

9.  Disinhibition and Subjective Hunger as Mediators Between Weight Bias Internalization and Binge Eating Among Pre-Surgical Bariatric Patients.

Authors:  Zachary A Soulliard; Cassie Brode; Lawrence E Tabone; Nova Szoka; Salim Abunnaja; Stephanie Cox
Journal:  Obes Surg       Date:  2020-10-13       Impact factor: 4.129

10.  Effects of remaining dentin thickness on the bond strength of bleached dentin.

Authors:  Lei Jiang; Xiu-Jiao Lin; Ying-Hui Chen; Hao Yu
Journal:  BMC Oral Health       Date:  2020-08-05       Impact factor: 2.757

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.