HAI function

Half-weight Association Index