Environment for creative processing of text and numerical data

SURVO MM

Influence curves for the correlation coefficient

S.Mustonen (1990), Survo Users' Guide (1992), p. 289
Influence curves for the correlation coefficient
See also: http://www.survo.fi/papers/corrcurves.pdf

Edit field:

   1 *
   2 *CORR DECA,3 / VARS=Height,Weight
   3 *Means, std.devs and correlations of DECA  N=48
   4 *Variable  Mean        Std.dev.
   5 *Height    186.9583    5.090493
   6 *Weight    85.56250    6.847600
   7 *Correlations:
   8 *             Height  Weight
   9 * Height       1.0000  0.8522
  10 * Weight       0.8522  1.0000
  11 *.......................................................................
  12 *r=0.85 mx=186.96 my=85.56 sx=5.09 sy=6.85 n=48
  13 *HEADER=Influence_curves_for_the_correlation_coefficient
  14 *PLOT z(x,y)=abs(r*(1-w)+u*v)/w 
  15 *  u=sqrt(n/(n*n-1))*(x-mx)/sx
  16 *  v=sqrt(n/(n*n-1))*(y-my)/sy
  17 *  w=sqrt((1+u*u)*(1+v*v))
  18 *TYPE=CONTOUR  ZSCALING=20,0     (1/0.05=20)
  19 *              SCREEN=NEG
  20 *XSCALE=150(10)220 YSCALE=40(10)130 SIZE=1164,1164
  21 *x=150,220,0.2    y=40,130,0.2
  22 *DEVICE=PS,INF.PS
  23 *.......................................................................
  24 *PLOT DECA,Height,Weight 
  25 *XSCALE=150(10)220 YSCALE=40(10)130 SIZE=1164,1164
  26 *HEADER=
  27 *DEVICE=PS,DECA.PS
  28 *.......................................................................
  29 *PRINT CUR+1,END 
  30 % 1500
  31 - picture INF.PS
  32 - picture DECA.PS
  33 *



Home  |  News  |  Publications  |  Download  |  Flash
Copyright © Survo Systems 2001-2008. All rights reserved.
Updated 2008-10-20 by webmaster'at'survo.fi.
Best viewed with any browser.