Stochastic Processes Lecture Note

Total Page:16

File Type:pdf, Size:1020Kb

Stochastic Processes Lecture Note MATH 171 Stochastic Processes Lecture Note Hanbaek Lyu DEPARTMENT OF MATHEMATICS,UNIVERSITYOF CALIFORNIA,LOS ANGELES, CA 90095 Email address: [email protected] www.hanaeklyu.com Contents Chapter 1. Markov chains 3 1. Definition and examples3 2. Stationary distribution and examples7 3. Existence of stationary distribution9 4. Uniqueness of stationary distribution 11 5. Convergence to the stationary distribution 13 6. Markov chain Monte Carlo 17 Chapter 2. Poisson Processes 22 1. Recap of exponential and Poisson random variables 22 2. Poisson processes as an arrival process 24 3. Momoryless property and stopping times 25 4. Merging and splitting of Poisson process 28 5. M/M/1 queue 31 6. Poisson process as a counting process 33 7. Nonhomogeneous Poisson process 35 Chapter 3. Renewal Processes 37 1. Definition of renewal processes 37 2. Renewal reward processes 40 3. Little’s Law 43 Chapter 4. Martingales 49 1. Conditional expectation 49 2. Definition and examples of martingales 50 3. Basic properties of martingales 54 4. Gambling strategies and stopping times 56 5. Applications of martingales at stopping times 58 Chapter 5. Introduction to mathematical finance 62 1. Hedging and replication in the two-state world 62 2. The fundamental theorem of asset pricing 63 3. The binomial model 65 Bibliography 71 2 CHAPTER 1 Markov chains Say we would like to model the USD price of bitcoin. We could observe the actual price at every hour and record it by a sequence of real numbers x ,x , . However, it is more interesting to build a 1 2 ¢¢¢ ‘model’ that could predict the price of bitcoin at time t, or at least give some meaningful insight how the actual bitcoin price behaves over time. Since there are so many factors affecting the price at every time, it might be reasonable that the price at time t should be given by a certain RV,say Xt . Then our sequence of predictions would be a sequence of RVs, (Xt )t 0. This is an example of stochastic processes. Here ‘process’ ¸ means that we are not interest in just a single RV, that their sequence as a whole: ‘stochastic’ means that the way the RVs evolve in time might be random. In this note, we will be studying a very important class of stochastic processes called Markov chains. The importance of Markov chains lies two places: 1) They are applicable for a wide range of physical, biological, social, and economical phenomena, and 2) the theory is well-established and we can actually compute and make predictions using the models. 1. Definition and examples Roughly speaking, Markov processes are used to model temporally changing systems where future state only depends on the current state. For instance, if the price of bitcoin tomorrow depends only on its price today, then bitcoin price can be modeled as a Markov process. (Of course, the entire history of price often affects decisions of buyers/sellers so it may not be a realistic assumption.) Even through Markov processes can be defined in vast generality, we concentrate on the simplest setting where the state and time are both discrete. Let ­ {1,2, ,m} be a finite set, which we call the Æ ¢¢¢ state space. Consider a sequence (Xt )t 0 of ­-valued RVs, which we call a chain. We call the value of Xt ¸ the state of the chain at time t. In order to narrow down the way the chain (Xt )t 0 behaves, we introduce ¸ the following properties: (i) (Markov property) The distribution of Xt 1 given the history X0, X1, , Xt depends only on Xt . That Å ¢¢¢ is, for any values of j , j , , j ,k ­, 0 1 ¢¢¢ t 2 P(Xt 1 k Xt jt , Xt 1 jt 1, , X1 j1, X0 j0) P(Xt 1 k Xt jt ). (1) Å Æ j Æ ¡ Æ ¡ ¢¢¢ Æ Æ Æ Å Æ j Æ (ii) (Time-homogeneity) The transition probabilities pi j P(Xt 1 j Xt i) i, j ­ (2) Æ Å Æ j Æ 2 do not depend on t. When the chain (Xt )t 0 satisfies the above two properties, we say it is a (discrete-time and time-homogeneous) ¸ Markov chain. We define the transition matrix P to be the m m matrix of transition probabilities: £ 2 p p p 3 11 12 ¢¢¢ 1m 6 p21 p22 p2m 7 6 ¢¢¢ 7 P (pi j )1 i,j m 6 . 7. (3) Æ · · Æ 4 . 5 p p p m1 m2 ¢¢¢ mm 3 1. DEFINITION AND EXAMPLES 4 Finally, since the state Xt of the chain is a RV, we represent its probability mass function (PMF) via a row vector r [P(X 1),P(X 2), ,P(X m)]. (4) t Æ t Æ t Æ ¢¢¢ t Æ Example 1.1. Let ­ {1,2} and let (Xt )t 0 be a Markov chain on ­ with the following transition matrix Æ ¸ ·p p ¸ P 11 12 . (5) Æ p21 p22 We can also represent this Markov chain pictorially as in Figure4, which is called the ‘state space diagram’ of the chain (Xt )t 0. ¸ 푝 푝 1 2 푝 푝 FIGURE 1. State space diagram of a 2-state Markov chain For some concrete example, suppose p 0.2, p 0.8, p 0.6, p 0.4. (6) 11 Æ 12 Æ 21 Æ 22 Æ If the initial state of the chain X0 is 1, then P(X 1) P(X 1 X 1)P(X 1) P(X 1 X 2)P(X 2) (7) 1 Æ Æ 1 Æ j 0 Æ 0 Æ Å 1 Æ j 0 Æ 0 Æ P(X 1 X 1) p 0.2 (8) Æ 1 Æ j 0 Æ Æ 11 Æ and similarly, P(X 2) P(X 2 X 1)P(X 1) P(X 2 X 2)P(X 2) (9) 1 Æ Æ 1 Æ j 0 Æ 0 Æ Å 1 Æ j 0 Æ 0 Æ P(X 2 X 1) p 0.8. (10) Æ 1 Æ j 0 Æ Æ 12 Æ Also we can compute the distribution of X2. For example, P(X 1) P(X 1 X 1)P(X 1) P(X 1 X 2)P(X 2) (11) 2 Æ Æ 2 Æ j 1 Æ 1 Æ Å 2 Æ j 1 Æ 1 Æ p P(X 1) p P(X 2) (12) Æ 11 1 Æ Å 21 1 Æ 0.2 0.2 0.6 0.8 0.04 0.48 0.52. (13) Æ ¢ Å ¢ Æ Å Æ In general, the distribution of Xt 1 can be computed from that of Xt via a simple linear algebra. Note Å that for i 1,2, Æ P(Xt 1 i) P(Xt 1 i Xt 1)P(Xt 1) P(Xt 1 i Xt 2)P(Xt 2) (14) Å Æ Æ Å Æ j Æ Æ Å Å Æ j Æ Æ p P(X 1) p P(X 2). (15) Æ 1i t Æ Å 2i t Æ This can be written as · ¸ p11 p12 [P(Xt 1 2), P(Xt 1 2)] [P(Xt 1 2), P(Xt 1 2)] . (16) Å Æ Å Æ Æ Å Æ Å Æ p21 p22 That is, if we represent the distribution of Xt as a row vector, then the distribution of Xt 1 is given by Å multiplying the transition matrix P to the left. N Example 1.2 (Gambler’s ruin). Suppose a gambler has fortune of k dolors initially and starts gambling. At each time he wins or loses 1 dolor independently with probability p and 1 p, respectively. The game ¡ ends when his fortune reaches either 0 or N dolors. What is the probability that he wins N dolors and goes home happy? We use Markov chains to model his fortune after betting t times. Namely, let ­ {0,1,2, ,N} be the Æ ¢¢¢ state space. Let (Xt )t 0 be a sequence of RVs where Xt is the gambler’s fortune after betting t times. We ¸ first draw the state space diagram for N 4 below: Next, we can write down its transition probabilities as Æ 푝 푝 1 2 푝 푝 1. DEFINITION AND EXAMPLES 5 푝 푃 푝 1 0 1 2 3 4 1 1 − 푝 1 − 푝 1 − 푝 FIGURE 2. State space diagram of a 5-state gambler’s chain 8 P(X k 1 X k) p 1 k N > t 1 t > Å Æ Å j Æ Æ 8 · Ç <P(Xt 1 k Xt k 1) 1 p 1 k N Å Æ j Æ Å Æ ¡ 8 · Ç (17) P > (Xt 1 0 Xt 0) 1 > Å Æ j Æ Æ :P(Xt 1 N Xt N) 1. Å Æ j Æ Æ For example, the transition matrix P for N 5 is given by Æ 2 3 1 0 0 0 0 0 61 p 0 p 0 0 07 6 7 6 ¡ 7 6 0 1 p 0 p 0 07 P 6 ¡ 7. (18) Æ 6 0 0 1 p 0 p 07 푝 6 ¡ 7 4 0 0 0 1 p 0 p5 푝 1 2 푝 ¡ 0 0 0 0 0 1 푝 We call the resulting Markov chain (Xt )t 0 the gambler’s chain. N ¸ Example 1.3 (Ehrenfest Chain). This chain is originated from the physics literature as a model for two 푝 푃 cubical volumes of air connected by a thin tunnel. Suppose there are total N indistinguishable푝 balls split into two1 “urns”0 A and B.
Recommended publications
  • Probability Cheatsheet V2.0 Thinking Conditionally Law of Total Probability (LOTP)
    Probability Cheatsheet v2.0 Thinking Conditionally Law of Total Probability (LOTP) Let B1;B2;B3; :::Bn be a partition of the sample space (i.e., they are Compiled by William Chen (http://wzchen.com) and Joe Blitzstein, Independence disjoint and their union is the entire sample space). with contributions from Sebastian Chiu, Yuan Jiang, Yuqi Hou, and Independent Events A and B are independent if knowing whether P (A) = P (AjB )P (B ) + P (AjB )P (B ) + ··· + P (AjB )P (B ) Jessy Hwang. Material based on Joe Blitzstein's (@stat110) lectures 1 1 2 2 n n A occurred gives no information about whether B occurred. More (http://stat110.net) and Blitzstein/Hwang's Introduction to P (A) = P (A \ B1) + P (A \ B2) + ··· + P (A \ Bn) formally, A and B (which have nonzero probability) are independent if Probability textbook (http://bit.ly/introprobability). Licensed and only if one of the following equivalent statements holds: For LOTP with extra conditioning, just add in another event C! under CC BY-NC-SA 4.0. Please share comments, suggestions, and errors at http://github.com/wzchen/probability_cheatsheet. P (A \ B) = P (A)P (B) P (AjC) = P (AjB1;C)P (B1jC) + ··· + P (AjBn;C)P (BnjC) P (AjB) = P (A) P (AjC) = P (A \ B1jC) + P (A \ B2jC) + ··· + P (A \ BnjC) P (BjA) = P (B) Last Updated September 4, 2015 Special case of LOTP with B and Bc as partition: Conditional Independence A and B are conditionally independent P (A) = P (AjB)P (B) + P (AjBc)P (Bc) given C if P (A \ BjC) = P (AjC)P (BjC).
    [Show full text]
  • 4. Stochas C Processes
    51 4. Stochasc processes Be able to formulate models for stochastic processes, and understand how they can be used for estimation and prediction. Be familiar with calculation techniques for memoryless stochastic processes. Understand the classification of discrete state space Markov chains, and be able to calculate the stationary distribution, and recognise limit theorems. Science is often concerned with the laws that describe how a system changes over time, such as Newton’s laws of motion. When we use probabilistic laws to describe how the system changes, the system is called a stochastic process. We used a stochastic process model in Section 1.2 to analyse Bitcoin; the probabilistic part of our model was the randomness of who generates the next Bitcoin block, be it the attacker or the rest of the peer-to-peer network. In Part II, you will come across stochastic process models in several courses: • in Computer Systems Modelling they are used to describe discrete event simulations of communications networks • in Machine Learning and Bayesian Inference they are used for computing posterior distributions • in Information Theory they are used to describe noisy communications channels, and also the data streams sent over such channels. 4.1. Markov chains Example 4.1. The Russian mathematician Andrei Markov (1856–1922) invented a new type of probabilistic model, now given his name, and his first application was to model Pushkin’s poem Eugeny Onegin. He suggested the following method for generating a stream of text C = (C ;C ;C ;::: ) where each C is an alphabetic character: 0 1 2 n As usual, we write C for the random 1 alphabet = [ ’a ’ , ’b ’ ,...] # a l l p o s s i b l e c h a r a c t e r s i n c l .
    [Show full text]
  • 5 Stochastic Processes
    5 Stochastic Processes Contents 5.1. The Bernoulli Process ...................p.3 5.2. The Poisson Process .................. p.15 1 2 Stochastic Processes Chap. 5 A stochastic process is a mathematical model of a probabilistic experiment that evolves in time and generates a sequence of numerical values. For example, a stochastic process can be used to model: (a) the sequence of daily prices of a stock; (b) the sequence of scores in a football game; (c) the sequence of failure times of a machine; (d) the sequence of hourly traffic loads at a node of a communication network; (e) the sequence of radar measurements of the position of an airplane. Each numerical value in the sequence is modeled by a random variable, so a stochastic process is simply a (finite or infinite) sequence of random variables and does not represent a major conceptual departure from our basic framework. We are still dealing with a single basic experiment that involves outcomes gov- erned by a probability law, and random variables that inherit their probabilistic † properties from that law. However, stochastic processes involve some change in emphasis over our earlier models. In particular: (a) We tend to focus on the dependencies in the sequence of values generated by the process. For example, how do future prices of a stock depend on past values? (b) We are often interested in long-term averages,involving the entire se- quence of generated values. For example, what is the fraction of time that a machine is idle? (c) We sometimes wish to characterize the likelihood or frequency of certain boundary events.
    [Show full text]
  • (Introduction to Probability at an Advanced Level) - All Lecture Notes
    Fall 2018 Statistics 201A (Introduction to Probability at an advanced level) - All Lecture Notes Aditya Guntuboyina August 15, 2020 Contents 0.1 Sample spaces, Events, Probability.................................5 0.2 Conditional Probability and Independence.............................6 0.3 Random Variables..........................................7 1 Random Variables, Expectation and Variance8 1.1 Expectations of Random Variables.................................9 1.2 Variance................................................ 10 2 Independence of Random Variables 11 3 Common Distributions 11 3.1 Ber(p) Distribution......................................... 11 3.2 Bin(n; p) Distribution........................................ 11 3.3 Poisson Distribution......................................... 12 4 Covariance, Correlation and Regression 14 5 Correlation and Regression 16 6 Back to Common Distributions 16 6.1 Geometric Distribution........................................ 16 6.2 Negative Binomial Distribution................................... 17 7 Continuous Distributions 17 7.1 Normal or Gaussian Distribution.................................. 17 1 7.2 Uniform Distribution......................................... 18 7.3 The Exponential Density...................................... 18 7.4 The Gamma Density......................................... 18 8 Variable Transformations 19 9 Distribution Functions and the Quantile Transform 20 10 Joint Densities 22 11 Joint Densities under Transformations 23 11.1 Detour to Convolutions......................................
    [Show full text]
  • Download English-US Transcript (PDF)
    MITOCW | MITRES6_012S18_L06-06_300k We will now work with a geometric random variable and put to use our understanding of conditional PMFs and conditional expectations. Remember that a geometric random variable corresponds to the number of independent coin tosses until the first head occurs. And here p is a parameter that describes the coin. It is the probability of heads at each coin toss. We have already seen the formula for the geometric PMF and the corresponding plot. We will now add one very important property which is usually called Memorylessness. Ultimately, this property has to do with the fact that independent coin tosses do not have any memory. Past coin tosses do not affect future coin tosses. So consider a coin-tossing experiment with independent tosses and let X be the number of tosses until the first heads. And X is a geometric with parameter p. Suppose that you show up a little after the experiment has started. And you're told that there was so far just one coin toss. And that this coin toss resulted in tails. Now you have to take over and carry out the remaining tosses until heads are observed. What should your model be about the future? Well, you will be making independent coin tosses until the first heads. So the number of such tosses will be a random variable, which is geometric with parameter p. So this duration-- as far as you are concerned-- is geometric with parameter p. Therefore, the number of remaining coin tosses starting from here-- given that the first toss was tails-- has the same geometric distribution as the original random variable X.
    [Show full text]
  • Fraud Risk Assessment Within Blockchain Transactions Pierre-Olivier Goffard
    Fraud risk assessment within blockchain transactions Pierre-Olivier Goffard To cite this version: Pierre-Olivier Goffard. Fraud risk assessment within blockchain transactions. 2019. hal-01716687v2 HAL Id: hal-01716687 https://hal.archives-ouvertes.fr/hal-01716687v2 Preprint submitted on 16 Jan 2019 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Fraud risk assessment within blockchain transactions Pierre-O. Goard∗ Univ Lyon, Université Lyon 1, LSAF EA2429. December 10, 2018 Abstract The probability of successfully spending twice the same bitcoins is considered. A double-spending attack consists in issuing two transactions transferring the same bitcoins. The rst transaction, from the fraudster to a merchant, is included in a block of the public chain. The second transaction, from the fraudster to himself, is recorded in a block that integrates a private chain, exact copy of the public chain up to substituting the fraudster-to-merchant transaction by the fraudster-to- fraudster transaction. The double-spending hack is completed once the private chain reaches the length of the public chain, in which case it replaces it. The growth of both chains are modeled by two independent counting processes.
    [Show full text]
  • A Computational Formulation of the Behavior Systems Account of the Temporal Organization of Motivated Behavior T ⁎ Federico Sanabriaa, , Carter W
    Behavioural Processes 169 (2019) 103952 Contents lists available at ScienceDirect Behavioural Processes journal homepage: www.elsevier.com/locate/behavproc A computational formulation of the behavior systems account of the temporal organization of motivated behavior T ⁎ Federico Sanabriaa, , Carter W. Danielsa,b, Tanya Guptaa, Cristina Santosc a Arizona State University, United States b Columbia University, United States c Universidade do Minho, Portugal ARTICLE INFO ABSTRACT Keywords: The behavior systems framework suggests that motivated behavior—e.g., seeking food and mates, avoiding Algorithm predators—consists of sequences of actions organized within nested behavioral states. This framework has Behavior system bridged behavioral ecology and experimental psychology, providing key insights into critical behavioral pro- Bout cesses. In particular, the behavior systems framework entails a particular organization of behavior over time. The Markov model present paper examines whether such organization emerges from a generic Markov process, where the current Reinforcement behavioral state determines the probability distribution of subsequent behavioral states. This proposition is Temporal organization developed as a systematic examination of increasingly complex Markov models, seeking a computational for- mulation that balances adherence to the behavior systems approach, parsimony, and conformity to data. As a result of this exercise, a nonstationary partially hidden Markov model is selected as a computational formulation of the predatory subsystem. It is noted that the temporal distribution of discrete responses may further unveil the structure and parameters of the model but, without proper mathematical modeling, these discrete responses may be misleading. Opportunities for further elaboration of the proposed computational formulation are identified, including developments in its architecture, extensions to defensive and reproductive subsystems, and metho- dological refinements.
    [Show full text]
  • EE 302 Division 1. Homework 10 Solutions. Y Y Y Y Y 0 T T T
    EE 302 Division 1. Homework 10 Solutions. A summary of Poisson and Bernoulli processes: 0 Y1 Y2 Y3 Y4 Y5 T1 T2 T3 T4 T5 Bernoulli (p) Poisson (¸) 8 µ ¶ ( < t ¡ 1 k t¡k ¸ktk¡1e¡¸t p (1 ¡ p) t ¸ k (k¡1)! t ¸ 0 time of the k-th arrival pY (t)= k ¡ 1 fYk (t)= k : 0 t<0 0 ½ t<k ½ (1 ¡ p)t¡1pt¸ 1 ¸e¡¸t t ¸ 0 inter-arrival time pTk (t)= fTk (t)= 8 µ ¶0 t<1 0 t<0 ½ < ¿ n ¿¡n (¸¿)n ¡¸¿ number of arrivals p (1 ¡ p) 0 · n · ¿ n! e 0 · n PS (n)= n PN¿ (n)= within ¿ units of time ¿ : 0 n<0 0 otherwise Problem 1. Fred is giving out samples of canned dog food. He makes calls door to door, but he leaves a sample (one can) only on those calls for which the door is answered and a dog is in res- idence. On any call the probability of the door being answered is 3/4, and the probability that any household has a dog is 2/3. Assume that the events \Door answered" and \A dog lives here" are independent and also that the outcomes of all calls are independent. (a) Determine the probability that Fred gives away his ¯rst sample on his third call. Solution. This is a Bernoulli process: each call is a Bernoulli trial, and the calls are independent. The probability of success p is: p = P(fthe door is answered g\fa dog is in residenceg) = P(fthe door is answeredg)P(fa dog is in residenceg) 3 2 1 = ¢ = : 4 3 2 Y1, the time of the ¯rst success is a geometric random variable with parameter p, therefore we have: 3¡1 P(Y1 =3)=pY1 (3)=(1¡ 1=2) (1=2) = 1=8: (b) Given that he has given away exactly four samples on his ¯rst eight calls, determine the conditional probability that Fred will give away his ¯fth sample on his eleventh call.
    [Show full text]
  • Twistedpair: Towards Practical Anonymity in the Bitcoin P2P Network
    TwistedPair: Towards Practical Anonymity in the Bitcoin P2P Network Abstract—Recent work has demonstrated significant anonymity vulnerabilities in Bitcoin’s networking stack. In particular, the current mechanism for broadcasting Bitcoin transactions allows third-party observers to link transactions to the IP addresses that originated them. This lays the groundwork for low-cost, large-scale deanonymization attacks. In this Fig. 1: Supernodes can observe flooding metadata to infer work, we present TwistedPair, a first-principles, theoretically- which node was the source of a transaction message (tx). justified defense against large-scale deanonymization attacks. TwistedPair is lightweight, scalable, and completely interoperable with the existing Bitcoin network. We evaluate TwistedPair through experiments on Bitcoin’s mainnet to demonstrate with an overview of Bitcoin’s P2P network, and explain why its interoperability with the current network, as well as low it enables deanonymization attacks. broadcast latency overhead. A. Bitcoin’s P2P Network I. INTRODUCTION Bitcoin nodes are connected over a P2P network of TCP links. This network is used to communicate transactions, the Anonymity is an important property for a financial system, blockchain, and control packets, and it plays a crucial role in especially given the often-sensitive nature of transactions [15]. maintaining the network’s consistency. Each peer is identified Unfortunately, the anonymity protections in Bitcoin and similar by its (IP address, port) combination. Whenever a node gen­ cryptocurrencies can be fragile. This is largely because Bitcoin erates a transaction, it broadcasts a record of the transaction users are identified by cryptographic pseudonyms (a user can over the P2P network; critically, transaction messages do not have multiple pseudonyms).
    [Show full text]
  • Markov Chain 1 Markov Chain
    Markov chain 1 Markov chain A Markov chain, named after Andrey Markov, is a mathematical system that undergoes transitions from one state to another, between a finite or countable number of possible states. It is a random process characterized as memoryless: the next state depends only on the current state and not on the sequence of events that preceded it. This specific kind of "memorylessness" is called the Markov property. Markov chains have many applications as statistical models of real-world processes. A simple two-state Markov chain Introduction Formally, a Markov chain is a random process with the Markov property. Often, the term "Markov chain" is used to mean a Markov process which has a discrete (finite or countable) state-space. Usually a Markov chain is defined for a discrete set of times (i.e., a discrete-time Markov chain)[1] although some authors use the same terminology where "time" can take continuous values.[2][3] The use of the term in Markov chain Monte Carlo methodology covers cases where the process is in discrete time (discrete algorithm steps) with a continuous state space. The following concentrates on the discrete-time discrete-state-space case. A discrete-time random process involves a system which is in a certain state at each step, with the state changing randomly between steps. The steps are often thought of as moments in time, but they can equally well refer to physical distance or any other discrete measurement; formally, the steps are the integers or natural numbers, and the random process is a mapping of these to states.
    [Show full text]
  • Lecture Notes 7 Random Processes • Definition • IID Processes
    Lecture Notes 7 Random Processes Definition • IID Processes • Bernoulli Process • Binomial Counting Process ◦ Interarrival Time Process ◦ Markov Processes • Markov Chains • Classification of States ◦ Steady State Probabilities ◦ Corresponding pages from B&T: 271–281, 313–340. EE 178/278A: Random Processes Page 7–1 Random Processes A random process (also called stochastic process) X(t): t is an infinite • collection of random variables, one for each value of{ time t ∈ T }(or, in some cases distance) ∈T Random processes are used to model random experiments that evolve in time: • Received sequence/waveform at the output of a communication channel ◦ Packet arrival times at a node in a communication network ◦ Thermal noise in a resistor ◦ Scores of an NBA team in consecutive games ◦ Daily price of a stock ◦ Winnings or losses of a gambler ◦ Earth movement around a fault line ◦ EE 178/278A: Random Processes Page 7–2 Questions Involving Random Processes Dependencies of the random variables of the process: • How do future received values depend on past received values? ◦ How do future prices of a stock depend on its past values? ◦ How well do past earth movements predict an earthquake? ◦ Long term averages: • What is the proportion of time a queue is empty? ◦ What is the average noise power generated by a resistor? ◦ Extreme or boundary events: • What is the probability that a link in a communication network is congested? ◦ What is the probability that the maximum power in a power distribution line ◦ is exceeded? What is the probability that a gambler will lose all his capital? ◦ EE 178/278A: Random Processes Page 7–3 Discrete vs.
    [Show full text]
  • Worksheet Chrysafis Vogiatzis
    Lecture 7 Worksheet Chrysafis Vogiatzis Every worksheet will work as follows. 1. You will be entered into a Zoom breakout session with other stu- dents in the class. 2. Read through the worksheet, discussing any questions with the other participants in your breakout session. • You can call me using the “Ask for help” button. • Keep in mind that I will be going through all rooms during the session so it might take me a while to get to you. 3. Answer each question (preferably in the order provided) to the best of your knowledge. 4. While collaboration between students in a breakout session is highly encouraged and expected, each student has to submit their own version. 5. You will have 24 hours (see Compass) to submit your work. Worksheet 1: Basic continuous probability distribution properties Let X be a continuous random variable measuring the current (in milliamperes, mA) in a wire with pdf f (x) = 0.05, for 0 ≤ x ≤ a. Answer the following questions. Problem 1: Valid pdf? What is a if f (x) is a valid pdf? 1 1 Recall that this means that f (x) ≥ 0 (which is clearly true here) and that Answer to Problem 1. R f (x)dx = 1 over all values that random variable X is allowed to take... lecture 7 worksheet 2 Problem 2: Constructing cumulative distribution functions What is the cumulative distribution function? 2 2 How is a cdf defined for continuous random variables? Answer to Problem 2. Problem 3: Calculating probabilities The wire is said to be overheating if the current is more than 10mA.
    [Show full text]