Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
benwhalley committed May 13, 2019
1 parent 39db610 commit 8993f59
Show file tree
Hide file tree
Showing 10 changed files with 351 additions and 344 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docs/*
docs/
TODO
_archive
unused*
Expand Down
30 changes: 15 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ language: r
cache: packages
sudo: required
script:
- Rscript -e 'bookdown::render_book("index.Rmd")'
- Rscript -e 'bookdown::render_book("index.Rmd")'

before_install:
- sudo add-apt-repository -y "ppa:marutter/rrutter"
- sudo add-apt-repository -y "ppa:marutter/c2d4u"
- sudo apt-get update -q
- sudo apt-get install r-cran-rstan -y
- sudo add-apt-repository -y "ppa:marutter/rrutter"
- sudo add-apt-repository -y "ppa:marutter/c2d4u"
- sudo apt-get update -q
- sudo apt-get install r-cran-rstan -y

r_github_packages:
- achetverikov/APAstats
- achetverikov/APAstats/apastats

apt_packages:
- libxml2-dev
- libv8-dev
- libxml2-dev
- libv8-dev

# repos:
# CRAN: https://mran.microsoft.com/snapshot/2018-07-01

deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: true
on:
branch: master
local-dir: docs
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: true
on:
branch: master
local-dir: docs
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,4 @@ Imports:
stringr,
tidyverse,
tufte,
waffle

waffle,
3 changes: 0 additions & 3 deletions EXPLANATIONS.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@
title: 'Explanations'
---



# (PART) Explanations {-}

7 changes: 1 addition & 6 deletions MODELS.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,4 @@
title: 'Analysis'
---




# (PART) Models {-}


# (PART) Models {-}
37 changes: 15 additions & 22 deletions PATTERNS.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,27 @@
title: 'Patterns'
---




# (PART) Patterns {-}


# Learning key patterns

# Learning key patterns

![](media/patterns.png)

Statistics courses teach statistics, and software training or programming courses can teach you the fundamentals of a particular package --- for example R.

However, a large part of learning how to analyse data is actually not about particular statistical techniques, nor the detals of implementing them in a particular package.

Instead, the most useful things to take away from a course can be how to think about different types of problem, and general strategies for tackling them. One label applied to these approaches and strategies are 'patterns'.


We've already come across one pattern in the section on [summarising data](summarising-data): the [split, apply, combine method](#split-apply-combine).

This section outlines some other patterns or ways of working that may be helpful.






Statistics courses teach statistics, and software training or programming
courses can teach you the fundamentals of a particular package --- for example
R.

However, a large part of learning how to analyse data is actually not about
particular statistical techniques, nor the detals of implementing them in a
particular package.

Instead, the most useful things to take away from a course can be how to think
about different types of problem, and general strategies for tackling them. One
label applied to these approaches and strategies are 'patterns'.

We've already come across one pattern in the section on
[summarising data](summarising-data): the
[split, apply, combine method](#split-apply-combine).

This section outlines some other patterns or ways of working that may be
helpful.
34 changes: 12 additions & 22 deletions additional-stubs.Rmd
Original file line number Diff line number Diff line change
@@ -1,49 +1,39 @@
---
title: 'Bayes factors'

---


```{r, include=FALSE}
library(tidyverse)
library(pander)
library(lmerTest)
```



# Additional stub articles

These hopefully to be fleshed out soon. Contributions welcome!



## Meta analysis {- #meta-analysis}


For the moment, [see this introduction to meta analysis in R](https://www.r-bloggers.com/r-and-meta-analysis/)

For the moment,
[see this introduction to meta analysis in R](https://www.r-bloggers.com/r-and-meta-analysis/)

## Bayes factors {- #bayes-factors}


TODO

Tongue in cheek Chapter that Andy proposed as a Stage 4 option: "doing BF for rubbish data..."
Tongue in cheek Chapter that Andy proposed as a Stage 4 option: "doing BF for
rubbish data..."

Cover:

- What is a BF: http://bayesfactor.blogspot.co.uk/2014/02/the-bayesfactor-package-this-blog-is.html
https://en.wikipedia.org/wiki/Bayes_factor#Interpretation

- BF package manual http://bayesfactorpcl.r-forge.r-project.org/#twosample

- BayesFactors not (too) sensitive to choice of priors: http://www.nicebread.de/interactive-exploration-of-a-priors-impact/



Also explore parameter estimation and inference from posterior of parameters as an alternative approach (see Krusche chapter, and Gelman papers).

- What is a BF:
http://bayesfactor.blogspot.co.uk/2014/02/the-bayesfactor-package-this-blog-is.html
https://en.wikipedia.org/wiki/Bayes_factor#Interpretation

- BF package manual http://bayesfactorpcl.r-forge.r-project.org/#twosample

- BayesFactors not (too) sensitive to choice of priors:
http://www.nicebread.de/interactive-exploration-of-a-priors-impact/

Also explore parameter estimation and inference from posterior of parameters as
an alternative approach (see Krusche chapter, and Gelman papers).
Loading

0 comments on commit 8993f59

Please sign in to comment.