That is odd. I just ran that command on a dset I had, and it worked fine.
To check one thing---in some shells, you need to have quotes around the square brackets so they don't get interpreted. For example, trying this:
3dcalc -a ~path/tmp_ttest_results_n-26+tlrc"" -expr 'tanh(a)' -prefix corr
Besides that... Hmm. can you verify that:
3dcalc -a ~path/tmp_ttest_results_n-26+tlrc"" -expr 'a' -prefix test_copy
... copies your dataset?
Separately, I am not sure that it is necessary to convert Z to r for interpretation---many readers would be happy enough with Z? But regardless, it would be good to resolve what is happening on the commmand line here.
Apologies, it does indeed work - I think I just didn't load the corr file in correctly, because I just did "afni corr" instead of "afni corr*".
Separately, I am not sure that it is necessary to convert Z to r for interpretation---many readers would be happy enough with Z? But regardless, it would be good to resolve what is happening on the command line here.
Thank you for raising this! It's my first neuroimaging project.. I do find the Z values to be more informative, but was worried that I couldn't refer to the results as bb correlations..
OK, cool. I'm not sure what 'bb corrrelations' are, but I think it is find to just call them Z-scores.
Actually, it is probably more accurate to leave them as Z-scores? If they are coming from model coefficients, wouldn't they be the Z-score value, like the limiting case of an infinite degree of freedom t-test? That is a different thing than a Fisher Z transform of a Pearson correlation r. For example, Pearson correlation r is itself an estimator, and has an uncertainty (which can be expressed, under some assumptions, as a function of the degrees of freedom of the time series that went into it). The Z-score is itself simply a statistic, that's it.
I am not sure which kind of Z you are starting with, but I think there are distinct cases to consider.
Z scores I'm thinking of specifically are the ones coming from the Z maps that 3dttest++ produces by default? I was particularly interested in the ones that survive cluster correction, but now that I think about it the ones that do have such a high Z-value usually that Fisher transforming them doesn't provide a particularly nuanced picture..
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human