<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi ADMB community,<div><div>I'm working on an MAR(1) model. I need to compute the variance of the stationary distribution using the Vec operator and the Kronecker or direct matrix product. </div><div>I'm tying to compute equation 17 from the paper "ESTIMATING COMMUNITY STABILITY AND ECOLOGICAL INTERACTIONS FROM TIME-SERIES DATA" by A.R. Ives, B. Dennis, K. L. Cottingham, and S.R. Carpenter (2003)</div><div>It defines these as follows...</div><div><br></div><div>"<span class="Apple-style-span" style="font-size: 13px; ">The operation Vec(A) creates a column vector out of any matrix A by stacking columns of A on top of each other, with the first column on the top and the last column on the bottom. The often-handy algebra of the Vec operator is reviewed by Searle </span><span class="Apple-style-span" style="font-size: 13px; ">(1982)</span><span class="Apple-style-span" style="font-size: 13px; ">"</span></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Times; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Times; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: 13px; ">"The Kronecker or direct matrix product of M and N is formed by scalar multiplying N in turn by each element of M and arranging the results into a large matrix."</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Times; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Times; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: 13px; ">I was wondering, has anyone in the community written code for these operators, and or coded an MAR(1) model? Would you be willing to share?</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Times; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: 13px; ">thanks,</span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Times; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: 13px; ">Mollie</span></font></div></div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 9px/normal Times; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: 13px; "><br></span></font></div><div>
<span class="Apple-style-span" style="border-collapse: separate; 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-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; 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-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Mollie Brooks<br>Postdoctoral Researcher, Ponciano Lab<br>Biology Department, University of Florida<br><a href="http://people.biology.ufl.edu/mbrooks">http://people.biology.ufl.edu/mbrooks</a><br><br></div></span></span>
</div>
<br></body></html>