All the workers at a certain company drive to work and park in the company’s lot. The company is interested in estimating the average number of workers in a car. Which of the following methods will enable the company to estimate this quantity?
- Randomly choose $n$ workers, find out how many were in the cars in which they were driven, and take the average of the $n$ values.
- Randomly choose $n$ cars in the lot, find out how many were driven in those cars, and take the average of the $n$ values.
My intuition goes for number 2, but I'm not able to justify it formally.