It is my understanding that the results of the Huff model are probabilities for the decision of customers to shop at a location, given a competitive environment (interaction probabilities). And these probabilities can be interpreted as market shares of the regarded locations (j) in the customer origins (i): p_ij (local market shares).
However, the results of the huff.shares() function (i.e. p_ij) are solely market share percentages. How can I get the patronage probability, not the market share?
Evidently the market share is not the probability, as p_ij is not 0 < p_ij < 1 and the cumulative sum of p_ij is always the total number of origins. Would this be the right way:
huffworkfile$U_ij / sum(huffworkfile$U_ij)
If so, what is happening in line 60? Should this part not be calculating the actual probability?
Hi,
It is my understanding that the results of the Huff model are probabilities for the decision of customers to shop at a location, given a competitive environment (interaction probabilities). And these probabilities can be interpreted as market shares of the regarded locations (
j
) in the customer origins (i
):p_ij
(local market shares).However, the results of the
huff.shares()
function (i.e.p_ij
) are solely market share percentages. How can I get the patronage probability, not the market share?Evidently the market share is not the probability, as
p_ij
is not0 < p_ij < 1
and the cumulative sum ofp_ij
is always the total number of origins. Would this be the right way:If so, what is happening in
line 60
? Should this part not be calculating the actual probability?Please clarify. Thank you.
Best, Nelson