Displaying 1 result from an estimated 1 matches for "senegal5".
Did you mean:
senegal
2010 Dec 03
2
difference between linear model & scatterplot matrix
...able.
I mean, variables that appear correlated with dependent variable in the matrix result not correlated in the summary of linear model, and vice versa. Have I made a mistake in the interpretation of the result, or not?
Thank you in advance,
Francesco
#command for matrix-plot
>dta <-
senegal5[c( 2,4,5,6,7,8,9,13,15,17,21,
39,44,45)]
>dta.r <-
abs(cor(dta))
>dta.col
<- dmat.color(dta.r)
>dta.o <-
order.single(dta.r)
>cpairs(dta,
dta.o, panel.colors=dta.col, gap=.5,
>main="Variables Ordered and Colored by
Correlation")
#command for linear model and...