Processing math: 20%
+ - 0:00:00
Notes for current slide
Notes for next slide

Correlation: one of the first things we learn in undergraduate applied statistics

Correlation is an intuitive way to think how the values of one variable vary with another

How does the correlation between random variable change over time?

Estimating the time-varying correlation between time series using copula distributional models

Gavin Simpson

vISEC2020 • June 22-26 2020

Correlation

Correlation: one of the first things we learn in undergraduate applied statistics

Correlation is an intuitive way to think how the values of one variable vary with another

How does the correlation between random variable change over time?

Bivariate Copula Distributional GAM

Here I'll briefly explain how we've approached this question using a bivariate copula distributional GAM

Bivariate

Copulas

Copulas

Function representing a joint distribution as a mapping from the CDFs of its marginals

Defines a general way to think about dependence between random variables

Starting to be used in ecology:

  • Popovic, Hui, Warton, 2018. J. Multivar. Anal. 165, 86–100. doi: 10/dzx9
  • Anderson et al 2019. Ecol. Evol. 44, 182. doi: 10/dzzb

Copulas

Distributional Regression

Model effects beyond the mean

Complex data often can't be modelled as conditional means + a mean-variance relationship

Distributional regression models have linear predictors for all parameters of the conditional distribution

y|ϑk

For a Gaussian response

\begin{align} \mu_i & = \beta^{\mu}_0 + \boldsymbol{x}_i^{\mathsf{T}}\boldsymbol{\beta}^{\mu}_j \\ \log(\sigma_i) & = \beta^{\sigma}_0 + \boldsymbol{x}_i^{\mathsf{T}}\boldsymbol{\beta}^{\sigma}_j \end{align}

GAMs

Maximise penalised log-likelihood ⇨ β

Fitting a GAM involves finding the weights for the basis functions that produce a spline that fits the data best, subject to some constraints

Bivariate + Copula + Distributional + GAM

Example

Lake 227

Algal pigments well preserved in lake sediments

  • Reflect phytoplankton standing crops in lakes
  • Chlorophyll-a tracks planktonic sources
  • β-carotene tracks planktonic & benthic sources

Lake 227

Gaussian copula with Gamma univariate marginal responses

\begin{align} F(y_{\mathsf{Chl a}_{i}}, y_{\mathsf{\beta caro}_{i}} | \vartheta^{k} ) & = \mathcal{C}(F_{\mathsf{Chl a}_{i}}(y_{\mathsf{Chl a}_{i}} | \mu_{\mathsf{Chl a}_{i}}, \sigma_{\mathsf{Chl a}_{i}}), F_{\mathsf{\beta caro}_{i}}(y_{\mathsf{\beta caro}_{i}} | \mu_{\mathsf{\beta caro}_{i}}, \sigma_{\mathsf{\beta caro}_{i}}), \theta) \\ y_{\mathsf{Chl a}_{i}} & \sim \mathsf{Gamma}(\mu_{\mathsf{Chl a}_{i}}, \sigma_{\mathsf{Chl a}_{i}}) \\ y_{\mathsf{\beta caro}_{i}} & \sim \mathsf{Gamma}(\mu_{\mathsf{\beta caro}_{i}}, \sigma_{\mathsf{\beta caro}_{i}}) \end{align}

\begin{align} \log(\mu_{\mathsf{Chl a}_{i}}) & = \beta^{\mu_{\mathsf{Chl a}}}_0 + f^{\mu_{\mathsf{Chl a}}}(\text{Year}_i) \\ \log(\mu_{\mathsf{\beta caro}_{i}}) & = \beta^{\mu_{\mathsf{\beta caro}}}_0 + f^{\mu_{\mathsf{\beta caro}}}(\text{Year}_i) \\ \log(\sigma_{\mathsf{Chl a}_{i}}) & = \beta^{\sigma_{\mathsf{Chl a}}}_0 \\ \log(\sigma_{\mathsf{\beta caro}_{i}}) & = \beta^{\sigma_{\mathsf{\beta caro}}}_0 \\ g(\theta_i) & = \beta^{\theta}_0 + f^{\theta}(\text{Year}_i) \end{align}

Lake 227 Model Fitting

Fitted with gjrm() from GJRM package

Marra, G., Radice, R., 2017. Comput. Stat. Data Anal. 112, 99–113. doi: 10/dzzc

Lake 227 — μ

Fitted mean functions for each response

Lake 227 — Kendall's τ

Estimate \theta but can transform to Kendall's τ

Acknowledgements

Funding

Data

Lake 227 data from Peter Leavitt (U Regina)

Slides

Correlation

Correlation: one of the first things we learn in undergraduate applied statistics

Correlation is an intuitive way to think how the values of one variable vary with another

How does the correlation between random variable change over time?

Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow