[Master Index] [Index for export/lyngby]

lyngby_ts_main

(export/lyngby/lyngby_ts_main.m)


Function Synopsis

[Prob,T] = lyngby_ts_main(P, X, arg1, arg2, arg3, arg4)

Help text

 lyngby_ts_main       - Whole volume Student's t-test for equal variances.

       function [Prob,T] = lyngby_ts_main(P, X, 'PropertyName',
          'PropertyValue') 
      
       Input:    P         Paradigm
                 X         Datamatrix

       Property: EdgeDrop  The number of scans to discard at the
                           transitions of the paradigm

       Output:   Prob      Probability (p-value)
                 T         Student's unpaired t-value

       This function gives the probability that Student's t
       calculated on data X1 and X2, sampled from distributions
       with the same variance, is higher than observed, i.e.
       the "significance" level. This is used to test whether
       two sample have significantly different means.
       The whole volume is tested (compare with lyngby_ts_ttest)
       and X1 are taken from the on-periods and X2 from the off-periods.
       A number of scans (edgedrop) can be left out of the analysis
       in order to accommodate to the heamodynamical response time.

       The smaller P is, the more significant the difference between
       the means. E.g. if P = 0.05 or 0.01, it is very likely that
       the two sets are sampled from distributions with different
       means.

       This assumes that the samples are drawn from distributions with
       the SAME VARIANCE. The test is unpaired.

       See also: LYNGBY, LYNGBY_TS_TTEST, LYNGBY_TS_UTTEST,
                 LYNGBY_TS_PTEST, LYNGBY_BAT_TEST.

 $Id: lyngby_ts_main.m,v 1.10 2002/11/18 17:48:01 fnielsen Exp $

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Jul 29 15:43:40 2009
Cross-Directory links are: OFF