Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Analysis Tool Pack: Random function help

I am trying to use the "Random" function through the Analysis Tool Pack using
this reference: ATPVBAEN.XLA!Random. Where can I find a description of the
parameters for this function? Such a description does not appear to be
available in the help file.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Analysis Tool Pack: Random function help

In Excel Help. It mimics the arguments when you call it through Tools=Data
Analysis = random number generation:

About the Random Number Generation dialog box

Number of Variables

Enter the number of columns of values you want in the output table. If you
do not enter a number, Microsoft Excel fills all columns in the output range
you specify.

Number of Random Numbers

Enter the number of data points you want to see. Each data point appears in
a row of the output table. If you do not enter a number, Microsoft Excel
fills all rows in the output range you specify.

Distribution

Click the distribution method you want to use to create random values.

Uniform

Characterized by lower and upper bounds. Variables are drawn with equal
probability from all values in the range. A common application uses a
uniform distribution in the range 0...1.

Normal

Characterized by a mean and a standard deviation. A common application uses
a mean of 0 and a standard deviation of 1 for the standard normal
distribution.

Bernoulli

Characterized by a probability of success (p value) on a given trial.
Bernoulli random variables have the value 0 or 1. For example, you can draw
a uniform random variable in the range 0...1. If the variable is less than
or equal to the probability of success, the Bernoulli random variable is
assigned the value 1; otherwise, it is assigned the value 0.

Binomial

Characterized by a probability of success (p value) for a number of trials.
For example, you can generate number-of-trials Bernoulli random variables,
the sum of which is a binomial random variable.

Poisson

Characterized by a value lambda, equal to 1/mean. Poisson distribution is
often used to characterize the number of events that occur per unit of time
¾ for example, the average rate at which cars arrive at a toll plaza.

Patterned

Characterized by a lower and upper bound, a step, repetition rate for
values, and repetition rate for the sequence.

Discrete

Characterized by a value and the associated probability range. The range
must contain two columns: The left column contains values, and the right
column contains probabilities associated with the value in that row. The sum
of the probabilities must be 1.

Parameters

Enter a value or values to characterize the distribution selected.

Random Seed

Enter an optional value from which to generate random numbers. You can reuse
this value later to produce the same random numbers.

Output Range

Enter the reference for the upper-left cell of the output table. Microsoft
Excel automatically determines the size of the output area and displays a
message if the output table will replace existing data.

New Worksheet Ply

Click to insert a new worksheet in the current workbook and paste the
results starting at cell A1 of the new worksheet. To name the new worksheet,
type a name in the box.

New Workbook

Click to create a new workbook and paste the results on a new worksheet in
the new workbook.

----------------------
Create a reference to ATPVBAEN.XLA in the tools=References in the VBE and
then you can see it in the Object browser. It list the arguments there.



--
Regards,
Tom Ogilvy



"Scott P" wrote in message
...
I am trying to use the "Random" function through the Analysis Tool Pack

using
this reference: ATPVBAEN.XLA!Random. Where can I find a description of

the
parameters for this function? Such a description does not appear to be
available in the help file.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Analysis Tool Pack: Random function help

Just to add, Turn on the macro recorder and perform the random function you
want manually through the menus. then turn off the macro recorder and
compare the arguments recorded to what you did.

--
Regards,
Tom Ogilvy

"Scott P" wrote in message
...
I am trying to use the "Random" function through the Analysis Tool Pack

using
this reference: ATPVBAEN.XLA!Random. Where can I find a description of

the
parameters for this function? Such a description does not appear to be
available in the help file.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Analysis Tool Pack: Random function help

Thanks, Nick. I actually saw that page prior to my post -- it does a good
job of explaining how to reference the ATP library. It does not seem to
define the parameters of the ATP functions, such as Random. Are you aware of
somewhere else that might define such parameters? Thanks.

"NickHK" wrote:

Scott,
Check out:
http://www.cpearson.com/excel/ATP.htm

You'll see parameters and some explanation listed in the object browser.

NickHK

"Scott P" wrote in message
...
I am trying to use the "Random" function through the Analysis Tool Pack

using
this reference: ATPVBAEN.XLA!Random. Where can I find a description of

the
parameters for this function? Such a description does not appear to be
available in the help file.




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Analysis Tool Pack: Random function help

Scott,
Check out:
http://www.cpearson.com/excel/ATP.htm

You'll see parameters and some explanation listed in the object browser.

NickHK

"Scott P" wrote in message
...
I am trying to use the "Random" function through the Analysis Tool Pack

using
this reference: ATPVBAEN.XLA!Random. Where can I find a description of

the
parameters for this function? Such a description does not appear to be
available in the help file.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Analysis Tool Pack: Random function help

Thanks, Tom.

"Tom Ogilvy" wrote:

In Excel Help. It mimics the arguments when you call it through Tools=Data
Analysis = random number generation:

About the Random Number Generation dialog box

Number of Variables

Enter the number of columns of values you want in the output table. If you
do not enter a number, Microsoft Excel fills all columns in the output range
you specify.

Number of Random Numbers

Enter the number of data points you want to see. Each data point appears in
a row of the output table. If you do not enter a number, Microsoft Excel
fills all rows in the output range you specify.

Distribution

Click the distribution method you want to use to create random values.

Uniform

Characterized by lower and upper bounds. Variables are drawn with equal
probability from all values in the range. A common application uses a
uniform distribution in the range 0...1.

Normal

Characterized by a mean and a standard deviation. A common application uses
a mean of 0 and a standard deviation of 1 for the standard normal
distribution.

Bernoulli

Characterized by a probability of success (p value) on a given trial.
Bernoulli random variables have the value 0 or 1. For example, you can draw
a uniform random variable in the range 0...1. If the variable is less than
or equal to the probability of success, the Bernoulli random variable is
assigned the value 1; otherwise, it is assigned the value 0.

Binomial

Characterized by a probability of success (p value) for a number of trials.
For example, you can generate number-of-trials Bernoulli random variables,
the sum of which is a binomial random variable.

Poisson

Characterized by a value lambda, equal to 1/mean. Poisson distribution is
often used to characterize the number of events that occur per unit of time
¾ for example, the average rate at which cars arrive at a toll plaza.

Patterned

Characterized by a lower and upper bound, a step, repetition rate for
values, and repetition rate for the sequence.

Discrete

Characterized by a value and the associated probability range. The range
must contain two columns: The left column contains values, and the right
column contains probabilities associated with the value in that row. The sum
of the probabilities must be 1.

Parameters

Enter a value or values to characterize the distribution selected.

Random Seed

Enter an optional value from which to generate random numbers. You can reuse
this value later to produce the same random numbers.

Output Range

Enter the reference for the upper-left cell of the output table. Microsoft
Excel automatically determines the size of the output area and displays a
message if the output table will replace existing data.

New Worksheet Ply

Click to insert a new worksheet in the current workbook and paste the
results starting at cell A1 of the new worksheet. To name the new worksheet,
type a name in the box.

New Workbook

Click to create a new workbook and paste the results on a new worksheet in
the new workbook.

----------------------
Create a reference to ATPVBAEN.XLA in the tools=References in the VBE and
then you can see it in the Object browser. It list the arguments there.



--
Regards,
Tom Ogilvy



"Scott P" wrote in message
...
I am trying to use the "Random" function through the Analysis Tool Pack

using
this reference: ATPVBAEN.XLA!Random. Where can I find a description of

the
parameters for this function? Such a description does not appear to be
available in the help file.




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
With Student and Teacher Edition, can I add analysis tool pack? RBG Excel Discussion (Misc queries) 4 August 19th 09 06:08 AM
No Analysis Tool Pack=EDATE formula not working! HELP!! Danny Boy Excel Worksheet Functions 9 January 5th 09 09:50 PM
Analysis Tool Pack addin into Excel and it is not loading pcrxtex Excel Discussion (Misc queries) 3 March 25th 08 10:29 PM
Analysis tool pack ( I do not have the disc) Dakoda Excel Discussion (Misc queries) 2 September 16th 07 01:29 AM
After adding Analysis Tool Pack, still no PRICE function, why? mtburdett Excel Worksheet Functions 1 November 5th 05 09:43 AM


All times are GMT +1. The time now is 12:34 AM.

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"