Deprecated: Return type of ResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 174

Deprecated: Return type of ResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 192

Deprecated: Return type of ResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 185

Deprecated: Return type of ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 202

Deprecated: Return type of ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/db/DatabaseUtility.php on line 163

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/languages/Language.php on line 2104

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/languages/Language.php on line 2104

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/languages/Language.php on line 2104

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/languages/Language.php on line 2104

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/languages/Language.php on line 2104

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /var/www/vhosts/rave.gatech.edu/httpdocs/help/languages/Language.php on line 2104
 
=Introduction=
 
=Introduction=
Random variables are useful for modeling uncertainty in a system. Unlike regular variable, which are defined by (deterministic) values, random variables are defined by distributions. Rave supports the use of random variables through various sampling (Monte Carlo) based approaches. The main ways to use random variables in Rave are:
+
[[Random variables]] are useful for modeling uncertainty in a system. Unlike regular variable, which are defined by (deterministic) values, [[random variables]] are defined by distributions. Rave supports the use of [[random variables]] through various sampling (Monte Carlo) based approaches. The main ways to use [[random variables]] in Rave are:
    
*Declare a variable to be random, in which case it is treated as being random for all purposes in Rave.
 
*Declare a variable to be random, in which case it is treated as being random for all purposes in Rave.
 
*Sample data according to random distributions. This lets you generate a [[data set]] that involves randomness, but Rave otherwise treats this data as if it were a deterministic sampling.  
 
*Sample data according to random distributions. This lets you generate a [[data set]] that involves randomness, but Rave otherwise treats this data as if it were a deterministic sampling.  
   −
In either case, Rave samples the random variables according to distributions that you define in Rave. The process of defining distributions is described below.
+
In either case, Rave samples the [[random variables]] according to distributions that you define in Rave. The process of defining distributions is described below.
   −
'''Note:''' only [[independent variables]] can be treated as random. Function variables become random when one or more of their input variables are random.
+
'''Note:''' only [[independent variables]] can be treated as random. Function variables become "statistic variables" when one or more of their input variables are random. See below for details.
    
=Defining and Modifying Distributions=
 
=Defining and Modifying Distributions=
 
=Working with Random Variables=
 
=Working with Random Variables=
 
==Method 1: Declaring a Variable to be Random==
 
==Method 1: Declaring a Variable to be Random==
To declare a variable to be random, right click its column header in the main table and select '''Treat as a Random Variable'''.  
+
To declare a variable to be random, right click its column header in the [[main table]] and select '''Treat as a [[Random Variable]]'''.  
   −
To indicate that a particular variable is random, its name in the main table column header turns purple, and its values in the table are replaced with the word "Random".
+
To indicate that a particular variable is random, its name in the [[main table]] column header turns purple, and its values in the table are replaced with the word "Random".
  
Fatal error: Uncaught TypeError: MWExceptionHandler::handleException(): Argument #1 ($e) must be of type Exception, Error given in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php:153 Stack trace: #0 [internal function]: MWExceptionHandler::handleException() #1 {main} thrown in /var/www/vhosts/rave.gatech.edu/httpdocs/help/includes/exception/MWExceptionHandler.php on line 153