14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

502 Performing Discriminant Analysis Chapter 20<br />

Comm<strong>and</strong>s <strong>and</strong> Options<br />

Figure 20.9 Specify Prior Probabilities Dialog<br />

Consider New Levels is used when you have some points that may not fit any known group, but instead<br />

may be from an unscored, new group.<br />

Save Discrim Matrices creates a global list (DiscrimResults) for use in the JMP scripting language. The<br />

list contains a list of YNames, a list of XNames, a list of XValues, a matrix of YMeans, <strong>and</strong> a matrix of<br />

YPartialCov (covariances). An example from the iris data DiscrimResults is<br />

{YNames = {"Sepal length", "Sepal width", "Petal length", "Petal Width"},<br />

XName = "Species", XValues = {"setosa", "versicolor", "virginica"}, YMeans<br />

= [5.005999999999999 3.428000000000001 1.462 0.2459999999999999, 5.936 2.77<br />

4.26 1.326, 6.587999999999998 2.974 5.552 2.026], YPartialCov =<br />

[0.2650081632653061 0.09272108843537413 0.1675142857142858<br />

0.03840136054421769, 0.09272108843537413 0.1153877551020407<br />

0.055243537414966 0.03271020408163266, 0.1675142857142858 0.055243537414966<br />

0.1851877551020409 0.04266530612244898, 0.03840136054421769<br />

0.03271020408163266 0.04266530612244898 0.04188163265306122]}<br />

Get Discrim Matrices, only available through scripting, obtains the same values as Save Discrim<br />

Matrices, but returns them to the caller rather than storing them in the data table.<br />

Show Within Covariances shows or hides the Covariance Matrix report. The report for this example is<br />

shown in Figure 20.10.<br />

Figure 20.10 Covariance Matrix Report

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!