Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Scatterplot matrix

From   "Nick Cox" <>
To   <>
Subject   st: RE: Scatterplot matrix
Date   Fri, 7 May 2004 12:48:05 +0100

. graph matrix ... 

Actually, there's a wrinkle here
which I think is worth spelling out. 

Presuming that your response variable 
is y and the others are covariates, the 

. graph matrix x1 x2 x3 x4 y 

ensures that the bottom line of graphs 
all have y as vertical axis variable 
and the various x* as horizontal axis
variables. You may agree with me in 
preferring this arrangement to that 
produced by 

. graph matrix y x1 x2 x3 x4 

So mention the response _last_ 
(clearly, the opposite of what you must
do with e.g. -regress-). 

When you are unsure of command names, 

. search graph matrix 

(e.g.) will point towards them. 

TELHAJ {Shqiponje|Shqiponja} 
> After a regress command with -robust- and -cluster- option I used a
> Ramsey test (-ovtest, rhs) which suggested that there are higher order
> trends, but omitted from the regression model.  I was trying to use a
> scatterplot matrix to look at higher order trends.
> As I remember in Stata 7, the command for this was:
> Graph y x1 x2 x3 x4, matrix

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index