#1   Report Post  
David
 
Posts: n/a
Default Sample

I have a list of 2730 numbers in a worksheet, used Sampling in the Tool menu
area, my question is that it picks some of the numbers twice and puts that as
a part of the sample. I need a output of 250, I get the 250, but with some
duplications. Any help you can provide would be greatly appreciated.


  #2   Report Post  
Gary's Student
 
Posts: n/a
Default

I ran sample on a list of 700 numbers. The numbers were sequential, however.
I also got multiple hits. It appears that this tool samples with
replacement. That is each sample is drawn from the population independently
from previous draws.

This means that not only is it possible for a number to come up more than
once, it is statistically inevitable.

One approach would be to select, say, 270 or more samples. Then use

Data Filter Advanced Filter...
and select unique records only. Keep the first 250.


Good Luck
--
Gary's Student


"David" wrote:

I have a list of 2730 numbers in a worksheet, used Sampling in the Tool menu
area, my question is that it picks some of the numbers twice and puts that as
a part of the sample. I need a output of 250, I get the 250, but with some
duplications. Any help you can provide would be greatly appreciated.


  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Another option...

insert a helper column
put =rand() in the top row
and drag down the column.

Sort your data by that column and copy the first 250 in the sorted list.

You could use another column and put
1 (in the top row)
2 (in the second row)

And drag down that column.

If you need to resort to get it back to the original order, sort by that other
helper column.

David wrote:

I have a list of 2730 numbers in a worksheet, used Sampling in the Tool menu
area, my question is that it picks some of the numbers twice and puts that as
a part of the sample. I need a output of 250, I get the 250, but with some
duplications. Any help you can provide would be greatly appreciated.


--

Dave Peterson
  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

ps.

put 1 in the first row
put 2 in the second row

Select both cells and drag down the column.

(I left out that part about selecting both cells.)

David wrote:

I have a list of 2730 numbers in a worksheet, used Sampling in the Tool menu
area, my question is that it picks some of the numbers twice and puts that as
a part of the sample. I need a output of 250, I get the 250, but with some
duplications. Any help you can provide would be greatly appreciated.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
code sample for executing a VB function in Excel using perl newOLE Excel Worksheet Functions 7 August 10th 05 10:26 PM
In a yes or no situation how do I choose a sample size Stat Challenged Excel Discussion (Misc queries) 3 July 26th 05 07:04 PM
How do I create a sample in Excel? Mary Excel Discussion (Misc queries) 1 July 12th 05 11:13 PM
need sample of work with senarios in excel moshe Excel Worksheet Functions 0 May 16th 05 02:50 PM
How does one change the sample number. Instead of zero my workshe. John Excel Discussion (Misc queries) 2 April 15th 05 12:06 AM


All times are GMT +1. The time now is 09:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"