<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Kaufmann Bd BT";}
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
{font-family:"Segoe UI Symbol";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texte de bulles Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:"Courier New";
mso-fareast-language:EN-CA;}
span.gghfmyibcpb
{mso-style-name:gghfmyibcpb;}
span.gghfmyibcob
{mso-style-name:gghfmyibcob;}
span.TextedebullesCar
{mso-style-name:"Texte de bulles Car";
mso-style-priority:99;
mso-style-link:"Texte de bulles";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Dear metafor users,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I downloaded the data set (i.e., p154-dataset.csv) from Assinka and Wibbelink (2016) available from
<a href="http://www.tqmp.org/RegularArticles/vol12-3/p154/p154.pdf">http://www.tqmp.org/RegularArticles/vol12-3/p154/p154.pdf</a><o:p></o:p></p>
<pre><o:p> </o:p></pre>
<p class="MsoNormal">The model is:<o:p></o:p></p>
<p class="MsoNormal"><o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="1435" style="width:861.0pt;background:white">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 6.0pt 4.5pt">
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">> multiplemoderator <- rma.mv(y, v, mods = ~ pyear + typeovert + typecovert,
<o:p></o:p></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">+ random =list(~ 1 | effectsizeID, ~ 1 | studyID),
<o:p></o:p></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">+ tdist=TRUE, data=dataset)<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 6.0pt 4.5pt"></td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 6.0pt 4.5pt">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="1435" style="width:861.0pt">
<tbody>
<tr>
<td width="1" valign="top" style="width:.6pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-line-height-alt:0pt"><span style="font-size:12.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To plot standardized residuals, I do:<o:p></o:p></p>
<p class="MsoNormal">
<o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="1443" style="width:865.5pt;background:white">
<tbody>
<tr>
<td valign="top" style="padding:0cm 0cm 6.0pt 4.5pt">
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">> #### STD residuals ###<o:p></o:p></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">> par(mfrow=c(1,1))<o:p></o:p></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">> plot(fitted(multiplemoderator), rstandard(multiplemoderator)$z, pch=19)<o:p></o:p></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">> abline(h=0)<o:p></o:p></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">> which(rstandard(multiplemoderator)$z > 3)<o:p></o:p></span></p>
<p class="MsoNormal" style="word-break:break-all"><span style="font-size:10.0pt;font-family:"Lucida Console";color:black;mso-fareast-language:EN-CA">integer(0)<o:p></o:p></span></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 6.0pt 4.5pt"></td>
</tr>
<tr>
<td valign="top" style="padding:0cm 0cm 6.0pt 4.5pt">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="1435" style="width:861.0pt">
<tbody>
<tr>
<td width="1" valign="top" style="width:.6pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-line-height-alt:0pt"><span style="font-size:12.0pt;font-family:"Lucida Console";color:blue;mso-fareast-language:EN-CA">>
<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="mso-fareast-language:EN-CA"><img border="0" width="717" height="567" id="Image_x0020_1" src="cid:image003.jpg@01D31803.E115D7F0"></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Recently, Dr Viechtbauer reported the following:<o:p></o:p></p>
<pre><o:p> </o:p></pre>
<pre style="margin-left:36.0pt">By the way, there is now also rstudent() for 'rma.mv' objects (also with a 'cluster' argument, option for parallel processing, and 'reestimate' argument). Also, rstandard() now has a cluster argument. When using the cluster argument with rstandard() and rstudent(), the functions also compute cluster-level multivariate (internally or externally) standardized residuals. So, all of the tools are there for proper outlier diagnostics in 'rma.mv' models (i.e., one can check for outlying estimates and clusters).<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What should I write in metafor to plot rstandard and rstudent values for each cluster separately.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Roger <span style="font-family:"Segoe UI Symbol","sans-serif"">
☺<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:13.5pt;font-family:"Kaufmann Bd BT";color:navy;mso-fareast-language:FR-CA">Roger Martineau, mv Ph.D.</span><span lang="FR-CA" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA">Centre de recherche et de développement</span><span lang="FR-CA" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA">sur le bovin laitier et le porc</span><span lang="FR-CA" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA">Agriculture et agroalimentaire Canada/Agriculture and Agri-Food Canada</span><span lang="FR-CA" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA">Téléphone/Telephone: 819-780-7319</span><span lang="FR-CA" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CA" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA">Télécopieur/Facsimile: 819-564-5507</span><span lang="FR-CA" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA">2000, Rue Collège / 2000, College Street</span><span lang="EN-US" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA">Sherbrooke (Québec) J1M 0C8</span><span lang="EN-US" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA">Canada</span><span lang="EN-US" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR-CA"><a href="mailto:roger.martineau@agr.gc.ca"><span style="color:blue">roger.martineau@agr.gc.ca</span></a></span><span lang="EN-US" style="mso-fareast-language:FR-CA"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-CA"> <o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>