Appreciate if someone shall provide a syntax that generates correlation matrix that contains only the Pearson r and the flags (*, **, ***), similar below:
=====================
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
Manual use of the pivot is tedious because I need to generate a matrix per group for 20 groups. Thank you for your help. Lema |
Try this: FACTOR /VARIABLES=x1 x2 x3 x4 /PRINT CORRELATION /ROTATION NOROTATE . Best, Jeff From: SPSSX(r) Discussion <[hidden email]> On Behalf Of 3J LEMA Appreciate if someone shall provide a syntax that generates correlation matrix that contains only the Pearson r and the flags (*, **, ***), similar below:
Manual use of the pivot is tedious because I need to generate a matrix per group for 20 groups. Thank you for your help. Lema ===================== 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 |
if the 20 groups are mutually exclusive, you could first use something like
SPLIT FILE BY Groups. Depending on the meaning of your grouping it might be interesting to explore via an Individual Differences Multidimensional Scaling in SPSS. This is often a way to explore a set of {correlation, similarity, proximity, distance} matrices. ----- 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 [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
Art Kendall
Social Research Consultants |
In reply to this post by 3J LEMA
You haven't said what your purpose is, but if it an issue of displaying these correlations, you might want to format them further. This extension command code will tidy up a correlation matrix computed by the CORRELATION procedure. It can be run once with PROCESS=ALL if you have a batch of these to format. This code hides the counts and the upper triangle and does other useful things. SPSSINC MODIFY TABLES SUBTYPE='"'Correlations'"' SELECT=0 DIMENSION=ROWS PROCESS=PRECEDING /styles customfunction= "formatcorrmat.cleancorr(hidecounts=True, hidel=True, lowertri=True, hideinsig=1., emphlarge=.5, "+ "boldsig=.05)". On Sat, Jun 6, 2020 at 7:20 PM 3J LEMA <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |