<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thanks for your helpful responses! I will quickly add a follow-up
      question regarding implementation: Previously (before accounting
      for dependencies within studies), my code looked like this:<br>
    </p>
    <p>        res <- rma.mv(yi, dat$V, mods = ~ var1var2 - 1, random
      = ~ var1var2 | id, struct="UN", data=dat$dat)</p>
    <p>Here, I investigate whether the correlation with a criterion
      variable differs between two predictors. Now, I have some studies
      with independent samples (different age groups), while I have
      other studies with different criterion variables within the same
      sample (different measures). If I wanted to introduce both
      dependencies, I believe I could change the code as follows:</p>
    <p>        res <- rma.mv(yi, dat$V, mods = ~ var1var2 - 1, random
      = list(~ var1var2 | id, ~sample | id, ~measure | id),
      data=dat$dat)</p>
    <p>Three concerns: First, is "sample | id" or "id | sample"
      appropriate? Second, metafor tells me I can only have to random
      factors (<span class="GGHFMYIBGOB ace_constant">"Only up to two '~
        inner | outer' formulas allowed in the 'random' argument").
        Which should I drop or is there a workaround? Third, I'm
        somewhat worrying I might be overfitting. Is this a legit worry?
        <br>
      </span></p>
    <p><span class="GGHFMYIBGOB ace_constant">Best, Anna-Lena<br>
      </span></p>
    <div class="moz-cite-prefix">Am 13.12.2018 um 16:01 schrieb Guido
      Schwarzer:<br>
    </div>
    <blockquote type="cite"
      cite="mid:40b7e18c-2735-dcce-b1ae-eb0a5b7e340f@imbi.uni-freiburg.de">Hi,
      <br>
      <br>
      I got this wrong (and gave a nice answer for a different
      question).
      <br>
      <br>
      See Wolfgang's email for the correct answer.
      <br>
      <br>
      Best wishes, Guido
      <br>
      <br>
    </blockquote>
    <div class="moz-signature">-- <br>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Signatur</title>
      <style type="text/css">
.auto-style1 {
        font-weight: normal;
}
.auto-style2 {
        font-weight: normal;
        font-family: Arial;
        border-bottom-style: solid;
        border-bottom-width: 1px;
        padding-bottom: 1px;
}
.auto-style3 {
        font-family: Arial, Helvetica, sans-serif;
}
.auto-style4 {
        font-size: small;
}
</style>
      <h3 class="auto-style2">Dr. Anna-Lena Schubert</h3>
      <p style="line-height: 1;"><img
          src="cid:part1.7ED96202.F1B132C8@psychologie.uni-heidelberg.de"
          data-filename="Logo_Diff.png" style="width: 215.5px; float:
          right; height: 49.9136px;"><font class="auto-style3"><span
            class="auto-style1"><span class="auto-style4">Postdoc at
              Section of Personality</span><br class="auto-style4">
            <span class="auto-style4">Heidelberg University - Institute
              of Psychology</span></span></font></p>
      <pre style="line-height: 1;">Hauptstraße 47-51
<span style="line-height: 1;">D-69117 Heidelberg 
</span><span style="line-height: 1;">Germany</span></pre>
      <pre style="line-height: 1;">Phone: +49 6221 54 7746
Mail: <a class="moz-txt-link-abbreviated" href="mailto:anna-lena.schubert@psychologie.uni-heidelberg.de">anna-lena.schubert@psychologie.uni-heidelberg.de</a>
Web: <a class="moz-txt-link-freetext" href="http://www.psychologie.uni-heidelberg.de/ae/diff/diff/people-schubert.html">http://www.psychologie.uni-heidelberg.de/ae/diff/diff/people-schubert.html</a></pre>
    </div>
  </body>
</html>