Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linear Mixed-Effects Models with R
Rating: 4.0 out of 5(275 ratings)
2,539 students

Linear Mixed-Effects Models with R

Learn how to specify, fit, interpret, evaluate and compare estimated parameters with linear mixed-effects models in R.
Last updated 8/2020
English

What you'll learn

  • Specify an appropriate linear mixed-effects model structure with their own data.
  • Compare alternative modeling structures and choose the best specification.
  • Represent, fit, and choose among different, competing correlational structures appropriate to both temporal and spatial pseudo-replicated models.
  • Validate the "goodness" of the model and the model assumptions.
  • Represent, estimate, interpret and report on linear mixed-effects model parameters using R software.

Course content

7 sections77 lectures10h 14m total length
  • Introduction to the Course1:32
  • Introduction to R Scripting and RStudio10:00

    RStudio Integrated Development Environment (IDE) is a powerful and productive user interface for R. It’s free and open source, and works great on Windows, Mac, and Linux.

  • Basic Quantitative Operations in R (part 1)5:53

    Create a temperature vector tamps in R and use vectorized operations, such as subtracting 32 to convert Fahrenheit to Celsius, and compare with Connecticut temps.

  • Basic Quantitative Operations in R (part 2)6:59
  • More R Scripting and Plotting (part 1)9:45
  • More R Scripting and Plotting (part 2)4:52
  • Functions in R (part 1)6:18

    One of the great strengths of R is the user's ability to add functions. In fact, many of the functions in Rare actually functions of functions. The structure of a function is given below.

    myfunction <- function(arg1, arg2, ... ){statement}

  • Functions in R (part 2)7:39
  • Vectors and Matrices9:54

    R has a wide variety of data types including scalars, vectors (numerical, character, logical).

    All columns in a matrix must have the same mode(numeric, character, etc.) and the same length.

  • Dataframes and Histograms11:12

    A data frame is more general than a matrix, in that different columns can have different modes (numeric, character, factor, etc.). This is similar to SAS and SPSS datasets.

  • Exercises: Getting Started with R as a Statistical Environment5:39

Requirements

  • Students will need to install the no-cost R console and the no-cost RStudio application (instructions and provided).

Description

Linear Mixed-Effects Models with R is a 7-session course that teaches the requisite knowledge and skills necessary to fit, interpret and evaluate the estimated parameters of linear mixed-effects models using R software. Alternatively referred to as nested, hierarchical, longitudinal, repeated measures, or temporal and spatial pseudo-replications, linear mixed-effects models are a form of least-squares model-fitting procedures. They are typically characterized by two (or more) sources of variance, and thus have multiple correlational structures among the predictor independent variables, which affect their estimated effects, or relationships, with the predicted dependent variables. These multiple sources of variance and correlational structures must be taken into account in estimating the "fit" and parameters for linear mixed-effects models.

The structure of mixed-effects models may be additive, or non-linear, or exponential or binomial, or assume various other ‘families’ of modeling relationships with the predicted variables. However, in this "hands-on" course, coverage is restricted to linear mixed-effects models, and especially, how to: (1) choose an appropriate linear model; (2) represent that model in R; (3) estimate the model; (4) compare (if needed), interpret and report the results; and (5) validate the model and the model assumptions. Additionally, the course explains the fitting of different correlational structures to both temporal, and spatial, pseudo-replicated models to appropriately adjust for the lack of independence among the error terms. The course does address the relevant statistical concepts, but mainly focuses on implementing mixed-effects models in R with ample R scripts, ‘real’ data sets, and live demonstrations. No prior experience with R is necessary to successfully complete the course as the first entire course section consists of a "hands-on" primer for executing statistical commands and scripts using R.

Who this course is for:

  • Students do NOT need to be knowledgeable and/or experienced with R software to successfully complete this course.
  • This course is useful for graduate students in business, the social sciences, education fields, statistics, mathematics and other disciplines who would like to learn about and become proficient estimating and interpreting linear mixed-effects model parameters and values.
  • This course is useful to practicing quantitative analysis professionals, such as research scientists and other data analytic professionals who use linear modeling techniques on the job.