[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Scatterplot matrix
. 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
. 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.
> 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: