I couldn't find a question like this anywhere on Cross Validated. Also I struggled to write the title for this question.
Imagine I have a satellite picture of a straight road, and I expect that the number of cars per unit length is roughly constant. I choose a section of the road, and split it into $N=10$ equal intervals. I then find the number of cars per unit length for each interval, $x_i$ for $i$ in range 1 to 10.
I then calculate the mean number of cars per unit length
$\hat{\mu} = \bar{x} = \sum\limits_{i=1}^N \frac{x_i}{N}$,
and the sample standard deviation
$\hat{\sigma} = s = \sqrt{\frac{N}{N-1} (\sum\limits_{i=1}^N \frac{x_i^2}{N}-\hat{\mu}^2)}$
I want a value for the error in the mean number of cars per unit length. So, I think, I must find the estimated standard error of the mean, $\frac{s}{\sqrt{N}}$.
However, does this not mean that if I shrink the length of my intervals whilst increasing the number of intervals $N$ so that it still covers the same section of the road, I will get a lower standard error of the mean? Isn't this reduction of the error value cheating? It leads me to believe that I should use the standard deviation as my error value.
But what if I increase the range of my section, so that I genuinely have a higher $N$? I do expect to have a lower error in that case.
Which should I use, and have I made a mistake in my thinking somewhere?