rsquared

R2 and adjusted R2 statistics

Syntax

   [RSQ,RSQADJ] = rsquared(X,E)

Arguments

See also Common variable names and data structures.

input

   X          multi-trial time series data
   E          residuals time series

output

   RSQ        R^2 statistic
   RSQADJ     adjusted R^2 statistic

Description

Return R2 and adjusted R2 statistics. The time series data X and residual errors E may be single- or multi-trial time series.

See also

mvgc_demo_stats

Copyright notice

[(C)] Lionel Barnett and Anil K. Seth, 2012. See file license.txt in root directory for licensing terms.