Re: Software to create 3-D scatterplot with regression plane
- From: Art Kendall <Arthur.Kendall@xxxxxxxxxxx>
- Date: Thu, 24 May 2007 21:30:20 GMT
SPSS's IGRAPH procedure does this.
There is example syntax below.
After running the syntax, click on the output so that the thumb wheels to rotate the image appear.
The first procedure fits a regression plane. The second fits a smoother curve. You can also color and or use markers for the points.
GET
FILE='C:\Program Files\SPSS15\Cars.sav'.
IGRAPH /VIEWNAME='Scatterplot' /X1 = VAR(weight) TYPE = SCALE /Y = VAR(mpg) TYPE = SCALE /X2 = VAR(engine) TYPE = SCALE /COLOR =
VAR(cylinder) TYPE = CATEGORICAL /COORDINATE = THREE /FITLINE METHOD = MEAN INTERVAL(95.0) LINE = TOTAL SPIKE=OFF /X1LENGTH=3.0
/YLENGTH=3.0 /X2LENGTH=3.0 /CHARTLOOK='NONE' /CATORDER VAR(cylinder) (ASCENDING VALUES OMITEMPTY) /SCATTER COINCIDENT = NONE.
EXE.
IGRAPH /VIEWNAME='Scatterplot' /X1 = VAR(weight) TYPE = SCALE /Y = VAR(mpg) TYPE = SCALE /X2 = VAR(engine) TYPE = SCALE
/COORDINATE = THREE /FITLINE METHOD = LLR NORMAL BANDWIDTH = FAST X1MULTIPLIER = 1.00 X2MULTIPLIER = 1.00 LINE = TOTAL
SPIKE=OFF /X1LENGTH=3.0 /YLENGTH=3.0 /X2LENGTH=3.0 /CHARTLOOK='NONE' /SCATTER COINCIDENT = NONE.
EXE.
Art Kendall
Social Research Consultants
Bruce Weaver wrote:
Can anyone recommend software that will create a nice looking 3-D scatter-plot (two predictors, one outcome) and display the regression plane? A free standalone package would be ideal. Does KY-Plot do this?.
Thanks,
Bruce
- References:
- Software to create 3-D scatterplot with regression plane
- From: Bruce Weaver
- Software to create 3-D scatterplot with regression plane
- Prev by Date: Re: Software to create 3-D scatterplot with regression plane
- Next by Date: How to evaluate the propability distribution of two dices?
- Previous by thread: Re: Software to create 3-D scatterplot with regression plane
- Next by thread: Re: Software to create 3-D scatterplot with regression plane
- Index(es):
Relevant Pages
|