0

Problem:

I run a pizza parlor which serves the local area. The approximate service area is a circle around the store. Because of this, and because housing density and ordering habits are pretty constant within this area, and because travel time is approximately linear with distance, I expect that on average, my journey time to deliver to a customer should be about $\frac{2}{3}$ of the time to travel from my shop to the edge of my service area. (As per Average distance from center of circle to evenly-distributed points within it). Furthermore, I expect the distribution of travel times to look approximately like this (scale irrelevant): circular distance distribution However, when I look at my actual times, they look more like this: Actual dist

Theories on why such a discrepancy and arguments for the best distribution to describe the actual data? (Gamma/Lognormal perhaps).

MRMDP
  • 61
  • If you run a pizza parlor and you have a mathematical question about it, you should hire a mathematical consultant to answer it for you. – Gerry Myerson Aug 11 '17 at 13:05
  • 4
    Anyway, unless you have a monopoly on pizza supply in your town, if you take an hour to get me a pizza, I'm going to look for a pizzeria nearer to me so I don't starve to death waiting for my pepperoni fix. That could explain the dropoff. – Gerry Myerson Aug 11 '17 at 13:09
  • 1
    Why do you expect your histogram? People are more likeli to choose your pizzeria when you are further away? – Marc Aug 11 '17 at 13:11
  • Just based on the nature of the circular service area. I have more customers further away because it increases with r^2. (That actual histogram was just generated by simulating a load of random points within a circle and then creating a histogram of the distances to the center). – MRMDP Aug 11 '17 at 13:13
  • 1
    Ah sure, if you focus only on the number of potential costumers then yes. However, as Gerry Myerson already suggested, the probability of a costumer choosing your pizzeria will probably heavily depend on how far they are located away. – Marc Aug 11 '17 at 13:14
  • I think that's unlikely to have such a strong effect. The radius isn't huge and there aren't many others around. The decrease in willingness to order would have to be very steep to result in the above. – MRMDP Aug 11 '17 at 13:18
  • https://www.freemaptools.com/how-far-can-i-travel.htm will show you equal distance not necessarily equal to a circle in the real world of roads ( maybe look up the taxicab metric as well). –  Aug 11 '17 at 13:29
  • another things to consider is that speed may not necessarily be constant. therefore, measuring one graph with time, and the other with distance, seems a little foolhardy. –  Aug 11 '17 at 13:33
  • another thing, it could be an inverse square law like newtonian gravity in which case doubling distance decreasing the gravitational acceleration to 1/4 what it would be originally. –  Aug 11 '17 at 13:42
  • I can't reconcile your statement "the radius isn't huge" with the fact that it sometimes takes you an hour of travel to deliver pizza. –  Aug 11 '17 at 14:33
  • Looks like $x e^{-x}$ with parameters. – marty cohen Aug 11 '17 at 20:17

1 Answers1

0

There quite a few different possibilities that can explain the result. Is the distribution of customers really homogenous over the circular area or not? Most likely this is not the case. Is the traveling time really only linear dependent on the distance? This depends on the layout of the road network and is again usually not the case. In addition, the traveling time will depend on traffic, and hence will be different for different periods during the day due to traffic jams, rush hour, etc... What is the delivery scheme? You probably do not deliver one order at a time but combine a number of them before returning to the shop. How do you measure those delivery times an enter them in the charts. Having many deliveries at large distances, will take quite a bit of time and can cause all sorts of logistics problems.

From the given information, the real reason cannot be inferred. But in order to get some insight, you would have to make other plots. The delivery time is not convenient, because it already destroys some of the information. Much more useful is to make a distribution of the location customers on the city map in order to see whether this homogenous or that there are white spots. If so where are they? What are they correlated to? Other businesses or restaurants?

The next step would be to look at this info as function of the time over shop hours. Again, there might be various reasons for correlations. The good old pizza after couple of beers for instance or after a game.

You can also make a map of the delivery time attached to the location of customers with a colour-coded map. This can reveal the correctness of the assumption that delivery time is proportional to distance or you will find that certain areas are more difficult to reach than anticipated, and this might again also depend on the time of day.

These are just a few suggestions that might help you to understand better what goes on.

Ronald Blaak
  • 3,277