discrim output

Upload: dkanand86

Post on 13-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 Discrim Output

    1/24

    The SAS System

    The DISCRIM Procedure

    Total Sample Size 7 DF Total

    Variables 5 DF Within ClassesClasses 2 DF Between Classes

    Number of Observations Read 7

    Number of Observations Used 7

    Variable

    Name

    F F 3

    M M 4

    Covariance Natural Log of the

    Matrix Rank Determinant of the

    Covariance Matrix

    5 4.25935

    The SAS System

    The DISCRIM Procedure

    From gender F M

    F 0 532.53956

    M 532.53956 0

    From gender F M

    F 0 36.517

    M 36.517 0

    Information

    Squared Distance to gender

    F Statistics, NDF=5, DDF=1 for

    Squared Distance to gender

    Class Level Information

    gender Frequency

    Pooled Covariance Matrix

  • 7/27/2019 Discrim Output

    2/24

    From gender F M

    F 1 0.125

    M 0.125 1

    From gender F M

    F 0 532.53956

    M 532.53956 0

    The SAS System

    The DISCRIM Procedure

    Canonical Discriminant Analysis

    Canonical Adjusted

    Correlation Canonical

    Correlation

    1 0.997273 0.995905

    Note: The F statistic is exact.

    The SAS System

    The DISCRIM Procedure

    Canonical Discriminant Analysis

    Variable Can1

    age 0.057083

    shoe 0.930315

    teeth -0.576552

    height 0.669607

    Total Canonical Structure

    Generalized Squared Distance to

    gender

    Prob > Mahalanobis Distance for

    Squared Distance to gender

  • 7/27/2019 Discrim Output

    3/24

    weight 0.325984

    Variable Can1

    age 1

    shoe 1

    teeth -1

    height 1

    weight 1

    Variable Can1

    age 0.00422

    shoe 0.184013

    teeth -0.052009

    height 0.066393

    weight 0.025441

    The SAS System

    The DISCRIM Procedure

    Canonical Discriminant Analysis

    Variable Can1

    age -7.012138449

    shoe 9.712103706

    teeth 4.685636111

    height 7.822667418

    weight 3.672476361

    Variable Can1

    age -7.668955975

    shoe 3.969782094

    teeth 4.199539597

    height 6.378630754

    Canonical Coefficients

    Pooled Within-Class StandardizedCanonical Coefficients

    Between Canonical Structure

    Pooled Within Canonical Structure

    Total-Sample Standardized

  • 7/27/2019 Discrim Output

    4/24

    weight 3.804473225

    Variable Can1

    age -1.280235468

    shoe 5.2542654

    teeth 2.749244013

    height 1.465932326

    weight 0.516436134

    gender Can1

    F -13.18675347

    M 9.8900651

    The SAS System

    The DISCRIM Procedure

    Variable F MConstant -65995 -74519

    age -467.20817 -496.75193

    shoe 1860 1981

    teeth 1019 1083

    height 542.70188 576.53094

    weight 188.3678 200.2855

    The SAS System

    The DISCRIM Procedure

    Classification Summary for Calibration Data: WORK.INPUT

    Resubstitution Summary using Linear Discriminant Function

    Class Means on Canonical

    Variables

    Linear Discriminant Function for

    gender

    Raw Canonical Coefficients

  • 7/27/2019 Discrim Output

    5/24

    From gender F M

    3 0

    100 0

    0 4

    0 100

    3 4

    42.86 57.14

    0.5 0.5

    F M

    Rate 0 0

    Priors 0.5 0.5

    The SAS System

    The DISCRIM Procedure

    Classification Summary for Calibration Data: WORK.INPUT

    Cross-validation Summary using Linear Discriminant Function

    From gender F M

    3 0

    100 0

    0 4

    0 100

    3 4

    42.86 57.14

    0.5 0.5

    F M

    Rate 0 0

    Priors 0.5 0.5

    M

    Total

    Priors

    Error Count Estimates for gender

    F

    M

    Total

    Priors

    Error Count Estimates for gender

    Number of Observations and Percent

    Classified into gender

    F

    Number of Observations and Percent

    Classified into gender

  • 7/27/2019 Discrim Output

    6/24

    The SAS System

    The DISCRIM ProcedureClassification Summary for Test Data: WORK.TEST

    Classification Summary using Linear Discriminant Function

    Number of Observations Read 1

    Number of Observations Used 1

    From gender F M0 1

    0 100

    0 1

    0 100

    0.5 0.5

    M Total

    Rate 0 0Priors 0.5 0.5

    Classified into gender

    M

    Total

    Priors

    Error Count Estimates for gender

    Observation Profile for Test Data

    Number of Observations and Percent

  • 7/27/2019 Discrim Output

    7/24

    6

    51

    Prior

    Probability

    3 0.428571 0.5

    4 0.571429 0.5

    Weight Proportion

  • 7/27/2019 Discrim Output

    8/24

    Approximate Squared

    Standard Canonical

    Error Correlation

    0.002224 0.994553 182.585 1 1

    Difference ProportionEigenvalue Cumulative

    Eigenvalues of Inv(E)*H

    #NAME?

  • 7/27/2019 Discrim Output

    9/24

  • 7/27/2019 Discrim Output

    10/24

  • 7/27/2019 Discrim Output

    11/24

    Total

    3

    100

    4

    100

    7

    100

    Total

    0

    Total

    3

    100

    4

    100

    7

    100

    Total

    0

  • 7/27/2019 Discrim Output

    12/24

    Total1

    100

    1

    100

  • 7/27/2019 Discrim Output

    13/24

  • 7/27/2019 Discrim Output

    14/24

    Likelihood Approximate

    Ratio F Value

    0.00544707 36.52 5 1

    Num DF

    Test of H0: The canonical correlations in the current row and all that follow

    Den DF

  • 7/27/2019 Discrim Output

    15/24

  • 7/27/2019 Discrim Output

    16/24

  • 7/27/2019 Discrim Output

    17/24

  • 7/27/2019 Discrim Output

    18/24

  • 7/27/2019 Discrim Output

    19/24

  • 7/27/2019 Discrim Output

    20/24

    0.125

    are zero

    Pr > F

  • 7/27/2019 Discrim Output

    21/24

  • 7/27/2019 Discrim Output

    22/24

  • 7/27/2019 Discrim Output

    23/24

  • 7/27/2019 Discrim Output

    24/24