Question Details

No question body available.

Tags

r linear-regression confidence-interval nlme

Answers (2)

March 19, 2026 Score: 1 Rep: 186 Quality: Low Completeness: 60%

I think I might I've found a solution using the boot package, but would love if someone who's savvier in GLS and bootstrapping could check if I'm not messing something up.

Here is what I came up with:

library(boot)
library(nlme)

gls.fun
March 19, 2026 Score: 1 Rep: 186 Quality: Low Completeness: 50%

After some more digging I found another solution using the marginaleffects package:

library(marginaleffects) GLSout