<div dir="ltr">Hello,<div><br></div><div>Thank you all in advance for your help.  I had two minor issues with my <a href="http://rma.mv">rma.mv</a> models that I wanted to consult with you. </div><div><br></div><div>The first issue is that I am trying to plot regression plots of moderator analyses, but the plot is missing the regression line plus the confidence intervals that I've seen in the examples online.  Here is the code and the graph that is generated. Do you all know why this is happening?</div><div><br></div><div>m_1_pub_yr <- <a href="http://rma.mv">rma.mv</a>(yi = yi, <br>                     V = vi, <br>                     mods = ~ PUBYEAR, <br>                     slab = <a href="http://STUDY.ID">STUDY.ID</a>,<br>                     data = Relationship,<br>                     random = ~ 1 | <a href="http://STUDY.ID/EFFECT_SIZE_ID">STUDY.ID/EFFECT_SIZE_ID</a>, <br>                     test = "t", <br>                     method = "REML")<br><br>summary(m_1_pub_yr, digits=3)<br>predict(m_1_pub_yr)<br>metafor::regplot(m_1_pub_yr, mod="PUBYEAR", pi = TRUE, shade = TRUE, xlim=c(1980, 2022), ylim= c(-0.75, 0.75), predlim=c(-0.75,0.75), xlab="Publication Year", refline=0, labsize=0.9, legend=TRUE)<br>  title(main = "Publication Year & Parent-Child Relationship")<br></div><div><br></div><div><img src="cid:ii_lp1ygly40" alt="image.png" width="542" height="387"><br></div><div><div><br></div><div>The second issue is that I am trying to calculate tau^2 as per requested by the reviewers.  How does one do this?  Right now we have the following code to determine I^2 but the reviewers want tau^2 as well:<br><br>m_3 <- <a href="http://rma.mv">rma.mv</a>(yi = yi, <br>                     V = vi, <br>                     slab = AUTHOR,<br>                     data = Control,<br>                     random = ~ 1 | <a href="http://STUDY.ID/EFFECT_SIZE_ID">STUDY.ID/EFFECT_SIZE_ID</a>, <br>                     test = "t", <br>                     method = "REML")<br><br>i2_3 <- var.comp(m_3)<br></div><div><br></div><div>Thank you for your help!</div><div><br></div><div>Best,</div><div>Tori</div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><div><font face="arial, helvetica, sans-serif" color="#000000"><span style="font-size:small"><b><span>Tori</span> Peña, Ph.D. </b>(she/her/ella)</span><br></font></div><div><font face="arial, helvetica, sans-serif" color="#000000">Cognitive Psychology</font></div><div><font face="arial, helvetica, sans-serif" color="#000000">Dept. of Psychology</font></div><div><font face="arial, helvetica, sans-serif" color="#000000">Stony Brook University</font></div><div><font face="arial, helvetica, sans-serif" color="#000000">Stony Brook, NY 11790-2500</font></div></div><img src="http://www.stonybrook.edu/sb/email/images/SBU_signature.gif" alt="Stony Brook University logo" style="color:rgb(80,0,80)"><br></div></div></div></div></div></div></div>