Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Generate 1 or 0 in xls with input probability

I have a list of binomial probabilities (several events with potential outcomes 1/)), and I need to run multiple simulations of potential outcomes. Is there any xls function that can help me?
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Morinne View Post
I have a list of binomial probabilities (several events with potential outcomes 1/)), and I need to run multiple simulations of potential outcomes. Is there any xls function that can help me?
Are you trying to produce a set of zeros and ones at random?

If so, would =RANDBETWEEN(0,1) copied down for the requisite number do the trick for you?

Although not truly random, it's as close as Excel is going to get.

If I've completely missed the point of what you're trying to achieve (which happens!) perhaps you coud explain your need a little more...

Last edited by Spencer101 : November 2nd 12 at 08:01 AM
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 51
Default Generate 1 or 0 in xls with input probability

Il 02/11/2012 02:39, Morinne ha scritto:
I have a list of binomial probabilities (several events with potential
outcomes 1/)), and I need to run multiple simulations of potential
outcomes. Is there any xls function that can help me?




Your probabilities in A1:A100
In B1
=IF(RAND()<A1,1,0)
and copy down

E.
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
User Input to Generate ListBox Range TesterEd Excel Programming 0 July 31st 12 02:17 PM
Generate random sequence based on probability James R[_2_] Excel Discussion (Misc queries) 5 December 19th 09 01:46 PM
Probability roystonteo via OfficeKB.com Excel Discussion (Misc queries) 3 February 5th 09 07:18 PM
Probability Dennis Excel Discussion (Misc queries) 6 October 31st 06 09:16 PM
generate a random number and use if function to generate new data Dogdoc1142 Excel Worksheet Functions 4 April 26th 06 03:44 AM


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