Skip to content

Commit

Permalink
fixed small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
misjamikkers committed Sep 20, 2019
1 parent e49a874 commit 6ef669a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions Presentation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ kable(PO)
```



# Causaliteit


## Voorspellen versus begrijpen


Expand Down Expand Up @@ -93,6 +96,10 @@ ggplot(data = conf, aes(x = Aantal_boeken, y = Cito)) +
```





## Voorspellen versus begrijpen


Expand All @@ -112,8 +119,12 @@ ggplot(data = conf, aes(x = Aantal_boeken, y = Cito, color = IQ_groep)) +

# DAGS



## Basisvormen DAGs





```{r}
Expand Down Expand Up @@ -153,6 +164,9 @@ ggplot(data = DAG, aes(x = X, y = Y)) +






## Confounder


Expand All @@ -170,6 +184,7 @@ Aantal_boeken <- IQ_ouders -> Cito_score
plot(citodag)
```


Expand All @@ -190,6 +205,7 @@ Lengte -> NBA <- Snelheid
plot(NBAdag)
```

## Veroorzaakt Lengte Snelheid?
Expand Down Expand Up @@ -281,6 +297,7 @@ ggplot(data = Vb, aes(x = Budgetten, y = Punten, color = Teamsterkte_groep)) +
geom_point() +
geom_smooth(method = "lm") +
theme_minimal()
```


Expand Down Expand Up @@ -346,6 +363,7 @@ thesismodel10 <- dagitty('dag {
}')
plot(thesismodel10)
```

# Machine learning en causaliteit
Expand Down Expand Up @@ -430,7 +448,7 @@ stargazer(d1, type= "latex", header = FALSE, font.size = "tiny")


```{r}
fullrun <- 0
fullrun <- 1
set.seed(123)
tr_control <- trainControl(method = "repeatedcv",
number = 10,
Expand Down Expand Up @@ -474,7 +492,7 @@ ggplot(data = dresamps, aes(x= reorder(Model, Rsquared), y = Rsquared*100)) +


```{r}
fullrun <- 0
fullrun <- 1
# We schatten het interventie-effect met grf (causal forest)
## Verkeerde model
Expand Down Expand Up @@ -515,7 +533,8 @@ Effect_0 <- as.data.frame(ATE[1]) %>%


```{r}
fullrun <- 0
fullrun <- 1
## Goede model
Treatment <- d1$Treatment
Expand Down Expand Up @@ -584,6 +603,8 @@ ggplot(data = d4, aes(x = Model, y = Effect)) +

# Blog en code

## Blog en code

https://misjamikkers.github.io/post/causaliteit-en-machine-learning/

https://github.com/misjamikkers/Meetup_Informatieberaad
Expand Down
Binary file modified Presentation.pdf
Binary file not shown.

0 comments on commit 6ef669a

Please sign in to comment.