Hey everyone, I have a problem I am working on in Excel ( I can do it in SAS, but I need to do it exclusively with Excel). I work for a company that is interested in response rates of sales campaigns and I have been put in charge of constructing confidence intervals for the response rate. What I am given is an estimate for the response rate and a population size. What I need is a way to generate a field of 1's and 0's with a size the same as the sample size, and the number of 1's is equal to the estimate of responders. Here's an example:
Say I want to test a campaign on 50,000 people and expect a response rate of 4%. Then I want to generate a field that has 50,000 numbers in it, but has only 4% of 50,000=2000 1's and the other 48,000 are 0's.
Is this possible in Excel and, if so, how do I do it?
Bookmarks