100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Computational Statistics 2017/2018 - Summary $4.81
Add to cart

Summary

Computational Statistics 2017/2018 - Summary

2 reviews
 337 views  16 purchases
  • Course
  • Institution

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

Preview 2 out of 14  pages

  • January 10, 2018
  • 14
  • 2017/2018
  • Summary

2  reviews

review-writer-avatar

By: pimmohs • 3 weeks ago

review-writer-avatar

By: dennis_thong • 6 year ago

avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller JHessels. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $4.81. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

53068 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$4.81  16x  sold
  • (2)
Add to cart
Added