AM 207
Monte Carlo
Spring 2013
Pavlos Protopapas
1
Intorduction
Before the actual discovery of the Monte Carlo method, Georges-Louis Leclerc comte de
Buon in 1777 stated a problem involving dropping a
AM 207
HM4
Spring 2013
Pavlos Protopapas
Handed out: Saturday March 2, 2013
Due: Saturday, Mar. 9, 2013
Last updated: 2013/03/06, 17:10:57
Instructions:
Upload your answers in a pdf format to the dro
Solutions to Problem Set 3
AM 207 Sta
March 31, 2013
1
Attribution
Our solutions are based on modications of solutions from students (in particular J.T.B.
Overwelde, Natalie Mashian, and Nicholas Lang
AM 207
Gibbs sampling
Spring 2013
Pavlos Protopapas
Last updated: 2013/03/07, 11:01:43
1
Introduction
As we saw already it is not always easy to tune the proposal distribution. The Gibbs sampler
is a
AM 207
HM-X
Spring 2013
noindent Pavlos Protopapas
Handed out: Saturday March 12, 2013
Due: Saturday, Mar. 19, 2013
Last updated: 2013/03/12, 23:27:39
Instructions:
Upload your answers in a pdf forma
Question 4 (20 points) Suppose we ask individuals to remember the chronological order of world cup
winners. Individuals make a number of mistakes in the ordering of winners that can be captured by sim
AM 207
HM-X
Spring 2013
Question 1 (25 points) The multivariate normal distribution can be drawn using a Gibbs sampler. Consider a 3-dimensional multivariate normal with mean vector (1, 2, 3), varianc
Homework 4 Soulutions (Problems 1 and 2)
Problems 3 and 4 are separate.
Boilerplate:
import os
import pymatbridge as pymat
reload(pymat)
from IPython.display import Image
ip = get_ipython()
pymat.load
AM 207
2013
Machine Precisions and Uncertainties
Spring
Pavlos Protopapas
Handed out: Jan 1, 2013
1
Precision
Computers are nite. They could do a lot of things but they are limited. A fundamental
desi
AM 207
HM5
Spring 2013
Pavlos Protopapas
Handed out: Saturday March 30, 2013
Due: Saturday, April 6, 2013
Last updated: 2013/03/30, 22:26:20
Instructions:
Upload your answers in a pdf format to the d
AM 207
HM2
Spring 2013
Pavlos Protopapas
Handed out: Friday Feb. 15, 2013
Due: Friday, Feb. 22, 2013
Instructions:
Upload your answers in a pdf format to the dropbox.
Individual submissions use the
AM 207
Markov Chain Monte Carlo
Spring 2013
Pavlos Protopapas
1
Introduction
Metropolis algorithm is among the top ten most algorithms that are used in science and
engineering in the last twenty years
AM 207
Numerical Integration
Spring 2013
Pavlos Protopapas
Last update: 2/5/2013
1
Integration
Integrating a function has its history back with the Greeks (doesnt everything?). Archimedes
(287-212 BC)
AM 207
Simulated Annealing
Spring 2013
Pavlos Protopapas
Handed out: Tuesday Mar. 20, 2012
Last updated: 2013/03/11, 17:22:45
Simulated Annealing is one of the most popular techniques for global optim
AM 207
Random Numbers
Spring 2013
Pavlos Protopapas
1
Intorduction
We have introduced the concept of randomly throwing stones or randomly selecting pairs.
In this lecture we will explore how computers
AM 207
HM1
Spring 2013
Pavlos Protopapas
Handed out: Friday Feb. 8, 2013
Due: Saturday, Feb. 15, 2013
Instructions:
Upload your answers in a pdf format to the dropbox.
Use the following lenames: AM2
AM 207
HM3
Spring 2013
Pavlos Protopapas
Handed out: Saturday Feb. 23, 2013
Due: March, March 2, 2013
Instructions:
Upload your answers in a pdf format to the dropbox.
Individual submissions use the
Solutions to Problem Set 1
AM 207 Sta
March 11, 2013
1
Question 1
A 64-bit number N can be represented as [(1)s ]x[1.f ]x 2e1023 where the exponent e
has 11 bits, the sign s has 1 bit and the fraction
1
Genetic Algorithms: an Introduction
In many physical situations we are interested in the optimal state of
a system, but it is extremely dicult (often impossible) to nd all the
allowed states the sys
3/5/13
Home wor k2.html
Homework 2
This s olution has been s ourced from s tudent work.
NOTE:Its partly in py thon, partly in Matlab, us ing the ipy thon notebook on the enthought dis tribution update