PROXIMITIES

PROXIMITIES is available in the Statistics Base option.

PROXIMITIES computes a variety of measures of similarity, dissimilarity, or distance between pairs of cases or pairs of variables.

PROXIMITIES  varlist  [/VIEW={CASE**  }] 
                             {VARIABLE}
 
 [/STANDARDIZE=[{VARIABLE}] [{NONE** }]] 
                {CASE    }   {Z      }
                             {SD     }
                             {RANGE  }
                             {MAX    }
                             {MEAN   }
                             {RESCALE}

 [/MEASURE=[{EUCLID**          }] [ABSOLUTE] [REVERSE] [RESCALE]
            {SEUCLID           }
            {COSINE            }
            {CORRELATION       }
            {BLOCK             }
            {CHEBYCHEV         }
            {POWER(p,r)        }
            {MINKOWSKI(p)      }
            {CHISQ             }
            {PH2               }
            {RR[(p[,np])]      }
            {SM[(p[,np])]      }
            {JACCARD[(p[,np])] }
            {DICE[(p[,np])]    }
            {SS1[(p[,np])]     }
            {RT[(p[,np])]      }
            {SS2[(p[,np])]     }
            {K1[(p[,np])]      }
            {SS3[(p[,np])]     }
            {K2[(p[,np])]      }
            {SS4[(p[,np])]     }
            {HAMANN[(p[,np])]  }
            {OCHIAI[(p[,np])]  }
            {SS5[(p[,np])]     }
            {PHI[(p[,np])]     }
            {LAMBDA[(p[,np])]  }
            {D[(p[,np])]       }
            {Y[(p[,np])]       }
            {Q[(p[,np])]       }
            {BEUCLID[(p[,np])] }
            {SIZE[(p[,np])]    }
            {PATTERN[(p[,np])] }
            {BSEUCLID[(p[,np])]}
            {BSHAPE[(p[,np])]  }
            {DISPER[(p[,np])]  }
            {VARIANCE[(p[,np])]}
            {BLWMN[(p[,np])]   }
            {NONE              }
 
 [/PRINT=[{PROXIMITIES**}]]  [/ID=varname]
          {NONE         }

 [/MISSING=[EXCLUDE**]  [INCLUDE]]
      
 [/MATRIX=[IN({'savfile'|'dataset'})] [OUT({'savfile'|'dataset'})]]
              {*                  }        {*                  }

**Default if subcommand or keyword is omitted.

This command reads the active dataset and causes execution of any pending commands. See the topic Command Order for more information.

Syntax for the PROXIMITIES command can be generated from the Distances dialog.

Example

PROXIMITIES A B C.