spm_P: SPM: Returns the [un]corrected P value using unifed EC theory

Description Usage Arguments Value See Also

Description

spm_P determines corrected and uncorrected p values, using the minimum of different valid methods.

See the individual methods for details

Usage

1
FORMAT [P p Ec Ek] = spm_P(c,k,Z,df,STAT,R,n,S)

Arguments

c

- cluster number

k

- extent RESELS

Z

- height minimum over n values

df

- [dfinterest dferror]

STAT

- Statistical field: 'Z' - Gaussian field, 'T' - T - field, 'X' - Chi squared field, 'F' - F - field, 'P' - Posterior probability

R

- RESEL Count defining search volume

n

- number of component SPMs in conjunction

S

- Voxel count

Value

A list containing: P - corrected P value - P(C >= c | K >= k), p - uncorrected P value, Ec - expected total number of clusters and Ek - expected total number of resels per cluster

See Also

spm_P_RF

spm_P_Bonf


jpellman/spmR documentation built on May 19, 2019, 10:44 p.m.