Mathematical Notation for Mixed Models

  Рет қаралды 1,578

Quant Psych

Quant Psych

Күн бұрын

Do you want more structured and personalized information? Come take a class with me! Visit simplistics.net and sign up for self-guided or live classes.

Пікірлер: 14
@cofi9659
@cofi9659 5 ай бұрын
Great video
@galenseilis5971
@galenseilis5971 5 ай бұрын
Linear mixed effects are a good starting point for pedagogy, but I would also recommend mentioning in passing non-linear mixed effects are sometimes useful. For keen students it may be further worth noting that the notion of a mixed effect can be generalized to other operators beyond addition.
@derekcaramella8730
@derekcaramella8730 5 ай бұрын
Here’s a fun topic I would love to see. If I have K groups on a time series trend & I want to model each group K, what is the best approach? An initial assessment shows that these time series operate on different frequencies and magnitudes. So, a mixed linear model would not work since the frequency depends on the group K. Hypothetically, if the frequencies did not depend on K, just the magnitude was different, then I could use a mixed model. Any ideas? I always could use intersection variables with an GLM, but I have many K. Would love your thoughts!
@QuantPsych
@QuantPsych 4 ай бұрын
Mixed models don't work so well for time-series data. Time series analyses try to plot the change in value over time. With mixed models, you can estimate the change in value over time, but it wasn't designed to do that. (And it's going to be limited to linear change over time, or perhaps a polynomial). It's been a long time since I've done time series, so I'm not sure how helpful I can be. There's probably an extension of arima models you could use.
@galenseilis5971
@galenseilis5971 4 ай бұрын
@@QuantPsych Not only can mixed effects models work well for times series forecasting, but I recommend them for that purpose. They are one of the ways of having hierarchical time series models without resorting to reconciliation methods on existing forecasts. Mixed effects are not limited to linear models. I expect, but have not researched, that the first usages of mixed effects were in linear models. But that's incidental to where mixed effects models are useful.
@galenseilis5971
@galenseilis5971 4 ай бұрын
I'm not sure what you're working on, but by the mentioning of frequencies and magnitudes I am guessing that you are dealing with something where Fourier series would be useful. Consider evaluating whether a model that uses Fourier series whose parameter are mixed effects would be useful in your case. I cannot guarantee that they will be based on so little information about the problem, but it sounds promising on the face of it.
@diegonicolasnabaesjodar8580
@diegonicolasnabaesjodar8580 2 ай бұрын
@@QuantPsych What do you think about decomposing a time series (e.g. with STL) and modelling the remainder component (=noise, ~=residuals)? (and include a random factor if needed, plus an ARMA structure for the autocorrelation, using the nlme package).
@lisbonn8623
@lisbonn8623 5 ай бұрын
Hello, I have this data to work with, collected to determine the factors associated with height change for their first-year growth characteristics. 400 infants were enrolled in the study. The variables included were: ind, sex, weight, length, breastfeeding (bf), age, and numdays, help. my question is how do we indetermine which variables will be fixed and random plus the exploratory individual profile and mean profile show a quadratic relation so do we have to model a classical model to start with for comparison?
@QuantPsych
@QuantPsych 5 ай бұрын
I have some videos published that show you how to identify whether a variable is fixed or random. You can also include quadratic terms in mixed models, just as you would with regular linear models.
@diegonicolasnabaesjodar8580
@diegonicolasnabaesjodar8580 2 ай бұрын
I am a big fan. ...but: "Depression ij" (Yij) states that you have data from multiple "i's" and "j's". Not that "the scores are different across the i's and j's". Stupid detail, but I like to favor the YT algorthm towards QP. Cheers.
@galenseilis5971
@galenseilis5971 5 ай бұрын
If someone is intent on mastering mixed effects then they should really understand the mathematics. Just knowing how to make a function call is a superficial understanding that will be less helpful when you need to troubleshoot or implement your own modified solution to a novel problem.
@stephenomenal1245
@stephenomenal1245 5 ай бұрын
I would appreciate it if you could tell us what specific mathematics is required for mixed models. Matrix notation??
@QuantPsych
@QuantPsych 4 ай бұрын
Unless you're writing algorithms yourself, it's probably enough to just understand the notation. I don't think you need matrix algebra to understand it.
Visualizing Mixed Models with Flexplot
28:23
Quant Psych
Рет қаралды 2,2 М.
What statistics teachers get wrong!
28:48
Quant Psych
Рет қаралды 14 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Using lme4 in R for Mixed Models
15:06
Quant Psych
Рет қаралды 4,9 М.
The Man Who Solved the World’s Most Famous Math Problem
11:14
Newsthink
Рет қаралды 1,2 МЛН
The Bingo Paradox: 3× more likely to win
30:15
Stand-up Maths
Рет қаралды 762 М.
Critiquing scientific studies: Pollution and Stock Markets
27:45
Quant Psych
Рет қаралды 4,3 М.
Kan Academy: Introduction to Limits
26:15
Sheafification of G
Рет қаралды 21 М.
Is the Future of Linear Algebra.. Random?
35:11
Mutual Information
Рет қаралды 383 М.
How a Russian student invented a faster multiplication method
18:48
What P vs NP is actually about
17:58
Polylog
Рет қаралды 149 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН