STAT 753 Homework 3 SOLUTIONS

Size: px
Start display at page:

Download "STAT 753 Homework 3 SOLUTIONS"

Transcription

1 STAT 753 Homework 3 SOLUTIONS. Y Weibull distribution W (α, ). The survival function is given by S Y (y) = P r(y y) = e ( y α), y 0, α, > 0. (a) Cumulative distribution and its inverse functions. The cumulative distribution function (CDF) is derived as follows: F Y (y) = P (Y y) = P (Y > y) = S Y (y) = e ( α) y, y 0, α, > 0. The inverse CDF is obtained setting the CDF equal to u and solving y as follows: F Y (y) = x Thus, e ( y α) = x e ( α) y = x ( ) y [ = ln( x) = ln α [ ( y α = ln y = α [ ln )] x ( x )]. x [ ( )] FY (x) = y = α ln, x (0, ). x ] (b) [ ( )] Y = FY (U) = α ln, where U (0, ). U

2 (c) U = F X (x) = x 0 e t dt = e x (d) Y = F Y (u) = F Y = α [ln (e x )] = α(x) (F X (x)) = FY ( e x ) = α [ ln )] ( e x ) Thus, Y = α(x) where X exp() 2. Simulate Y W (α, ) random variates First simulate n standard exponential random variables, X Compute Y = α(x) Below is the R code rweibull<-function(a,b,n) ### A = alpha, { X<-rexp(n) Y<-A*(X^(/B)) B=beta and n=sample size W<-rweibull(2,2,000) # Plot a histogram of the values from Weibull distribution #with parameter (alpha=2,beta=2) and sample size 000 hist(w, freq=false, breaks=20, main = "Histogram of,000 Sample Samples Simulate from Weibull ", xlab = "Values from the weibull distribution", ylab = "Density of Values", col = "orange") 2

3 Histogram of,000 Sample Samples Simulate from Weibull Density of Values Values from the weibull distribution V<-rweibull(2,2,0000) # Plot a histogram of the values from Weibull distribution #with parameter (alpha=2,beta=2) and sample size 000 hist(v, freq=false, breaks=20, main = "Histogram of 0,000 Samples Simulate from Weibull", xlab = "Values from the weibull distribution", ylab = "Density of Values", col = "light blue") 3

4 Histogram of 0,000 Samples Simulate from Weibull Density of Values Values from the weibull distribution 3. Markov Chain Simulation The discrete-time random walk {X n : n = 0,, 2,... on integer values starting at X 0 = 0 and the transition probabilities : P i,i+ = p and P i,i = p # Function to simulate a Markov chain. # Requires the following input: n = number of time #steps in sim, P = transition matrix, x = initial condition MC.sim <- function(n,p,x) { sim <- as.numeric(n) if (missing(x)) { sim[] <- 0 # random initial condition else { sim[] <- x for (i in 2:n) { newstate <- sample(c(-,),,prob=c(-p,p)) +x sim[i] <- newstate x=newstate 4

5 sim (a) Random walk simulation with transition probability : P i,i+ = 0.5 X<-MC.sim(00,0.5,0) [See R code at end for details on plot below] 5

6 (b) Random walk simulation with transition probability : P i,i+ = 0.8 Y<-MC.sim(00,0.8,0) [See R code at end for details on plot below] The difference in the graph is due to the transition probabilities. In the first graph, the process has equal chance of of moving up or down making it change path in any direction. In the second graph, transition probability for upward movement is higher. There is the natural tendency for the process to move upward. 6

7 4. Application of Markov Chain One use of Markov chains in modeling a real-world phenomena in communication system is in the transmission of digits 0 and. Each digit transmitted must pass through several stages, at each of which there is a probability p that the digit entered will be unchanged when it leaves. The {X t : t = 0,, 2, 3, 4,... is two states Markov Chain process with discrete space and discrete time. State space: S = {0, and Time: T = 0,, 2, 3,... The transition probability is given by P ii = p and P ij = p, for i j P = ( p p p p ) 7

8 # STAT 753 Homework 3 solution - simulate a random walk # Simulate a random walk with transition probability p (move right step), and left step with probability -p MC.sim <- function(n,p,x) { sim <- as.numeric(n) if (missing(x)) { sim[] <- 0 # initial condition: start at state 0 else { sim[] <- x for (i in 2:n) { newstate <- sample(c(-,),,prob=c(-p,p)) + x sim[i] <- newstate x = newstate sim # Generate 5 sample paths and plot on same figure p = 0.5 #symmetric case plot(run, type="l", col="blue", ylim=c(-8,8), xlab="time step", ylab="state") points(run, type="l", col="red") points(run, type="l", col="darkgreen") points(run, type="l", col="orange") points(run, type="l", col="magenta") # Generate 5 sample paths and plot on same figure p = 0.8 #asymmetric case plot(run, type="l", col="blue", ylim=c(0,70), xlab="time step", ylab="state") points(run, type="l", col="red") points(run, type="l", col="darkgreen") points(run, type="l", col="orange") points(run, type="l", col="magenta")

Problem 4.4 and 6.16 of Devore discuss the Rayleigh Distribution, whose pdf is x, x > 0; x x 0. x 2 f(x; θ) dx x=0. pe p dp.

Problem 4.4 and 6.16 of Devore discuss the Rayleigh Distribution, whose pdf is x, x > 0; x x 0. x 2 f(x; θ) dx x=0. pe p dp. Math 3070 1. Treibergs Blade Stress Example: Estimate Parameter of Rayleigh Distribution. Name: Example June 15, 2011 Problem 4.4 and 6.16 of Devore discuss the Rayleigh Distribution, whose pdf is ) x

More information

STAT 675 Statistical Computing

STAT 675 Statistical Computing STAT 675 Statistical Computing Solutions to Homework Exercises Chapter 3 Note that some outputs may differ, depending on machine settings, generating seeds, random variate generation, etc. 3.1. Sample

More information

0 otherwise. Page 100 Exercise 9: Suppose that a random variable X has a discrete distribution with the following p.m.f.: { c. 2 x. 0 otherwise.

0 otherwise. Page 100 Exercise 9: Suppose that a random variable X has a discrete distribution with the following p.m.f.: { c. 2 x. 0 otherwise. Stat 42 Solutions for Homework Set 4 Page Exercise 5: Suppose that a box contains seven red balls and three blue balls. If five balls are selected at random, without replacement, determine the p.m.f. of

More information

Likelihoods. P (Y = y) = f(y). For example, suppose Y has a geometric distribution on 1, 2,... with parameter p. Then the pmf is

Likelihoods. P (Y = y) = f(y). For example, suppose Y has a geometric distribution on 1, 2,... with parameter p. Then the pmf is Likelihoods The distribution of a random variable Y with a discrete sample space (e.g. a finite sample space or the integers) can be characterized by its probability mass function (pmf): P (Y = y) = f(y).

More information

STAT 509 Section 3.4: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s.

STAT 509 Section 3.4: Continuous Distributions. Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s. STAT 509 Section 3.4: Continuous Distributions Probability distributions are used a bit differently for continuous r.v. s than for discrete r.v. s. A continuous random variable is one for which the outcome

More information

Statistical Data Mining and Medical Signal Detection. Lecture Five: Stochastic Algorithms and MCMC. July 6, Motoya Machida

Statistical Data Mining and Medical Signal Detection. Lecture Five: Stochastic Algorithms and MCMC. July 6, Motoya Machida Statistical Data Mining and Medical Signal Detection Lecture Five: Stochastic Algorithms and MCMC July 6, 2011 Motoya Machida (mmachida@tntech.edu) Statistical Data Mining 1/20 Plotting Density Functions

More information

57:022 Principles of Design II Final Exam Solutions - Spring 1997

57:022 Principles of Design II Final Exam Solutions - Spring 1997 57:022 Principles of Design II Final Exam Solutions - Spring 1997 Part: I II III IV V VI Total Possible Pts: 52 10 12 16 13 12 115 PART ONE Indicate "+" if True and "o" if False: + a. If a component's

More information

TMA 4265 Stochastic Processes Semester project, fall 2014 Student number and

TMA 4265 Stochastic Processes Semester project, fall 2014 Student number and TMA 4265 Stochastic Processes Semester project, fall 2014 Student number 730631 and 732038 Exercise 1 We shall study a discrete Markov chain (MC) {X n } n=0 with state space S = {0, 1, 2, 3, 4, 5, 6}.

More information

Statistical Quality Control IE 3255 Spring 2005 Solution HomeWork #2

Statistical Quality Control IE 3255 Spring 2005 Solution HomeWork #2 Statistical Quality Control IE 3255 Spring 25 Solution HomeWork #2. (a)stem-and-leaf, No of samples, N = 8 Leaf Unit =. Stem Leaf Frequency 2+ 3-3+ 4-4+ 5-5+ - + 7-8 334 77978 33333242344 585958988995

More information

CHAPTER 3 ANALYSIS OF RELIABILITY AND PROBABILITY MEASURES

CHAPTER 3 ANALYSIS OF RELIABILITY AND PROBABILITY MEASURES 27 CHAPTER 3 ANALYSIS OF RELIABILITY AND PROBABILITY MEASURES 3.1 INTRODUCTION The express purpose of this research is to assimilate reliability and its associated probabilistic variables into the Unit

More information

Solutions. Some of the problems that might be encountered in collecting data on check-in times are:

Solutions. Some of the problems that might be encountered in collecting data on check-in times are: Solutions Chapter 7 E7.1 Some of the problems that might be encountered in collecting data on check-in times are: Need to collect separate data for each airline (time and cost). Need to collect data for

More information

Will Landau. Feb 21, 2013

Will Landau. Feb 21, 2013 Iowa State University Feb 21, 2013 Iowa State University Feb 21, 2013 1 / 31 Outline Iowa State University Feb 21, 2013 2 / 31 random variables Two types of random variables: Discrete random variable:

More information

Lecture 3-4: Probability models for time series

Lecture 3-4: Probability models for time series Lecture 3-4, page 1 Lecture 3-4: Probability models for time series Outline of lesson 3-4 (chapter 3) The most heavy (and theoretical) part (and lesson) AR(p) processes MA(q) processes ARMA(p,q) processes

More information

k-means clustering mark = which(md == min(md)) nearest[i] = ifelse(mark <= 5, "blue", "orange")}

k-means clustering mark = which(md == min(md)) nearest[i] = ifelse(mark <= 5, blue, orange)} 1 / 16 k-means clustering km15 = kmeans(x[g==0,],5) km25 = kmeans(x[g==1,],5) for(i in 1:6831){ md = c(mydist(xnew[i,],km15$center[1,]),mydist(xnew[i,],km15$center[2, mydist(xnew[i,],km15$center[3,]),mydist(xnew[i,],km15$center[4,]),

More information

GPoM : 2 PreProcessing

GPoM : 2 PreProcessing GPoM : 2 PreProcessing Sylvain Mangiarotti & Mireille Huc 2018-07-26 Pre-processing for global modelling To obtain Ordinary Differential Equations (ODEs) from time series requires the computation of its

More information

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued Chapter 3 sections Chapter 3 - continued 3.1 Random Variables and Discrete Distributions 3.2 Continuous Distributions 3.3 The Cumulative Distribution Function 3.4 Bivariate Distributions 3.5 Marginal Distributions

More information

Project Two. James K. Peterson. March 26, Department of Biological Sciences and Department of Mathematical Sciences Clemson University

Project Two. James K. Peterson. March 26, Department of Biological Sciences and Department of Mathematical Sciences Clemson University Project Two James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University March 26, 2019 Outline 1 Cooling Models 2 Estimating the Cooling Rate k 3 Typical

More information

Project Two. Outline. James K. Peterson. March 27, Cooling Models. Estimating the Cooling Rate k. Typical Cooling Project Matlab Session

Project Two. Outline. James K. Peterson. March 27, Cooling Models. Estimating the Cooling Rate k. Typical Cooling Project Matlab Session Project Two James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University March 27, 2018 Outline Cooling Models Estimating the Cooling Rate k Typical Cooling

More information

Distributed Systems Gossip Algorithms

Distributed Systems Gossip Algorithms Distributed Systems Gossip Algorithms He Sun School of Informatics University of Edinburgh What is Gossip? Gossip algorithms In a gossip algorithm, each node in the network periodically exchanges information

More information

13! (52 13)! 52! =

13! (52 13)! 52! = Thermo and Intro to Stat Mech 018 Homework assignment 1, Problem 1: What is the probability that all 13 cards on a hand (in bridge for example) are of the same kind, for example all spades? There are 5

More information

57:022 Principles of Design II Midterm Exam #2 Solutions

57:022 Principles of Design II Midterm Exam #2 Solutions 57:022 Principles of Design II Midterm Exam #2 Solutions Part: I II III IV V Total Possible Pts: 20 15 12 16 12 75 PART ONE Indicate "+" if True and "O" if False: _+_a. If a component's lifetime has exponential

More information

The Boundary Problem: Markov Chain Solution

The Boundary Problem: Markov Chain Solution MATH 529 The Boundary Problem: Markov Chain Solution Consider a random walk X that starts at positive height j, and on each independent step, moves upward a units with probability p, moves downward b units

More information

General Boundary Problem: System of Equations Solution

General Boundary Problem: System of Equations Solution MATH 54 General Boundary Problem: System of Equations Solution Consider again the scenario of a random walk X that starts at positive height j, and on each independent step, moves upward a units with probability

More information

MATH 564/STAT 555 Applied Stochastic Processes Homework 2, September 18, 2015 Due September 30, 2015

MATH 564/STAT 555 Applied Stochastic Processes Homework 2, September 18, 2015 Due September 30, 2015 ID NAME SCORE MATH 56/STAT 555 Applied Stochastic Processes Homework 2, September 8, 205 Due September 30, 205 The generating function of a sequence a n n 0 is defined as As : a ns n for all s 0 for which

More information

W = 2 log U 1 and V = 2πU 2, We need the (absolute) determinant of the partial derivative matrix ye (1/2)(x2 +y 2 ) x x 2 +y 2.

W = 2 log U 1 and V = 2πU 2, We need the (absolute) determinant of the partial derivative matrix ye (1/2)(x2 +y 2 ) x x 2 +y 2. Stat 591 Homework 05 Solutions 1. (a) First, let X be a random variable with distribution function F, and assume that F is strictly increasing and continuous. Define U = F (X); the claim is that U Unif(0,

More information

10.1 Generate n = 100 standard lognormal data points via the R commands

10.1 Generate n = 100 standard lognormal data points via the R commands STAT 675 Statistical Computing Solutions to Homework Exercises Chapter 10 Note that some outputs may differ, depending on machine settings, generating seeds, random variate generation, etc. 10.1 Generate

More information

STAT 3610: Review of Probability Distributions

STAT 3610: Review of Probability Distributions STAT 3610: Review of Probability Distributions Mark Carpenter Professor of Statistics Department of Mathematics and Statistics August 25, 2015 Support of a Random Variable Definition The support of a random

More information

LANGEBIO - BIOSTATISTICS

LANGEBIO - BIOSTATISTICS LANGEBIO - BIOSTATISTICS OCTAVIO MARTÍNEZ DE LA VEGA 7. Continuous Random Variables So far we have been studying random variables which result from counting. However, in many cases we measure something

More information

10 Introduction to Reliability

10 Introduction to Reliability 0 Introduction to Reliability 10 Introduction to Reliability The following notes are based on Volume 6: How to Analyze Reliability Data, by Wayne Nelson (1993), ASQC Press. When considering the reliability

More information

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued

Chapter 3 sections. SKIP: 3.10 Markov Chains. SKIP: pages Chapter 3 - continued Chapter 3 sections 3.1 Random Variables and Discrete Distributions 3.2 Continuous Distributions 3.3 The Cumulative Distribution Function 3.4 Bivariate Distributions 3.5 Marginal Distributions 3.6 Conditional

More information

A population is modeled by the differential equation

A population is modeled by the differential equation Math 2, Winter 2016 Weekly Homework #8 Solutions 9.1.9. A population is modeled by the differential equation dt = 1.2 P 1 P ). 4200 a) For what values of P is the population increasing? P is increasing

More information

MA : Introductory Probability

MA : Introductory Probability MA 320-001: Introductory Probability David Murrugarra Department of Mathematics, University of Kentucky http://www.math.uky.edu/~dmu228/ma320/ Spring 2017 David Murrugarra (University of Kentucky) MA 320:

More information

Appendix A. Common Mathematical Operations in Chemistry

Appendix A. Common Mathematical Operations in Chemistry Appendix A Common Mathematical Operations in Chemistry In addition to basic arithmetic and algebra, four mathematical operations are used frequently in general chemistry: manipulating logarithms, using

More information

Review. DS GA 1002 Statistical and Mathematical Models. Carlos Fernandez-Granda

Review. DS GA 1002 Statistical and Mathematical Models.   Carlos Fernandez-Granda Review DS GA 1002 Statistical and Mathematical Models http://www.cims.nyu.edu/~cfgranda/pages/dsga1002_fall16 Carlos Fernandez-Granda Probability and statistics Probability: Framework for dealing with

More information

Stat 512 Homework key 2

Stat 512 Homework key 2 Stat 51 Homework key October 4, 015 REGULAR PROBLEMS 1 Suppose continuous random variable X belongs to the family of all distributions having a linear probability density function (pdf) over the interval

More information

ST745: Survival Analysis: Parametric

ST745: Survival Analysis: Parametric ST745: Survival Analysis: Parametric Eric B. Laber Department of Statistics, North Carolina State University January 13, 2015 ...the statistician knows... that in nature there never was a normal distribution,

More information

Review 1: STAT Mark Carpenter, Ph.D. Professor of Statistics Department of Mathematics and Statistics. August 25, 2015

Review 1: STAT Mark Carpenter, Ph.D. Professor of Statistics Department of Mathematics and Statistics. August 25, 2015 Review : STAT 36 Mark Carpenter, Ph.D. Professor of Statistics Department of Mathematics and Statistics August 25, 25 Support of a Random Variable The support of a random variable, which is usually denoted

More information

Stat 451 Homework 05 Solutions 1

Stat 451 Homework 05 Solutions 1 Stat 45 Homework 05 Solutions. (a) Suppose we want to simulate X F but F is not available in closedform. We can implement the inverse CDF method by incorporating Newton s method. That is, sample U Unif(0,

More information

Lecture 15: MCMC Sanjeev Arora Elad Hazan. COS 402 Machine Learning and Artificial Intelligence Fall 2016

Lecture 15: MCMC Sanjeev Arora Elad Hazan. COS 402 Machine Learning and Artificial Intelligence Fall 2016 Lecture 15: MCMC Sanjeev Arora Elad Hazan COS 402 Machine Learning and Artificial Intelligence Fall 2016 Course progress Learning from examples Definition + fundamental theorem of statistical learning,

More information

ECE Homework Set 2

ECE Homework Set 2 1 Solve these problems after Lecture #4: Homework Set 2 1. Two dice are tossed; let X be the sum of the numbers appearing. a. Graph the CDF, FX(x), and the pdf, fx(x). b. Use the CDF to find: Pr(7 X 9).

More information

Applied Statistics and Probability for Engineers. Sixth Edition. Chapter 4 Continuous Random Variables and Probability Distributions.

Applied Statistics and Probability for Engineers. Sixth Edition. Chapter 4 Continuous Random Variables and Probability Distributions. Applied Statistics and Probability for Engineers Sixth Edition Douglas C. Montgomery George C. Runger Chapter 4 Continuous Random Variables and Probability Distributions 4 Continuous CHAPTER OUTLINE Random

More information

Chapter 4 Continuous Random Variables and Probability Distributions

Chapter 4 Continuous Random Variables and Probability Distributions Applied Statistics and Probability for Engineers Sixth Edition Douglas C. Montgomery George C. Runger Chapter 4 Continuous Random Variables and Probability Distributions 4 Continuous CHAPTER OUTLINE 4-1

More information

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks

Recap. Probability, stochastic processes, Markov chains. ELEC-C7210 Modeling and analysis of communication networks Recap Probability, stochastic processes, Markov chains ELEC-C7210 Modeling and analysis of communication networks 1 Recap: Probability theory important distributions Discrete distributions Geometric distribution

More information

MALA versus Random Walk Metropolis Dootika Vats June 4, 2017

MALA versus Random Walk Metropolis Dootika Vats June 4, 2017 MALA versus Random Walk Metropolis Dootika Vats June 4, 2017 Introduction My research thus far has predominantly been on output analysis for Markov chain Monte Carlo. The examples on which I have implemented

More information

The Geometric Random Walk: More Applications to Gambling

The Geometric Random Walk: More Applications to Gambling MATH 540 The Geometric Random Walk: More Applications to Gambling Dr. Neal, Spring 2008 We now shall study properties of a random walk process with only upward or downward steps that is stopped after the

More information

HW7 Solutions. f(x) = 0 otherwise. 0 otherwise. The density function looks like this: = 20 if x [10, 90) if x [90, 100]

HW7 Solutions. f(x) = 0 otherwise. 0 otherwise. The density function looks like this: = 20 if x [10, 90) if x [90, 100] HW7 Solutions. 5 pts.) James Bond James Bond, my favorite hero, has again jumped off a plane. The plane is traveling from from base A to base B, distance km apart. Now suppose the plane takes off from

More information

ON A GENERALIZATION OF THE GUMBEL DISTRIBUTION

ON A GENERALIZATION OF THE GUMBEL DISTRIBUTION ON A GENERALIZATION OF THE GUMBEL DISTRIBUTION S. Adeyemi Department of Mathematics Obafemi Awolowo University, Ile-Ife. Nigeria.0005 e-mail:shollerss00@yahoo.co.uk Abstract A simple generalization of

More information

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER.

Two hours. To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER. Two hours MATH38181 To be supplied by the Examinations Office: Mathematical Formula Tables and Statistical Tables THE UNIVERSITY OF MANCHESTER EXTREME VALUES AND FINANCIAL RISK Examiner: Answer any FOUR

More information

Continuous random variables

Continuous random variables Continuous random variables Continuous r.v. s take an uncountably infinite number of possible values. Examples: Heights of people Weights of apples Diameters of bolts Life lengths of light-bulbs We cannot

More information

The Moment Method; Convex Duality; and Large/Medium/Small Deviations

The Moment Method; Convex Duality; and Large/Medium/Small Deviations Stat 928: Statistical Learning Theory Lecture: 5 The Moment Method; Convex Duality; and Large/Medium/Small Deviations Instructor: Sham Kakade The Exponential Inequality and Convex Duality The exponential

More information

8. Statistical Equilibrium and Classification of States: Discrete Time Markov Chains

8. Statistical Equilibrium and Classification of States: Discrete Time Markov Chains 8. Statistical Equilibrium and Classification of States: Discrete Time Markov Chains 8.1 Review 8.2 Statistical Equilibrium 8.3 Two-State Markov Chain 8.4 Existence of P ( ) 8.5 Classification of States

More information

Package gumbel. February 15, 2013

Package gumbel. February 15, 2013 Package gumbel February 15, 2013 Type Package Title Gumbel copula Version 1.04 Date 2012-07-31 Author Anne-Lise Caillat, Christophe Dutang, V eronique Larrieu and Triet Nguyen Maintainer Christophe Dutang

More information

Sequence. A list of numbers written in a definite order.

Sequence. A list of numbers written in a definite order. Sequence A list of numbers written in a definite order. Terms of a Sequence a n = 2 n 2 1, 2 2, 2 3, 2 4, 2 n, 2, 4, 8, 16, 2 n We are going to be mainly concerned with infinite sequences. This means we

More information

The final is cumulative, but with more emphasis on chapters 3 and 4. There will be two parts.

The final is cumulative, but with more emphasis on chapters 3 and 4. There will be two parts. Math 141 Review for Final The final is cumulative, but with more emphasis on chapters 3 and 4. There will be two parts. Part 1 (no calculator) graphing (polynomial, rational, linear, exponential, and logarithmic

More information

Nonlinear Modeling lab A

Nonlinear Modeling lab A Nonlinear Modeling lab A library(islr) attach(wage) fit=lm(wage~poly(age,4),data=wage) fit2=lm(wage~poly(age,4,raw=t),data=wage) fit2a=lm(wage~age+i(age^2)+i(age^3)+i(age^4),data=wage) fit2b=lm(wage~cbind(age,age^2,age^3,age^4),data=wage)

More information

Math489/889 Stochastic Processes and Advanced Mathematical Finance Solutions for Homework 7

Math489/889 Stochastic Processes and Advanced Mathematical Finance Solutions for Homework 7 Math489/889 Stochastic Processes and Advanced Mathematical Finance Solutions for Homework 7 Steve Dunbar Due Mon, November 2, 2009. Time to review all of the information we have about coin-tossing fortunes

More information

Reminder:!! homework grades and comments are on OAK!! my solutions are on the course web site

Reminder:!! homework grades and comments are on OAK!! my solutions are on the course web site PSY318 Week 10 Reminder: homework grades and comments are on OAK my solutions are on the course web site Modeling Response Times Nosofsky & Palmeri (1997) Nosofsky & Palmeri (1997) Palmeri (1997) Response

More information

Continuous RVs. 1. Suppose a random variable X has the following probability density function: π, zero otherwise. f ( x ) = sin x, 0 < x < 2

Continuous RVs. 1. Suppose a random variable X has the following probability density function: π, zero otherwise. f ( x ) = sin x, 0 < x < 2 STAT 4 Exam I Continuous RVs Fall 7 Practice. Suppose a random variable X has the following probability density function: f ( x ) = sin x, < x < π, zero otherwise. a) Find P ( X < 4 π ). b) Find µ = E

More information

Convex Optimization CMU-10725

Convex Optimization CMU-10725 Convex Optimization CMU-10725 Simulated Annealing Barnabás Póczos & Ryan Tibshirani Andrey Markov Markov Chains 2 Markov Chains Markov chain: Homogen Markov chain: 3 Markov Chains Assume that the state

More information

PROBABILITY DISTRIBUTIONS

PROBABILITY DISTRIBUTIONS Review of PROBABILITY DISTRIBUTIONS Hideaki Shimazaki, Ph.D. http://goo.gl/visng Poisson process 1 Probability distribution Probability that a (continuous) random variable X is in (x,x+dx). ( ) P x < X

More information

These notes will supplement the textbook not replace what is there. defined for α >0

These notes will supplement the textbook not replace what is there. defined for α >0 Gamma Distribution These notes will supplement the textbook not replace what is there. Gamma Function ( ) = x 0 e dx 1 x defined for >0 Properties of the Gamma Function 1. For any >1 () = ( 1)( 1) Proof

More information

Package QRegVCM. March 16, 2018

Package QRegVCM. March 16, 2018 Type Package Package QRegVCM March 16, 2018 Title Quantile Regression in Varying-Coefficient Models Version 1.2 Date 2018-02-26 Author 'Andriyana, Y.' [aut, cre], 'Ibrahim M. A.' [aut], 'Gijbels, I.' [ctb],

More information

The Chi-Square Distributions

The Chi-Square Distributions MATH 03 The Chi-Square Distributions Dr. Neal, Spring 009 The chi-square distributions can be used in statistics to analyze the standard deviation of a normally distributed measurement and to test the

More information

Reliability of Technical Systems

Reliability of Technical Systems Main Topics 1. Introduction, Key Terms, Framing the Problem 2. Reliability Parameters: Failure Rate, Failure Probability, etc. 3. Some Important Reliability Distributions 4. Component Reliability 5. Software

More information

Reliability Engineering I

Reliability Engineering I Happiness is taking the reliability final exam. Reliability Engineering I ENM/MSC 565 Review for the Final Exam Vital Statistics What R&M concepts covered in the course When Monday April 29 from 4:30 6:00

More information

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institute of Technology Kharagpur

Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institute of Technology Kharagpur Probability Methods in Civil Engineering Prof. Dr. Rajib Maity Department of Civil Engineering Indian Institute of Technology Kharagpur Lecture No. #13 Probability Distribution of Continuous RVs (Contd

More information

Package ssize. R topics documented: February 16, Title Estimate Microarray Sample Size Version Date

Package ssize. R topics documented: February 16, Title Estimate Microarray Sample Size Version Date Title Estimate Microarray Sample Size Version 1.53.0 Date 2012-06-07 Package ssize February 16, 2018 Author Gregory R. Warnes, Peng Liu, and Fasheng Li Description Functions for computing and displaying

More information

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY GRADUATE DIPLOMA, 2016 MODULE 1 : Probability distributions Time allowed: Three hours Candidates should answer FIVE questions. All questions carry equal marks.

More information

ECE 650 1/11. Homework Sets 1-3

ECE 650 1/11. Homework Sets 1-3 ECE 650 1/11 Note to self: replace # 12, # 15 Homework Sets 1-3 HW Set 1: Review Assignment from Basic Probability 1. Suppose that the duration in minutes of a long-distance phone call is exponentially

More information

The Chi-Square Distributions

The Chi-Square Distributions MATH 183 The Chi-Square Distributions Dr. Neal, WKU The chi-square distributions can be used in statistics to analyze the standard deviation σ of a normally distributed measurement and to test the goodness

More information

STOCHASTIC MODELS LECTURE 1 MARKOV CHAINS. Nan Chen MSc Program in Financial Engineering The Chinese University of Hong Kong (ShenZhen) Sept.

STOCHASTIC MODELS LECTURE 1 MARKOV CHAINS. Nan Chen MSc Program in Financial Engineering The Chinese University of Hong Kong (ShenZhen) Sept. STOCHASTIC MODELS LECTURE 1 MARKOV CHAINS Nan Chen MSc Program in Financial Engineering The Chinese University of Hong Kong (ShenZhen) Sept. 6, 2016 Outline 1. Introduction 2. Chapman-Kolmogrov Equations

More information

Practical Applications of Reliability Theory

Practical Applications of Reliability Theory Practical Applications of Reliability Theory George Dodson Spallation Neutron Source Managed by UT-Battelle Topics Reliability Terms and Definitions Reliability Modeling as a tool for evaluating system

More information

Math Practice Exam 3 - solutions

Math Practice Exam 3 - solutions Math 181 - Practice Exam 3 - solutions Problem 1 Consider the function h(x) = (9x 2 33x 25)e 3x+1. a) Find h (x). b) Find all values of x where h (x) is zero ( critical values ). c) Using the sign pattern

More information

Irreducibility. Irreducible. every state can be reached from every other state For any i,j, exist an m 0, such that. Absorbing state: p jj =1

Irreducibility. Irreducible. every state can be reached from every other state For any i,j, exist an m 0, such that. Absorbing state: p jj =1 Irreducibility Irreducible every state can be reached from every other state For any i,j, exist an m 0, such that i,j are communicate, if the above condition is valid Irreducible: all states are communicate

More information

Semiconductor Reliability

Semiconductor Reliability Semiconductor Reliability. Semiconductor Device Failure Region Below figure shows the time-dependent change in the semiconductor device failure rate. Discussions on failure rate change in time often classify

More information

Homework 5, Problem 1 Andrii Baryshpolets 6 April 2017

Homework 5, Problem 1 Andrii Baryshpolets 6 April 2017 Homework 5, Problem 1 Andrii Baryshpolets 6 April 2017 Total Private Residential Construction Spending library(quandl) Warning: package 'Quandl' was built under R version 3.3.3 Loading required package:

More information

Scientific Notation. exploration. 1. Complete the table of values for the powers of ten M8N1.j. 110 Holt Mathematics

Scientific Notation. exploration. 1. Complete the table of values for the powers of ten M8N1.j. 110 Holt Mathematics exploration Georgia Performance Standards M8N1.j 1. Complete the table of values for the powers of ten. Exponent 6 10 6 5 10 5 4 10 4 Power 3 10 3 2 10 2 1 1 0 2 1 0.01 10 10 1 10 1 1 1 0 1 1 0.1 10 0

More information

Example A. Define X = number of heads in ten tosses of a coin. What are the values that X may assume?

Example A. Define X = number of heads in ten tosses of a coin. What are the values that X may assume? Stat 400, section.1-.2 Random Variables & Probability Distributions notes by Tim Pilachowski For a given situation, or experiment, observations are made and data is recorded. A sample space S must contain

More information

Experiment #1. Math Review

Experiment #1. Math Review A. Scientific notation and Significant Figures Experiment #1. Math Review While entering a number in scientific notation in your calculator, look for the EE or the exp key on your calculator. For example

More information

Math 31S. Rumbos Fall Solutions to Exam 1

Math 31S. Rumbos Fall Solutions to Exam 1 Math 31S. Rumbos Fall 2011 1 Solutions to Exam 1 1. When people smoke, carbon monoxide is released into the air. Suppose that in a room of volume 60 m 3, air containing 5% carbon monoxide is introduced

More information

R ij = 2. Using all of these facts together, you can solve problem number 9.

R ij = 2. Using all of these facts together, you can solve problem number 9. Help for Homework Problem #9 Let G(V,E) be any undirected graph We want to calculate the travel time across the graph. Think of each edge as one resistor of 1 Ohm. Say we have two nodes: i and j Let the

More information

ITSx: Policy Analysis Using Interrupted Time Series

ITSx: Policy Analysis Using Interrupted Time Series ITSx: Policy Analysis Using Interrupted Time Series Week 3 Slides Michael Law, Ph.D. The University of British Columbia Layout of the weeks 1. Introduction, setup, data sources 2. Single series interrupted

More information

Calculus with Algebra and Trigonometry II Lecture 21 Probability applications

Calculus with Algebra and Trigonometry II Lecture 21 Probability applications Calculus with Algebra and Trigonometry II Lecture 21 Probability applications Apr 16, 215 Calculus with Algebra and Trigonometry II Lecture 21Probability Apr applications 16, 215 1 / 1 Histograms The distribution

More information

Probability Distributions for Continuous Variables. Probability Distributions for Continuous Variables

Probability Distributions for Continuous Variables. Probability Distributions for Continuous Variables Probability Distributions for Continuous Variables Probability Distributions for Continuous Variables Let X = lake depth at a randomly chosen point on lake surface If we draw the histogram so that the

More information

Continuous Random Variables

Continuous Random Variables MATH 38 Continuous Random Variables Dr. Neal, WKU Throughout, let Ω be a sample space with a defined probability measure P. Definition. A continuous random variable is a real-valued function X defined

More information

SOLUTION FOR HOMEWORK 8, STAT 4372

SOLUTION FOR HOMEWORK 8, STAT 4372 SOLUTION FOR HOMEWORK 8, STAT 4372 Welcome to your 8th homework. Here you have an opportunity to solve classical estimation problems which are the must to solve on the exam due to their simplicity. 1.

More information

Dispersion of a flow that passes a dynamic structure. 5*t 5*t. Time

Dispersion of a flow that passes a dynamic structure. 5*t 5*t. Time > # PROJECT > # ======= > # Principles of Modelling and Simulation in Epidemiology > # Laboratory exercise 1 > # > # DESCRIPTION > # =========== > # Suggestions of solutions > > # THOR AND DATE > # Andreas

More information

PROBLEMS FOR EXPERIMENT ES: ESTIMATING A SECOND Solutions

PROBLEMS FOR EXPERIMENT ES: ESTIMATING A SECOND Solutions Massachusetts Institute of Technology Physics Department 801X Fall 2002 PROBLEMS FOR EXPERIMENT ES: ESTIMATING A SECOND Solutions Problem 1: Use your calculator or your favorite software program to compute

More information

1. Let X and Y be independent exponential random variables with rate α. Find the densities of the random variables X 3, X Y, min(x, Y 3 )

1. Let X and Y be independent exponential random variables with rate α. Find the densities of the random variables X 3, X Y, min(x, Y 3 ) 1 Introduction These problems are meant to be practice problems for you to see if you have understood the material reasonably well. They are neither exhaustive (e.g. Diffusions, continuous time branching

More information

Chapter 4: CONTINUOUS RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS

Chapter 4: CONTINUOUS RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS Chapter 4: CONTINUOUS RANDOM VARIABLES AND PROBABILITY DISTRIBUTIONS Part 4: Gamma Distribution Weibull Distribution Lognormal Distribution Sections 4-9 through 4-11 Another exponential distribution example

More information

IEOR 4703: Homework 2 Solutions

IEOR 4703: Homework 2 Solutions IEOR 4703: Homework 2 Solutions Exercises for which no programming is required Let U be uniformly distributed on the interval (0, 1); P (U x) = x, x (0, 1). We assume that your computer can sequentially

More information

Use of Eigen values and eigen vectors to calculate higher transition probabilities

Use of Eigen values and eigen vectors to calculate higher transition probabilities The Lecture Contains : Markov-Bernoulli Chain Note Assignments Random Walks which are correlated Actual examples of Markov Chains Examples Use of Eigen values and eigen vectors to calculate higher transition

More information

Propp-Wilson Algorithm (and sampling the Ising model)

Propp-Wilson Algorithm (and sampling the Ising model) Propp-Wilson Algorithm (and sampling the Ising model) Danny Leshem, Nov 2009 References: Haggstrom, O. (2002) Finite Markov Chains and Algorithmic Applications, ch. 10-11 Propp, J. & Wilson, D. (1996)

More information

Markov Chains Absorption (cont d) Hamid R. Rabiee

Markov Chains Absorption (cont d) Hamid R. Rabiee Markov Chains Absorption (cont d) Hamid R. Rabiee 1 Absorbing Markov Chain An absorbing state is one in which the probability that the process remains in that state once it enters the state is 1 (i.e.,

More information

CHM112 Lab Math Review Grading Rubric

CHM112 Lab Math Review Grading Rubric Name CHM112 Lab Math Review Grading Rubric Criteria Points possible Points earned A. Simple Algebra 4 B. Scientific Notation and Significant Figures (0.5 points each question) C1. Evaluating log and ln

More information

Markov Chains Absorption Hamid R. Rabiee

Markov Chains Absorption Hamid R. Rabiee Markov Chains Absorption Hamid R. Rabiee Absorbing Markov Chain An absorbing state is one in which the probability that the process remains in that state once it enters the state is (i.e., p ii = ). A

More information

Defining Exponential Functions and Exponential Derivatives and Integrals

Defining Exponential Functions and Exponential Derivatives and Integrals Defining Exponential Functions and Exponential Derivatives and Integrals James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University February 19, 2014

More information

Lecture V: Multicanonical Simulations.

Lecture V: Multicanonical Simulations. Lecture V: Multicanonical Simulations. 1. Multicanonical Ensemble 2. How to get the Weights? 3. Example Runs (2d Ising and Potts models) 4. Re-Weighting to the Canonical Ensemble 5. Energy and Specific

More information

Stochastic modelling of epidemic spread

Stochastic modelling of epidemic spread Stochastic modelling of epidemic spread Julien Arino Centre for Research on Inner City Health St Michael s Hospital Toronto On leave from Department of Mathematics University of Manitoba Julien Arino@umanitoba.ca

More information