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

Random effects standard deviation #1

Open
CyuHat opened this issue Jun 5, 2022 · 1 comment
Open

Random effects standard deviation #1

CyuHat opened this issue Jun 5, 2022 · 1 comment

Comments

@CyuHat
Copy link

CyuHat commented Jun 5, 2022

First of all I would like to thank you for this great package. Secondly, I wanted to know if there is a way to get the random effects standard errors of the model produced by the svy2lme function. Because it is possible to access several other elements of the object, but not this.

Thank you

@tslumley
Copy link
Owner

It's not clear how to calculate a standard error for the random effects. It's not like ordinary maximum-likelihood mixed models where you can use the Fisher information. In theory there's a sandwich estimator, but it's very slow and requires fourth-order sampling probabilities, and it's not very accurate. I think you will need to use resampling. That's what the boot2lme() function is designed for.

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