|
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; } Hi everyone, I am a student working on an assignment fon Multipel Regression and Partial Correlations using a correlation matrix only, no data file. I am running SPSS 16. Below is my proposed syntax. However I have an error that I am not able to correct. I have used the SPSS syntax help. However still not working. Can anyone help me get unstuck? I would greatly appreciate it. And learn from it. N=500 5 Variables x1,x2,x3,x4,x5 matrix data variables= x1 x2 x3 x4 x5/ contents= n mean stdev corr. begin data 500 500 500 500 500 0 0 0 0 0 1 1 1 1 1 1.00 .35 1.00 .40 .15 1.00 .52 .37 .31 1.00 .48 .40 .50 .46 1.00 end data. execute. regression matrix=in (*)/var=x1 to x5/stat=all/ dep=x1/enter x2/ enter x3/. PARTIAL GET matrix=in (*)/. VARIABLES= CORR x1 with x3 by x2/stat=all. regression matrix=in (*)/var=x1 to x5/stat=all/ dep=x1/enter x2 x3 /enter x4/. PARTIAL GET matrix=in (*)/. VARIABLES= CORR x1 with x4 by x2 x3/stat=all. ====================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 |
|
The procedure name is PARTIAL CORR.
Place your cursor on that command and use the f1 key. It looks as if you just had a glitch in your editing. I don't know where the "GET" came from. Art Kendall Social Research Consultants C Mazzotta wrote: > > > BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; } > Hi everyone, > > I am a student working on an assignment fon Multipel Regression and > Partial Correlations using a correlation matrix only, no data file. > > I am running SPSS 16. Below is my proposed syntax. However I have > an error that I am not able to correct. > > I have used the SPSS syntax help. However still not working. Can > anyone help me get unstuck? I would greatly appreciate it. And learn > from it. N=500 5 Variables x1,x2,x3,x4,x5 > > matrix data variables= x1 x2 x3 x4 x5/ > contents= n mean stdev corr. > begin data > 500 500 500 500 500 > 0 0 0 0 0 > 1 1 1 1 1 > 1.00 > .35 1.00 > .40 .15 1.00 > .52 .37 .31 1.00 > .48 .40 .50 .46 1.00 > end data. > execute. > regression matrix=in (*)/var=x1 to x5/stat=all/ > dep=x1/enter x2/ enter x3/. > PARTIAL > GET matrix=in (*)/. > VARIABLES= CORR x1 with x3 by x2/stat=all. > regression matrix=in (*)/var=x1 to x5/stat=all/ > dep=x1/enter x2 x3 /enter x4/. > PARTIAL > GET matrix=in (*)/. > VARIABLES= CORR x1 with x4 by x2 x3/stat=all. > > > =================== > 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 > > > ===================== 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 |
| Free forum by Nabble | Edit this page |
