with respect to j location of d distance. The value of k exponent (weighted degree) determines the
degree of weight by distance. For larger exponent values the weights decline more sharply with distance,
whereas for smaller exponent values distant observations receive relatively larger weights