History of AFNI updates  

|
July 22, 2016 11:34AM
Greetings everyone,

I have a quick question on generating p-values from datasets in AFNI.

I have a 3 3dDatasets. One dataset contains coefficients (X), one contains the mean (Mu), the other contains standard deviation (SD). I would like to get the corresponding p-value (2-tailed) for these values. I've modeled my 3dcalc code after SAS commands, where the pvalues would correspond to one half of the distribution as:

2*stat2cdf(X,11,mu,SD,0) \

and the other half is:

2*(1-stat2cdf(X,11,mu,SD,0) \

depending on whether or not X is greater than Mu or not.

My question is, am I using the 3dcalc command correctly here, or am I overcomplicating the cdf command? I would use code 2 , but the coeffecient is not a correlation coeffecient.

Thank you and apologies if I am being confusing!
Cheers,
~Nate
Subject Author Posted

Generating p-values from datasets

Nathaniel Harnett July 22, 2016 11:34AM

Re: Generating p-values from datasets

gang July 25, 2016 10:29AM

Re: Generating p-values from datasets

Nathaniel Harnett July 27, 2016 12:16PM

Re: Generating p-values from datasets

gang July 28, 2016 09:14AM

Re: Generating p-values from datasets

Nathaniel Harnett July 28, 2016 04:09PM