string">'tstat'</span>,<span class="string">'yhat'</span>};
0031 stats = regstats(y,x,<span class="string">'linear'</span>, whichstats);
0032 
0033 <span class="comment">% mean cross-section line slope and intercept</span>
0034 V.m = stats.tstat.beta(2);
0035 V.b = stats.tstat.beta(1);
0036 
0037 clear x y stats whichstats zi</pre></div>
<hr><address>Generated on Wed 27-Jun-2018 12:51:54 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> &copy; 2005</add