Hi Art. Please note too that Karl Wuensch and I published an article in 2013
describing all of the common methods for comparing correlations (and
regression coefficients). I contributed SPSS code, and Karl contributed SAS
code. You can find the code at the first two links below and the article at
the 3rd:
https://sites.google.com/a/lakeheadu.ca/bweaver/Home/statistics/spss/my-spss-page/weaver_wuensch
http://core.ecu.edu/psyc/wuenschk/W&W/W&W-SAS.htm
https://link.springer.com/article/10.3758%2Fs13428-012-0289-7
In 2014, Ray Koopman and I published another article describing a macro to
compute CIs for Pearson correlations. (I should not say this, as it will
likely cost me some citations, but Jon Peck has since written a nice Python
extension command that you might want to use instead. It's called STATS
CORRELATIONS, IIRC.) ;-)
https://www.tqmp.org/RegularArticles/vol10-1/p029/p029.pdf
https://sites.google.com/a/lakeheadu.ca/bweaver/Home/statistics/spss/my-spss-page/rhoci
While we were working on that article, Ray taught me that Fisher's r-to-z
transformation is really the inverse hyperbolic tangent, and the
back-transformation is the hyperbolic tangent. SPSS does not have those
functions, but Ray showed me that one can get them by using IDF.LOGISTIC()
and CDF.LOGISTIC() functions. Here are several comment lines from my !rhoCI
macro definition file that describe the basic equations:
* The macro uses the following basic equations.
* Zr = arctanh[r] <==> r = tanh[Zr]
* d = z_alpha / sqrt[n-3]
* t = tanh[d]
* tanh[Zr] +- tanh[d] r +- t
* ci = tanh[Zr +- d] = --------------------- = --------
* 1 +- tanh[Zr]*tanh[d] 1 +- r*t
* The rightmost term in the last equation works even when r = +1 or -1.
* SPSS has no tanh and arctanh functions.
* HOWEVER, one can use IDF.LOGISTIC and CDF.LOGISTIC as follows:
* arctanh[r] = .5*ln((1+r)/(1-r)) = .5*idf.logistic((1+r)/2,0,1)
* tanh[d] = (exp(2*d)-1)/(exp(2*d)+1) = 2*cdf.logistic(2*d,0,1)-1
* SOURCES:
*
http://people.math.sfu.ca/~cbm/aands/page_83.htm (see Equation 4.5.26).
*
http://people.math.sfu.ca/~cbm/aands/intro.htm#001 .
Art Kendall wrote
> I do not have access to Psychological methods these days.
> Fisher's Z has been discussed on this list previously.
> In the archives Bruce said
> COMPUTE rprime = 0.5*ln((1+r)/(1-r)).
>
> In 2006 Marta posted macros to compare correlations.
> Search ‘comparing correlations’ in the archives
> If you have the article and you have the formulae in Excel, why not do
> everything directly in SPSS?
>
> Start with the center of what you want, an example 4 by R matrix. Work
> out
> what you would do. Then generalize with OMS, Python, or macro.
>
>
>
>
> -----
> Art Kendall
> Social Research Consultants
> --
> Sent from:
http://spssx-discussion.1045642.n5.nabble.com/
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> LISTSERV@.UGA
> (not to SPSSX-L), with no body text except the
> command. To leave the list, send the command
> SIGNOFF SPSSX-L
> For a list of commands to manage subscriptions, send the command
> INFO REFCARD
-----
--
Bruce Weaver
[hidden email]
http://sites.google.com/a/lakeheadu.ca/bweaver/
"When all else fails, RTFM."
NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.
--
Sent from:
http://spssx-discussion.1045642.n5.nabble.com/
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD