<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I have been looking at the population structure of whitefish in a small lake area. I used xvalDapc to determine the optimal number of PCs to retain for the dapc analysis. When I look at the output from this xval command I see that the following:</div><div class=""><br class=""></div><div class=""><div class="">$`Median and Confidence Interval for Random Chance`</div><div class="">      2.5%        50%      97.5% </div><div class="">0.08354526 0.12267036 0.17258877 </div><div class=""><br class=""></div><div class="">$`Mean Successful Assignment by Number of PCs of PCA`</div><div class="">       20        40        60        80       100       120       140       160       180 </div><div class="">0.1319444 0.1694444 0.1680556 0.1875000 0.2013889 0.1291667 0.1666667 0.1250000 0.1125000 </div><div class=""><br class=""></div><div class="">$`Number of PCs Achieving Highest Mean Success`</div><div class="">[1] "100"</div><div class=""><br class=""></div><div class="">$`Root Mean Squared Error by Number of PCs of PCA`</div><div class="">       20        40        60        80       100       120       140       160       180 </div><div class="">0.8704578 0.8361065 0.8360719 0.8177360 0.8051124 0.8730468 0.8389395 0.8772458 0.8905042 </div><div class=""><br class=""></div><div class="">$`Number of PCs Achieving Lowest MSE`</div><div class="">[1] "100"</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">From this I have interpreted that I should use 100 PCs. From there when I run the dapc with 100 PCs and then look at output from summary(dapc) I have an assignment probability of 0.8701923. Where I am confused is how to interpret the â€œMean Successful Assignment” from the above output. Does this also correspond to the assignment to populations? If so, is it more accurate to assume that the assignment probability is 0.2013889?</div><div class=""><br class=""></div><div class="">Thanks,</div><br class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span style="text-align: -webkit-auto;" class="">Carly Graham</span></div><div class="">PhD Candidate</div><div class="">University of Regina</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></body></html>