100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Samenvatting

Computational Statistics 2017/2018 - Summary

Beoordeling
3,0
(2)
Verkocht
16
Pagina's
14
Geüpload op
10-01-2018
Geschreven in
2017/2018

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










Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Documentinformatie

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

Onderwerpen

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

Beoordelingen van geverifieerde kopers

Alle 2 reviews worden weergegeven
1 jaar geleden

7 jaar geleden

3,0

2 beoordelingen

5
0
4
0
3
2
2
0
1
0
Betrouwbare reviews op Stuvia

Alle beoordelingen zijn geschreven door echte Stuvia-gebruikers na geverifieerde aankopen.

Maak kennis met de verkoper

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 Tilburg University
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
49
Lid sinds
8 jaar
Aantal volgers
33
Documenten
9
Laatst verkocht
1 jaar geleden

2,5

6 beoordelingen

5
0
4
1
3
3
2
0
1
2

Recent door jou bekeken

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

Veelgestelde vragen