How to calculate the formula Euclidean distance as the picture,many thanks!
clear
input double(year id x)
1 1 80
1 2 90
1 3 30
1 4 100
1 5 56
1 6 300
1 7 300
1 8 100
1 9 50
1 10 110
1 11 35
1 12 67
1 13 54
1 14 76
2 1 54
2 2 34
2 3 22
2 4 44
2 5 55
2 6 66
2 7 77
2 8 88
2 9 35
2 10 67
2 11 54
2 12 76
2 13 54
2 14 34
3 1 100
3 2 50
3 3 110
3 4 35
3 5 67
3 6 54
3 7 35
3 8 67
3 9 54
3 10 76
3 11 54
3 12 34
3 13 100
3 14 50
4 1 110
4 2 35
4 3 67
4 4 54
4 5 100
4 6 50
4 7 110
4 8 35
4 9 67
4 10 54
4 11 76
4 12 54
4 13 54
4 14 76
end
[/CODE]
Array
Related Posts with how to calculate the formula Euclidean distance as the picture,many thanks!
Select records different timesDear all, I need to select 2 records that the difference between date2 and date1 is greater than 18 …
metaprop and metaregHi to everybody. I've to do a META-ANALYSIS of Prevalence study. The aim of the study is: prevalence…
PercentilesHi everyone, I have three variables - ProductCode, Year and PRODY. (Sample given below) ProductC…
Triple DDDHi Clyde need some help on DDD My research question lies in seeing - does bargaining power influenc…
Penultimate variable?Hello How can I get the name of the penultimate variable in my dataset? (from left to right) I was …
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate the formula Euclidean distance as the picture,many thanks!
Post a Comment