# Distance weighted probability

I would like to know if what I want to calulate has probability of presence/absence is valid or not, and the best way to do it.

I have a collection of points, and each point has 5 neighbors. For each point I know the probability of presence as well as for the 5 neighbor points.

NPoint1
NPoint2              NPoint3

|POINT|

NPoint4

NPoint5


I would like to calculate a weighted presence probability for |POINT|, by taking into account the probability and distance of each NPoint as well as the |POINT| probability