
GROUPED CORRELATIONName:
In Dataplot, you would create the data as
The computational formula for the grouped correlation is
where
If the groups are equally spaced (the distances between x(i) and x(i+1) are equal for all i and the distances between y(i) and y(i+1) are equal for all i), then computational convenience Dataplot will use coded values for the x(i) and the y(i). If you have groups with zero frequency, you may either omit or include these groups in your data. Dataplot strips out the zero frequency groups automatically before computing the grouped correlation.
<SUBSET/EXCEPT/FOR qualification> where <y1> is the first response variable; <y2> is the second response variable; <freq> is the variable containing the frequencies; <par> is a parameter where the computed grouped correlation is stored; and where the <SUBSET/EXCEPT/FOR qualification> is optional.
set write decimals 4 . read x y freq 20 15 6 20 25 3 20 35 0 20 45 0 20 55 0 30 15 3 30 25 16 30 35 10 30 45 0 30 55 0 40 15 0 40 25 10 40 35 15 40 45 7 40 55 0 50 15 0 50 25 0 50 35 7 50 45 10 50 55 4 60 15 0 60 25 0 60 35 0 60 45 4 60 55 5 end of data . let cor = grouped correlation x y freq set parameter expand digits 2 print "Group Correlation: ^cor"The following output is returned Group Correlation: 0.80  
Privacy
Policy/Security Notice
NIST is an agency of the U.S. Commerce Department.
Date created: 11/08/2018 