-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
Draft McDonald's Omega #669
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #669 +/- ##
==========================================
- Coverage 56.64% 56.30% -0.35%
==========================================
Files 84 85 +1
Lines 6039 6108 +69
==========================================
+ Hits 3421 3439 +18
- Misses 2618 2669 +51 ☔ View full report in Codecov by Sentry. |
@easystats/core-team Anyone an idea, if it's ok to "borrow" some code from MBESS? See my #' @note The code is based on the `MBESS::ci.reliability()` function, which
#' is licensed under the GPL-2|GPL-3 license. Credits go to Sunthud Pornprasertmanit
#' and Ken Kelley. I adopted (and modified) code for constructing the lavaan-formula and CI from |
shouldn't we call it |
I think as reliability index, there's just the McDonald's Omega - it's just that there are different versions like normal, hierarchical, or for categorical data. That could be altered using a |
Almost no one uses "McDonalds" in the name here -- they just say "omega", "omega hierarchical", or "omega subscale". GPL-licensed code isn't compatible with our license, so we can't include it. We would need to write our own function (I can do that if we decide to include this.) I'm leery about including a function for omega like this one. The purpose of omega is that it is a model-based reliability a model based reliability estimator. The estimate is specific to the measurement model assumed for the items. This function assumes a single latent factor model--it doesn't work if a different sort of factor model or SEM is used (eg, multiple traits, a bifactor model, etc). The practical difference between omega and alpha for a single factor model is usually negligible (alpha is equivalent to omega computed on a single factor model with all loadings constrained to equal, but note that alpha doesn't assume a specific measurement model like omega does). I'm concerned that if we just include an If we include an omega function, I think we need to at least include both a lavaan model method to compute omega for the specified model in addition to a data frame method that uses a single factor model like here. The output should emphasize the model the value is computed for. For comparison, the psych::omega() function fits an bifactor model with a specified number of group factors. |
ok, I thought it would be in line with
I was thinking of that estimate as a measure of internal consistency of a scale (like Cronbach's Alpha), that's why I thought it doesn't matter much if omega is usually a model based reliability estimator? See https://tidsskriftet.no/en/2022/08/medicine-and-numbers/internal-consistency-alpha-omega
What do you mean by this? Does this matter when I just want to check internal consistency of a scale? |
After revisiting this PR, I think I understand your concerns, Brenton. Let's close this. |
No description provided.