[R-meta] Time as indicator vs time as meaning

Stefanou Revesz @te|@noureve@z @end|ng |rom gm@||@com
Sun Oct 10 19:13:03 CEST 2021


Dear Wolfgang,

This was such an important point. I'm highly grateful for this. To
follow your advice, I'm going to do:

rma.mv(es ~ time_wks_btw + time_wks_wth, random = ~ time_meaning_wks |
study, struct = "CAR")

But:

1) Can the right side of | in the random part, remain as
"time_meaning_wks" or it should be "time_wks_wth"?

2) If I want to interact "condition" with time, which time moderator
should I use: "time_wks_btw" or "time_wks_wth"?

Many thanks,
Stefanou



On Sun, Oct 10, 2021 at 8:56 AM Viechtbauer, Wolfgang (SP)
<wolfgang.viechtbauer using maastrichtuniversity.nl> wrote:
>
> See below for my responses.
>
> Best,
> Wolfgang
>
> >-----Original Message-----
> >From: Stefanou Revesz [mailto:stefanourevesz using gmail.com]
> >Sent: Saturday, 09 October, 2021 19:28
> >To: Viechtbauer, Wolfgang (SP)
> >Cc: Michael Dewey; R meta
> >Subject: Re: [R-meta] Time as indicator vs time as meaning
> >
> >Thank you so much, Wolfgang and Michael. So, based on your advice I
> >will use the following:
> >
> >rma.mv(es ~ time_meaning_wks, random = ~ time_meaning_wks | study,
> >struct = "CAR")
> >
> >Then I think, the fixed coef. of "time_meaning_wks" is interpreted as:
> >The change in true effects for 1 week change in time regardless of the
> > testing occasions' indicator.
>
> Correct. And now comes the part again where I am being pedantic:
>
> 1) To be precise: The average change.
>
> 2) You could run this model even if not a single study had used two (or more) measurement occasions (one could then not estimate rho - so in principle, the model is then overparameterized, but this isn't relevant to the point I am trying to make here). In this case, the coefficient for time_meaning_wks is estimated purely by examining the size of the effect across studies that used different measurement weeks. In this case, speaking of 'change' might suggest that the studies are actually providing evidence about the change in the effect over time, when in fact the evidence is purely cross-sectional (or "cross-studinal" if there even is such a word - Google gives me 0 hits for this, so maybe not, but then I just invented it). You *do* have studies that used multiple measurement occasions, so the coefficient for time_meaning_wks is actually a mixture of cross-studinal evidence and actual changes in the effect that occurred within studies. To disentangle such between- and within-study evidence, one can apply methods that are well-known in the multilevel / longitudinal data analysis context, namely by computing the study-level means of time_meaning_wks and the deviations from these means within studies and then including both of these variables in the model.
>
> >One other option that we came up with to keep time_id (as a factor) in
> >the model was to control for "time_meaning_wks" as in:
> >
> >rma.mv(es ~ factor(time_id) + time_meaning_wks, random = ~
> >factor(time_id) | study, struct = "UN")
> >
> >Does this alternative make sense?
>
> One can do this, but it's trying to squeeze a lot of information out of your data. The factor(time_id) fixed effect is asking about differences in measurement occasions irrespective of their actual time values (so the second measurement occasions might be at 6 weeks in study 1 and at 24 weeks in study 2 but these are both treated identically). The time_meaning_wks effect is asking about (linear) changes (or differences -- see above) in the effect over time measured in weeks.
>
> And as discussed in a previous post, using something like 'random = ~ factor(time_id) | study, struct = "UN"' is likely to lead to a rather large number of variance components and correlations being estimated.
>
> >Thank you for your expertise,
> >Stefanou
> >
> >On Sat, Oct 9, 2021 at 11:13 AM Viechtbauer, Wolfgang (SP)
> ><wolfgang.viechtbauer using maastrichtuniversity.nl> wrote:
> >>
> >> To add to this:
> >>
> >> 2. Terms used in 'random' are not allowed to have missing values in rma.mv(),
> >so those rows will need to be filtered out first before fitting the model.
> >>
> >> 3. rho in "CAR" is the autocorrelation for a one-unit difference in the time
> >variable. So if time is measured in weeks, then rho reflects the correlation
> >between two time points one week apart.
> >>
> >> Best,
> >> Wolfgang
> >>
> >> >-----Original Message-----
> >> >From: Michael Dewey [mailto:lists using dewey.myzen.co.uk]
> >> >Sent: Saturday, 09 October, 2021 17:36
> >> >To: Stefanou Revesz; Viechtbauer, Wolfgang (SP)
> >> >Cc: R meta
> >> >Subject: Re: [R-meta] Time as indicator vs time as meaning
> >> >
> >> >Comments in-line
> >> >
> >> >On 09/10/2021 15:56, Stefanou Revesz wrote:
> >> >> Dear Wolfgang,
> >> >>
> >> >> Thank you for your reply. The rma.mv() documentation for CAR says:
> >> >> "the values of the "inner" variable should reflect the exact time
> >> >> points of the measurement".
> >> >>
> >> >> 1) Does that mean I should use:  "time_meaning_wks | study" OR
> >> >> "time_id | study"?
> >> >
> >> >Use the continuous one time_meaning_wks
> >> >
> >> >> 2) Can I have missing in "time_meaning_wks"?
> >> >
> >> >I assume it will work, just try it, nothing will break.
> >> >
> >> >> 3) Do you possibly have a demonstration showing how to interpret CAR
> >> >> (or any other useful references to read about CAR)?
> >> >
> >> >If you type auto-regressive models into your favourite search engine you
> >> >should find plenty of material. There are a couple of examples of AR
> >> >models in the documentation, see ?rma.mv but neither of them is for a
> >> >continuous covariate.
> >> >
> >> >> Thank you very much,
> >> >> Stefanou
> >> >>
> >> >> On Sat, Oct 9, 2021 at 7:52 AM Viechtbauer, Wolfgang (SP)
> >> >> <wolfgang.viechtbauer using maastrichtuniversity.nl> wrote:
> >> >>>
> >> >>> Indeed. But then struct="CAR" would probably be more
> >appropriate/parsimonious,
> >> >since "UN" will estimate a different tau^2 for every unique week value and a
> >> >different correlation for every possible pair of week values.
> >> >>>
> >> >>> Best,
> >> >>> Wolfgang
> >> >>>
> >> >>>> -----Original Message-----
> >> >>>> From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using r-
> >project.org]
> >> >On
> >> >>>> Behalf Of Michael Dewey
> >> >>>> Sent: Saturday, 09 October, 2021 12:59
> >> >>>> To: Stefanou Revesz; R meta
> >> >>>> Subject: Re: [R-meta] Time as indicator vs time as meaning
> >> >>>>
> >> >>>> Dear Stefanou
> >> >>>>
> >> >>>> I think it would be find to use the continuous version both as fixed and
> >> >>>> random effect.
> >> >>>>
> >> >>>> Michael
> >> >>>>
> >> >>>> On 09/10/2021 05:49, Stefanou Revesz wrote:
> >> >>>>> Dear Meta-Analysis Colleagues,
> >> >>>>>
> >> >>>>> We are meta-analyzing 73 longitudinal studies. But we have doubts
> >> >>>>> amongst us regarding how to combine the longitudinal effects of these
> >> >>>>> studies.
> >> >>>>>
> >> >>>>> On the one hand, if we use time only as an indicator of testing
> >> >>>>> occasions (pre-test and post-tests), and then use it as fixed and
> >> >>>>> random-effect as in:
> >> >>>>>
> >> >>>>> rma.mv(es ~ time_id, random = ~ time_id | study, struct = "UN")
> >> >>>>>
> >> >>>>> then, we have longitudinally combined apples and oranges. That is,
> >> >>>>> time 1 in one study may have covered six months, but time 1 in another
> >> >>>>> study may have covered 6 days. This, we think, is problematic in terms
> >> >>>>> of the interpretation of both the fixed and random-effects of time.
> >> >>>>>
> >> >>>>> So, we have coded for both time_id (testing occasions indicator) and
> >> >>>>> time_meaning_wks (length of actual time up to each testing occasion in
> >> >>>>> weeks).
> >> >>>>>
> >> >>>>> We are wondering how we should incorporate time_meaning_wks into our
> >model?
> >> >>>>>
> >> >>>>> Any help is appreciated,
> >> >>>>> Stefanou
> >> >>>>>
> >> >>>>> study  time_id   time_meaning_wks
> >> >>>>> 1        0             0
> >> >>>>> 1        1             4
> >> >>>>> 1        2             6
> >> >>>>> 2        0             0
> >> >>>>> 2        1             1



More information about the R-sig-meta-analysis mailing list