Probabilidad | ¿Qué es una variable aleatoria?
Introduction to Random Variables
Definition and Basic Concepts
- A random variable is defined as a function that assigns a real number to each outcome in the sample space of a random experiment.
- The example used is rolling a six-sided die, where the outcomes are uncertain until the die is cast. The sample space consists of numbers 1 through 6.
Assigning Values to Outcomes
- The random variable X represents the result of rolling the die, with possible values being the integers from 1 to 6. Each outcome corresponds directly to these numbers.
- Another example involves defining a random variable for weather conditions, specifically rain on a given day, assigning numerical values: 0 for no rain and 1 for rain. This illustrates how non-numeric outcomes can be quantified.
Further Examples of Random Variables
Defining Additional Random Variables
- A new random variable Z is introduced, representing whether an even number appears when rolling the die; it takes values of 0 (not even) or 1 (even). This shows flexibility in defining variables based on different criteria.
- It’s emphasized that while numeric assignments like 0 and 1 are common, any arbitrary numbers could be assigned depending on context; however, using binary values often makes sense for clarity in interpretation.
Types of Random Variables
Discrete vs Continuous Random Variables
- The discussion transitions into discrete versus continuous random variables, starting with examples previously mentioned which are all discrete (limited specific outcomes). For instance, rolling a die yields only six distinct results: 1,2,3,4,5,6. Thus it cannot take intermediate values like 4.3.
- In contrast to discrete variables which have finite outcomes (like our previous examples), continuous variables can take any value within an interval; this leads into an example involving diameters of objects in the universe where any positive real number could represent potential measurements.
Characteristics of Continuous Random Variables
- When discussing continuous variables such as diameters of celestial bodies or particles, it's noted that they can assume infinitely many values between two points (e.g., between diameters of planets). This highlights their nature compared to discrete counterparts which lack such granularity in possible outcomes.