sumSqCat:
Weighted sum of squared deviations by category, SSC, statistic.
Description
Compute the weighted sum of squared deviations of the group or category
response means from the average background.
Usage
sumSqCat(resp, groups, backMean)
Arguments
resp
response values
groups
grouping variables (will be treated as factors)
backMean
mean of background values
Value
weighted sum of squared deviations of group means from background
Details
The SSC statistic is the primary test statistic developed for the
changes from background test (CBT) developed in Steinmetz & Thorp (2013).
References
Steinmetz, P.N. & Thorp, C.K. (2013) Testing for effects of different stimuli on neuronal firing relative to background activity. Journal of Neural Engineering, in review.