JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for ARCH-AC-UK Archives


ARCH-AC-UK Archives

ARCH-AC-UK Archives


ARCH-AC-UK@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ARCH-AC-UK Home

ARCH-AC-UK Home

ARCH-AC-UK  February 2024

ARCH-AC-UK February 2024

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

ONLINE COURSE – Advancing in R (ADVR01)

From:

Oliver Hooker <[log in to unmask]>

Reply-To:

UK academic archaeologists mailing list <[log in to unmask]>

Date:

Mon, 19 Feb 2024 15:07:30 +0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (108 lines)

ONLINE COURSE – Advancing in R (ADVR01)

https://www.prstats.org/course/advancing-in-r-advr01/

25th - 29th March 2024

Please feel free to share!

COURSE DETAILS - This course is designed to provide attendees with a comprehensive understanding of statistical modelling and its applications in various fields, such as ecology, biology, sociology, agriculture, and health. We cover all foundational aspects of modelling, including all coding aspects, ranging from data wrangling, visualisation and exploratory data analysis, to generalized linear mixed models, assessing goodness-of-fit and carrying out model comparison.

Course description
This course is designed to provide attendees with a comprehensive understanding of
statistical modelling and its applications in various fields, such as ecology, biology, sociology,
agriculture, and health. We cover all foundational aspects of modelling, including all coding
aspects, ranging from data wrangling, visualisation and exploratory data analysis, to
generalized linear mixed models, assessing goodness-of-fit and carrying out model
comparison.

Data wrangling
For data wrangling, we focus on tools provided by R&#39;s tidyverse. Data wrangling is the art of
taking raw and messy data and formatting and cleaning it so that data analysis and
visualization may be performed on it. Done poorly, it can be a time consuming, laborious,
and error-prone. Fortunately, the tools provided by R&#39;s tidyverse allow us to do data
wrangling in a fast, efficient, and high-level manner, which can have dramatic consequence
for ease and speed with which we analyse data. We start with how to read data of different
types into R, we then cover in detail all the dplyr tools such as select, filter, mutate, and
others. Here, we will also cover the pipe operator (%&gt;%) to create data wrangling pipelines
that take raw messy data on the one end and return cleaned tidy data on the other. We
then cover how to perform descriptive or summary statistics on our data using dplyr’s
group_by and summarise functions. We then turn to combining and merging data. Here, we
will consider how to concatenate data frames, including concatenating all data files in a
folder, as well as cover the powerful SQL-like join operations that allow us to merge
information in different data frames. The final topic we will consider is how to “pivot” data
from a “wide” to “long” format and back using tidyr’s pivot_longer and pivot_wider
functions.

Data visualisation
For visualisation, we focus on the ggplot2 package. We begin by providing a brief overview
of the general principles data visualization, and an overview of the general principles behind
ggplot. We then proceed to cover the major types of plots for visualizing distributions of
univariate data: histograms, density plots, barplots, and Tukey boxplots. In all of these
cases, we will consider how to visualize multiple distributions simultaneously on the same
plot using different colours and &quot;facet&quot; plots. We then turn to the visualization of bivariate
data using scatterplots. Here, we will explore how to apply linear and nonlinear smoothing
functions to the data, how to add marginal histograms to the scatterplot, add labels to
points, and scale each point by the value of a third variable. We then cover some additional
plot types that are often related but not identical to those major types covered during the
beginning of the course: frequency polygons, area plots, line plots, uncertainty plots, violin
plots, and geospatial mapping. We then consider more fine grained control of the plot by
changing axis scales, axis labels, axis tick points, colour palettes, and ggplot &quot;themes&quot;.
Finally, we consider how to make plots for presentations and publications. Here, we will
introduce how to insert plots into documents using RMarkdown, and also how to create
labelled grids of subplots of the kind seen in many published articles.

Generalized linear models
Generalized linear models are generalizations of linear regression models for situations
where the outcome variable is, for example, a binary, or ordinal, or count variable, etc. The
specific models we cover include binary, binomial, and categorical logistic regression,
Poisson and negative binomial regression for count variables, as well as extensions for
overdispersed and zero-inflated data. We begin by providing a brief overview of the normal
general linear model. Understanding this model is vital for the proper understanding of how
it is generalized in generalized linear models. Next, we introduce the widely used binary
logistic regression model, which is is a regression model for when the outcome variable is
binary. Next, we cover the binomial logistic regression, and the multinomial case, which is
for modelling outcomes variables that are polychotomous, i.e., have more than two
categorically distinct values. We will then cover Poisson regression, which is widely used for
modelling outcome variables that are counts (i.e the number of times something has
happened). We then cover extensions to accommodate overdispersion, starting with the
quasi-likelihood approach, then covering the negative binomial and beta-binomial models
for counts and discrete proportions, respectively. Finally, we will cover zero-inflated Poisson
and negative binomial models, which are for count data with excessive numbers of zero
observations.

Mixed models
We will focus primarily on multilevel linear models, but also cover multilevel generalized
linear models. Likewise, we will also describe Bayesian approaches to multilevel modelling.
We will begin by focusing on random effects multilevel models. These models make it clear
how multilevel models are in fact models of models. In addition, random effects models
serve as a solid basis for understanding mixed effects, i.e. fixed and random effects, models.
In this coverage of random effects, we will also cover the important concepts of statistical
shrinkage in the estimation of effects, as well as intraclass correlation. We then proceed to
cover linear mixed effects models, particularly focusing on varying intercept and/or varying
slopes regression models. We will then cover further aspects of linear mixed effects models,
including multilevel models for nested and crossed data data, and group level predictor
variables. Towards the end of the course we also cover generalized linear mixed models
(GLMMs), how to accommodate overdispersion through individual-level random effects, as
well as Bayesian approaches to multilevel levels using the brms R package.

Model selection and model simplification
Throughout the course we consider the fundamental issue of how to measure model fit and
a model’s predictive performance, and discuss a wide range of other major model fit
measurement concepts like likelihood, log likelihood, deviance, and residual sums of
squares. We thoroughly explore nested model comparison, particularly in general and
generalized linear models, and their mixed effects counterparts. We discuss out-of-sample
generalization, and introduce leave-one-out cross-validation and the Akaike Information
Criterion (AIC). We also cover general concepts and methods related to variable selection,
including stepwise regression, ridge regression, Lasso, and elastic nets. Finally, we turn to
model averaging, which may represent a preferable alternative to model selection.

Please email [log in to unmask] with any questions.

########################################################################

To unsubscribe from the ARCH-AC-UK list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=ARCH-AC-UK&A=1

This message was issued to members of www.jiscmail.ac.uk/ARCH-AC-UK, a mailing list hosted by www.jiscmail.ac.uk, terms & conditions are available at https://www.jiscmail.ac.uk/policyandsecurity/

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
February 2022
January 2022
November 2021
October 2021
September 2021
August 2021
July 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
July 2020
May 2020
April 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
September 2018
August 2018
July 2018
June 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
May 2014
April 2014
March 2014
February 2014
January 2014
November 2013
October 2013
September 2013
August 2013
June 2013
May 2013
April 2013
March 2013
February 2013
December 2012
November 2012
October 2012
September 2012
August 2012
June 2012
May 2012
April 2012
March 2012
February 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
April 2008
March 2008
February 2008
December 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
September 2006
August 2006
March 2006
October 2005
July 2005
June 2005
May 2005
January 2005
December 2004
November 2004
October 2004
September 2004
April 2004
March 2004
February 2004
January 2004
December 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
December 2002
September 2002
July 2002
May 2002
April 2002
March 2002
February 2002
January 2002
November 2001
September 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001
December 2000
October 2000
September 2000
August 2000
July 2000
June 2000
May 2000
April 2000


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager