Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linear Mixed Models - Satterthwaite Approximate Degrees of Freedom in SAS/R #297

Open
henriettebjrn opened this issue Sep 13, 2024 · 6 comments

Comments

@henriettebjrn
Copy link

Under certain circumstances, the same simulated datasets give differing conclusions in hypothesis tests between lmer in R and proc mixed in SAS due to differences in model fits and Satterthwaite degrees of freedom method. Would documenting this be of value?

@henriettebjrn henriettebjrn changed the title Linear Mixed Models - Satterhtwaite Approximate Degrees of Freedom in SAS/R Linear Mixed Models - Satterthwaite Approximate Degrees of Freedom in SAS/R Sep 13, 2024
@DrLynTaylor
Copy link
Collaborator

Yes we definitely would love this to be written up and put onto the repository. Which category do you see this best fitting into, or would you like an additional method category to be added? I assume it could go under MMRM? We currently have a lot of work to do on our MMRM section (the R and SAS examples, are a little disjointed to the R vs SAS page). Is this something you'd be interested in helping with updating and then adding in your Satterhwaite DF issue to it?

@henriettebjrn
Copy link
Author

At this stage, we prefer not to contribute to updating the MMRM section, but rather to add a section on the Satterthwaite story. We suggest to add a line in the section “Repeated Measures”, perhaps just under the “Linear Mixed Model (MMRM)”. It could be called “Linear Mixed Model (degrees of freedom)” and we would then make a document called “R versus SAS”.

Maybe at a later stage, we could contribute further to the page.

@DrLynTaylor
Copy link
Collaborator

That's fine with me. I've just updated the table to add a row for "Linear Mixed Model (degrees of freedom)". Once the repo refreshes you should see the new row (in around 15 mins). Please store your comparison file under the comp folder and I suggest calling it: r-sas_mmrm_df.qmd. Many Thanks. Let me know if any questions

@DrLynTaylor
Copy link
Collaborator

Hi @henriettebjrn, As we approach the end of year we are checking in on progress to see if anyone needs any help? Just wondered how this issue was progressing. Totally fine if work just got in the way and you need more time. Just let us know though if you are having any issues that we can help with.

@henriettebjrn
Copy link
Author

Hi! Work has been quite busy recently, so unfortunately, progress on this has been delayed a bit. We’re planning to pick it back up around late January.

@DrLynTaylor
Copy link
Collaborator

Totally understand, that's no problem at all. Thanks for the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants