• Verkeerd document? Gratis ruilen
  • Geschreven door studenten die geslaagd zijn
  • Direct beschikbaar na je betaling
  • Online lezen of als PDF
Verkopen
Kies je studieland
Kies je taal
Document preview thumbnail
Voorbeeld 2 van de 14 pagina's
Samenvatting

Computational Statistics 2017/2018 - Summary

Document preview thumbnail
Voorbeeld 2 van de 14 pagina's

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

Voorbeeld van de inhoud

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

Documentinformatie

Geüpload op
10 januari 2018
Aantal pagina's
14
Geschreven in
2017/2018
Type
Samenvatting
€4,99

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
JHessels
2,5
(6)
Verkocht
49
Volgers
33
Items
9
Laatst verkocht
1 jaar geleden

Echte notities, van echte studenten
Elk document op Stuvia is geschreven door een medestudent die hetzelfde vak deed. Zo leer je van iemand die het al heeft gehaald.

Reviews van geverifieerde kopers




Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen