#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Sampling

Choose a random sample of size 20 from 1,2,3,...,100

Using excel 2003:

enter 1 2 3 ... 100 in column A

from analysis tools, select sampling

enter A1:A100 in input range
select random
enter 20 in number of samples
enter B1 in output range
OK

the number 14 appeared twice in column B

Who is at fault: me or excel?

John Adams
Bethlehem, PA
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Sampling

Nobody's at fault - the random sampling is done with replacement.

Here's a way to do sampling without replacement:

http://www.mcgimpsey.com/excel/udfs/...noreplace.html

In article ,
John Adams wrote:

Choose a random sample of size 20 from 1,2,3,...,100

Using excel 2003:

enter 1 2 3 ... 100 in column A

from analysis tools, select sampling

enter A1:A100 in input range
select random
enter 20 in number of samples
enter B1 in output range
OK

the number 14 appeared twice in column B

Who is at fault: me or excel?

John Adams
Bethlehem, PA

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
Sampling Program Miloann Excel Worksheet Functions 4 March 17th 06 05:34 AM
A Sampling Program Miloann Excel Discussion (Misc queries) 2 March 16th 06 06:56 AM
Random Sampling rows [email protected] Excel Discussion (Misc queries) 2 March 16th 06 06:03 AM
Random Sampling Andrea Excel Discussion (Misc queries) 2 November 11th 05 09:52 AM
Sampling kharrison Excel Discussion (Misc queries) 4 December 21st 04 10:40 AM


All times are GMT +1. The time now is 10:44 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"