Hi Tongxiao, <div><br></div><div>Well, the error message pretty much says it all. You have too many parameters to fit and too few data samples. I presume that you have only single-trial data and you are either trying to fit the multivariate model to a very large number of channels/sources or your model order is very large. The first thing you might do is try selecting fewer channels/sources. </div>

<div><br></div><div>For more details on data limitations please see:</div><div><br></div><div><a href="http://sccn.ucsd.edu/wiki/Chapter_6.6._Model_Fitting_and_Validation#6.6.1.3._Sufficient_amount_of_data">http://sccn.ucsd.edu/wiki/Chapter_6.6._Model_Fitting_and_Validation#6.6.1.3._Sufficient_amount_of_data</a><br>

</div><div><br></div><div>A second option is to use a regularized VAR model (e.g. ridge regression or sparse VAR model fitting) which allows you to fit models with many more parameters than data samples. Please contact me directly, if you want to pursue this route.<br>

</div><div><br></div><div>Best,</div><div><br></div><div>Tim</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 26, 2012 at 7:17 PM,  <span dir="ltr"><<a href="mailto:mengtongxiao@sina.com" target="_blank">mengtongxiao@sina.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
<div>Dear all,</div>
<div> </div>
<div><font style="LINE-HEIGHT:150%;FONT-SIZE:14px"><span>when I do the modle order selection,</span></font></div>
<div><font style="LINE-HEIGHT:150%;FONT-SIZE:14px"><span>the command windows told me that,</span></font></div>
<div><font style="LINE-HEIGHT:150%;FONT-SIZE:14px"><span></span></font> </div>
<div><em>EERORRatio of number of parameters to datapoints is 229.643.</em></div>
<div><em> The ratio of number of parameters to datapoints must be <=1. </em></div>
<div><em>your window length must be at least 114.822sec</em></div>
<div> </div>
<div>But my data length is 96 sec. </div>
<div>what should i do? </div>
<div>thanks,</div>
<div><span>Look</span> <span>forward,</span></div>
<div>tongxiao</div></div><br>_______________________________________________<br>
Eeglablist page: <a href="http://sccn.ucsd.edu/eeglab/eeglabmail.html" target="_blank">http://sccn.ucsd.edu/eeglab/eeglabmail.html</a><br>
To unsubscribe, send an empty email to <a href="mailto:eeglablist-unsubscribe@sccn.ucsd.edu">eeglablist-unsubscribe@sccn.ucsd.edu</a><br>
For digest mode, send an email with the subject "set digest mime" to <a href="mailto:eeglablist-request@sccn.ucsd.edu">eeglablist-request@sccn.ucsd.edu</a><br></blockquote></div><br><br clear="all"><div><br></div>

-- <br>---------  αντίληψη -----------<br>
</div>