Probability distribution function / Line of best fit

32 Views Asked by At

I have data about pedestrian counts from multiple sensors along a street. I know the location of each sensor. Assume that the street has total length L.

I want a function F(l,t) that gives pedestrian counts given a length l (along the street)and a time t. The graph below shows pedestrian counts from various sensors (in a single street) within 0 to L, i want to map the distribution to the function described. I have data about pedestrian counts over a 24hr for multiple days/hourly data. What is the best way to get the line of best fit that gives F? What python library should I use to get this for my data.

Note about the dataset: The column total directions gives total number of pedestrians passing the sensor at that hour.

the graph of total pedestrians over a day

sample of data

0

There are 0 best solutions below