How do you select a random sample from infinite universe/ population?

It is not possible to select a random sample from an infinite universe or population. In order to select a random sample, you need a finite and well-defined population from which a representative subset can be drawn.

However, if you have a finite subset or can define a finite range within the infinite universe, you can use certain sampling techniques. One such technique is random sampling with replacement, where each element in the sample has an equal chance of being selected, and after selection, it is returned to the population, allowing the possibility of being selected multiple times. Another technique is random sampling without replacement, where each element in the sample has an equal chance of being selected, but it is not returned to the population after selection, ensuring that each element is selected only once. These techniques allow you to approximate a random sample from a finite section of an infinite universe.