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!
Test hypothesis using StataI have the following regression model Array That corresponds to the following dataset: Array How …
Rolling window for VARHi I estimate a structural vector autoregression, imposing long-term restrictions, and estimate the …
Nested loop question (index changes for every loop)Hi, Thanks very much in advance for your time. I want make the following commands into the nested lo…
How to test instrument orthogonality in Stata?Hi all, Is there a specific command where I can use to test instrument orthogonality? From my under…
Import Jason "too many veriables"Hei, i have a big json file which i try to import to Stata. Using insheet using "C:\Users\stinavn/…
Subscribe to:
Post Comments (Atom)
0 Response to how to calculate the formula Euclidean distance as the picture,many thanks!
Post a Comment