Hi everyone,
I have a dataset like this:
id var1 var2 var3 var4 var5 var6 var7 var8
1 1 0 1 2 3 8 9 0
2 1 4 5 8 9 2 7 7
3 2 3 8 9 6 3 7 4
(I have 300+ observartions)
My final goal is to calculate a variable that measures the distance between the vectors of all the observations (identified by the id).
The distance is either the angular separation or Euclidan distance
Hope you'll be able to help me
I have a dataset like this:
id var1 var2 var3 var4 var5 var6 var7 var8
1 1 0 1 2 3 8 9 0
2 1 4 5 8 9 2 7 7
3 2 3 8 9 6 3 7 4
(I have 300+ observartions)
My final goal is to calculate a variable that measures the distance between the vectors of all the observations (identified by the id).
The distance is either the angular separation or Euclidan distance
Hope you'll be able to help me
Comment