I'd like to simulate the results of a poll of n=400 voters from the population of nearly 5 million Illinois voters in 1960. Is there a way to this without writing a population dataset thanearly 5 million rows? It seems to me it should be possible applying some simple command to a 3 line dataset like this (but -sample- won't do it):
candidate votes
Kennedy 2377846
Nixon 2368988
Other 10000
candidate votes
Kennedy 2377846
Nixon 2368988
Other 10000
Comment