Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Computational Statistics 2017/2018 - Summary

Rating
3.0
(2)
Sold
16
Pages
14
Uploaded on
10-01-2018
Written in
2017/2018

Summary Computational Statistics Data Science Simulations Bootstrap Permutations Cross-Validation PCA

Institution
Course

Content preview

Computational Statistics
INTRODUCTION
- Monte Carlo Simulation
- Resampling Methods (bootstrap, permutation, cross-validation)
- Unsupervised learning (clustering, dimension reduction)
- High-dimensional data (penalized regression)




Coin toss experiment
- 4H in a row » HHHHT | THHHH » 2 possibilities
- All » 2*2*2*2*2 = 2^5 = 32 possibilities
- Probability theory: Pr (4H in a row| 5 tosses) = = 0.0625 ~= 6%

Monty Hall experiment




Simulation
- Imitation of operation of real-world process or system over time
- Developed model represents the system, simulation represents the operation
- Only simulation If the system can’t be solved analytically (no/complex mathematical proof)
- MC: computer experiment involving random sampling from probability distributions
- Pseudo random number generators in R:
o Simulation for discrete random variables
▪ sample() function (data/vector, size, replace)
▪ Bernoulli, binomial, multinomial, Poisson distribution
o Simulation for continuous random variables
▪ rnorm() function (normal distribution)

, Monte Carlo simulation
1. How to?
o Input (number of trials, random or not, if random: what probability distribution?)
o Output of interest
o Model relating output to input
2. Pseudo code
o Name your function and specify arguments
o Define input and output of your function
o Show underlying sequence of steps taken
▪ Use statements: WHILE … DO, REPEAT, FOR … to … DO, IF … THEN … ELSE
o Make sure your function returns the output
3. Implement MC simulation in R




Illustrative exam question
- Tossing a coin 6 times, what is the probability of obtaining exactly 4 times tails in a row?
o Input: n tosses, output: probability k times head
o Pr(4T in a row|6 tosses) = Nr of ways 4T in a row can happen / Total nr of outcomes =
^6 = = 0,078125
- Give pseudo code for a MC simulation experiment to approximate the probability of
obtaining exactly k times head when tossing a coin n times
o Input: n tosses, output: probability k times head, MC » repeat experiment s times
o Probability = Number of ‘hits’ Pr(4T in a row|6 tosses) / number of times experiment

Written for

Institution
Study
Course

Document information

Uploaded on
January 10, 2018
Number of pages
14
Written in
2017/2018
Type
SUMMARY

Subjects

$6.05
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Reviews from verified buyers

Showing all 2 reviews
1 year ago

8 year ago

3.0

2 reviews

5
0
4
0
3
2
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
JHessels Tilburg University
Follow You need to be logged in order to follow users or courses
Sold
49
Member since
8 year
Number of followers
33
Documents
9
Last sold
1 year ago

2.5

6 reviews

5
0
4
1
3
3
2
0
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions