-
Notifications
You must be signed in to change notification settings - Fork 2
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
New function to calculate conditional and marginal R2 for MixPV /WeMix #17
Comments
@joaomaroco you can test it against that package you shared. The most basic test is when all the weights are one, |
lmer only allows weights at level 1... I guess level 2 and level 3 weights in WeMix will change the variance estimates for the random effects... |
can any one help me with mixPV Im working with TIMMS data not Pisa |
Hi Sara,
What kind of help do you need?
Best regards,
João Marôco
A segunda, 1/07/2024, 01:35, SarahElgerby ***@***.***>
escreveu:
… can any one help me with mixPV Im working with TIMMS data not Pisa
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BERQLLAY6N43GI7AGDDMSCDZKCP55AVCNFSM6AAAAABF6AFYOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYHAZTGOBUHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
what package is |
Hi Paul,
MixPV uses your package WeMix... see
Huang, F. L. (2024). Using plausible values when fitting multilevel models with large-scale assessment data using R. \textit{Large-scale Assessments in Education, 12}(7). https://doi.org/10.1186/s40536-024-00192-0
Best regards,
Jº
…________________________________
From: Paul Bailey ***@***.***>
Sent: Monday, July 1, 2024 4:00 PM
To: American-Institutes-for-Research/WeMix ***@***.***>
Cc: João Marôco ***@***.***>; Mention ***@***.***>
Subject: Re: [American-Institutes-for-Research/WeMix] New function to calculate conditional and marginal R2 for MixPV /WeMix (Issue #17)
what package is mixPV in?
—
Reply to this email directly, view it on GitHub<https://www.google.com/url?q=https://github.com/American-Institutes-for-Research/WeMix/issues/17%23issuecomment-2200236071&source=gmail-imap&ust=1720447236000000&usg=AOvVaw30YtLqLIxHezQk9niV4NZ->, or unsubscribe<https://www.google.com/url?q=https://github.com/notifications/unsubscribe-auth/BERQLLF3STQJZ2VXDHJBLSTZKFOIHAVCNFSM6AAAAABF6AFYOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBQGIZTMMBXGE&source=gmail-imap&ust=1720447236000000&usg=AOvVaw3Y8CYYOarQ9wvqqXovUTgB>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Paul et al
I developed a function to calculate marginal R2 and conditional R2 from mixPV function (https://doi.org/10.1186/s40536-024-00192-0 ) on WeMix. For the r2 formulae I am using https://doi.org/10.1111/j.2041-210x.2012.00261.x eq 26 and eq 27. I am not sure I am getting the variance of fixed effects correctly, but here is a first trial:
m1
is a wemix results object, anddf
is the original dataframe. R2m is the marginal R2, and R2c is the condtional.The text was updated successfully, but these errors were encountered: