Docsity

ISYE 6644 MIDTERM EXAM.pdf, Exams of Nursing

Toggle sidebar
bg1
ISYE 6644 MIDTERM EXAM /WITH 100% CORRECT
ANSWERS
Graphically, what is an indication that your pseudorandom number generator is "no
good" (M1L7). - CORRECT ANSWERS -Example was graphing two "random variates"
in the x-y plane that were generated from uniform distributions transformed into normal
distr (Box Muller Method). If a pattern in the graph appears, this is "bad." You expect
lots of random points clustered around the center that spread out evenly in all directions
from the center. Spiral patterns = no good.
In Queuing models, what does each part of the Kendall notation mean: A/B/C (general
version) applied to a M/M/1 (a specific version)(M1L7)? - CORRECT ANSWERS -A =
Distrib of arrival times
B = Distrib. of service times
C = # of servers in the system
M = arrival times are Poisson process (lambda)
M = exponential service times (mu)
1 = a single server
"M" stands for Markov, but really it means exponential?
Describe what a "random walk" model is and what "motion" it converges to (M1L7)? -
CORRECT ANSWERS -Model where the variable "step" size changes randomly with
each time increment (step size = randomly sampled from a normal distribution?).
Converges to Brownian Motion: as time steps become smaller and # of steps larger.
Continuous time, stochastic.
Random samples from which distribution can be transformed into random variables of
any other distribution (M1L8)? - CORRECT ANSWERS -Uniform (0, 1)
What specific pseudorandom number generating algorithm was covered in detail in
Module 1? It involves choosing a seed value, two carefully chosen constants a and m,
using the modulus operator, and then normalizing all values to fit between 0 and 1 by
dividing by m (M1L8). - CORRECT ANSWERS -Linear Congruential Generator (LCG).
The Desert Island Generator is is an LCG with a=16807 and m = 2^31 - 1 (a very large
prime number.
X(i) = 16807X(i - 1) mod (2^31 - 1)
U(i) = X(i) / m
What are the 3 general steps for the inverse transform method (M1L8)? - CORRECT
ANSWERS -1. Generate the Unif (0, 1) PRN (U_i)
pf3
pf4

Partial preview of the text

Download ISYE 6644 MIDTERM EXAM.pdf and more Exams Nursing in PDF only on Docsity!

ISYE 6644 MIDTERM EXAM /WITH 100% CORRECT

ANSWERS

Graphically, what is an indication that your pseudorandom number generator is "no good" (M1L7). - CORRECT ANSWERS - Example was graphing two "random variates" in the x-y plane that were generated from uniform distributions transformed into normal distr (Box Muller Method). If a pattern in the graph appears, this is "bad." You expect lots of random points clustered around the center that spread out evenly in all directions from the center. Spiral patterns = no good. In Queuing models, what does each part of the Kendall notation mean: A/B/C (general version) applied to a M/M/1 (a specific version)(M1L7)? - CORRECT ANSWERS - A = Distrib of arrival times B = Distrib. of service times C = # of servers in the system M = arrival times are Poisson process (lambda) M = exponential service times (mu) 1 = a single server "M" stands for Markov, but really it means exponential? Describe what a "random walk" model is and what "motion" it converges to (M1L7)? - CORRECT ANSWERS - Model where the variable "step" size changes randomly with each time increment (step size = randomly sampled from a normal distribution?). Converges to Brownian Motion: as time steps become smaller and # of steps larger. Continuous time, stochastic. Random samples from which distribution can be transformed into random variables of any other distribution (M1L8)? - CORRECT ANSWERS - Uniform (0, 1) What specific pseudorandom number generating algorithm was covered in detail in Module 1? It involves choosing a seed value, two carefully chosen constants a and m, using the modulus operator, and then normalizing all values to fit between 0 and 1 by dividing by m (M1L8). - CORRECT ANSWERS - Linear Congruential Generator (LCG). The Desert Island Generator is is an LCG with a=16807 and m = 2^31 - 1 (a very large prime number. X(i) = 16807X(i - 1) mod (2^31 - 1) U(i) = X(i) / m What are the 3 general steps for the inverse transform method (M1L8)? - CORRECT ANSWERS - 1. Generate the Unif (0, 1) PRN (U_i)

  1. For the desired probability distribution, get the inverse of its CDF (F^-1(U_i)). This involves setting the CDF (F(X)) equal to U, and then solving for X (X will by F^-1(U), a function of U).
  2. Plugging in U values from #1 into #2, gets a random variable from the desired distribution! Which probability distribution does the following approximate:
  • (1/lamba)ln(U_i)? True or False: ln(1 - U_i) can also be used in the above equation (M1L8). - CORRECT ANSWERS - Exponential Distribution is simulation (M1L3)? - CORRECT ANSWERS - Imitation of a real-world process or system over time. What is a model (M1L3)? - CORRECT ANSWERS - High-level representations of the operation of a real-word process or system. Is the following a discrete or continuous model: 1 customer shows up and waits in line, and then another, and so on (M1L3). - CORRECT ANSWERS - Discrete model Is the following a discrete or continuous model: An hourly weather prediction for precipitation over time (M1L3). - CORRECT ANSWERS - Continuous model Is the following a stochastic or deterministic model: Calls that randomly arrive at a call center (M1L3). - CORRECT ANSWERS - Stochastic model Is the following a stochastic or deterministic model: Predicting the voltage if we know the current and resistance in a circuit (M1L3). - CORRECT ANSWERS - Deterministic model What does it mean for a model to be dynamic vs. static (M1L3)? - CORRECT ANSWERS - Dynamic models have changing relationships between variables over time. In static models, the relationships between variables are fixed (e.g., V = IR). What are the three methods to "solve" a model: from easiest to hardest (M1L3)? - CORRECT ANSWERS - 1. Analytical (exact)
  1. Numerical methods (approximate)
  2. Simulation methods (approx. with randomness)

This involves warming up the simulation (initialization bias / not included in analysis). Make one long run. Break up run into evenly sized batches and calculate sample mean from each batch. Do classic stats assuming iid normal on the batch means (relies on CLT). Name the two numerical methods covered in class to find the zeroes (roots) of a complicated non-linear function that may not have a closed-form solution. - CORRECT ANSWERS - 1. Bisection method

  1. Newton's method Be able to apply either one to find the zeroes of a function on a test. Bisection: linear convergence (slower), but guaranteed to find a zero if continuous function. Newton's method: quadratic convergence (faster), but NOT guaranteed to find a zero. Some apply a hybrid approach :)