Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65096

Sum of deviations for each observation

$
0
0
Hi,
The problem I am facing goes as follows:
I have T observations. I would like to calculate the sum of deviation of each observation 'i' with all the other observations t = 1...T. The attached figure shows the formula I am trying to implement. Is there a way to do this without looping over each individual observation? Any suggestion would be extremely helpful.
Array
Thank you,
Srinivasan.


Viewing all articles
Browse latest Browse all 65096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>