Dear Statalist-Users,
I am running a looped correlation. x(1)-x(14) is pairwise correlated with Neg.
This is the code, I use for the correlations:
foreach x of varlist x1- x14 {
pwcorr `x' Neg , sig star(0.1)
}
Now I wish to plot the results, each x with it's correlation coefficient.
I don't know, how to adress the correlation-results.... Maybe save in new variable? But how?
Any help is highly appreciated.
Magdalena
I am running a looped correlation. x(1)-x(14) is pairwise correlated with Neg.
This is the code, I use for the correlations:
foreach x of varlist x1- x14 {
pwcorr `x' Neg , sig star(0.1)
}
Now I wish to plot the results, each x with it's correlation coefficient.
I don't know, how to adress the correlation-results.... Maybe save in new variable? But how?
Any help is highly appreciated.
Magdalena
Comment