-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Bug]: Error in diag(scales) %*% truevar: non-conformable arguments #2294
Comments
@saggnevm thanks for reporting this bug. I suspect the issue is within the |
The data file is attached. Here's the syntax (the problem occurs when
reliability = TRUE):
jaspFactor::confirmatoryFactorAnalysis(
version = "0.18",
ave = TRUE,
factors = list(list(indicators = list("I am willing to select a challenging
work assignment that I can learn a lot from.", "For me, development of my
work ability is important enough to take risks.", "I often look for
opportunities to develop new skills and knowledge.", "I enjoy challenging
and difficult tasks at work where I'll learn new skills."), name =
"Factor1", title = "Factor 1"), list(indicators = list("I like to show that
I can perform better than my coworkers.", "I like to work on projects where
I can prove my ability to others.", "I try to figure out what it takes to
prove my ability to others at work.", "I enjoy when others at work are
aware of how well I am doing."), name = "Factor2", title = "Factor 2"),
list(indicators = list("At work, avoiding a show of low ability is more
important to me than learning a new skill.", "I would avoid taking on a new
task if there was a chance that I would appear rather incompetent to
others.", "I prefer to avoid situations at work where I might perform
poorly.", "I'm concerned about taking on a task at work if my performance
would reveal that I had low ability."), name = "Factor3", title = "Factor
3")),
htmt = TRUE,
naAction = "pairwise",
packageMimiced = "Mplus",
*reliability = TRUE*)
…On Wed, Sep 20, 2023 at 2:30 AM Julius Pfadt ***@***.***> wrote:
@saggnevm thanks for reporting this bug. I suspect the issue is within the
semTools package. Unfortunately, without the data file and the model
syntax, I cannot find out what is going wrong. Any chance you could share
that?
—
Reply to this email directly, view it on GitHub
<#2294 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV7J2LB47SJN3JHKPNVNBDDX3KEQDANCNFSM6AAAAAA46XKSKY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
ah well, I was imprecise about the requirements. So what I need is a screenshot of how you specify the factors. And you probably tried attaching the data to an email. That does not work. You have to upload to the GitHub website where you made the issue. |
Thanks :) so this is an issue in the r-package |
Once the new semTools version is on CRAN this issue will be fixed. |
Thank you.
…On Thu, Sep 21, 2023 at 3:46 AM Julius Pfadt ***@***.***> wrote:
Once the new semTools version is on CRAN this issue will be fixed.
—
Reply to this email directly, view it on GitHub
<#2294 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV7J2LAE2WONR2PGQRRXVB3X3PWE3ANCNFSM6AAAAAA46XKSKY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Can you tell me where I can change the scale to "scale"?
…On Thu, Sep 21, 2023 at 3:23 AM Julius Pfadt ***@***.***> wrote:
Thanks :) so this is an issue in the r-package semTools, which we use to
compute the reliability. I have made an issue at their GitHub site
simsem/semTools#130 <simsem/semTools#130>.
Let's see how that works out. For the time being I can only advise you to
treat your variables as quasi-continuous. That means, you may change the
scale of these in JASP to "scale" and the analysis should run smoothly.
—
Reply to this email directly, view it on GitHub
<#2294 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV7J2LDXOOHTTXRLECOBH33X3PTPRANCNFSM6AAAAAA46XKSKY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
see https://jasp-stats.org/getting-started/ "change variable types" |
Got it.
…On Fri, Sep 22, 2023 at 2:15 AM Julius Pfadt ***@***.***> wrote:
see https://jasp-stats.org/getting-started/ "change variable types"
—
Reply to this email directly, view it on GitHub
<#2294 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV7J2LABL4YVNHL2KECQMUTX3UUI5ANCNFSM6AAAAAA46XKSKY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@saggnev |
Same problem, sorry, this is my first time on GitHUb so I don't know if I'm doing my request properly. Error Message : Changing the variable type from ordinal to scale, as suggested above, makes the calculation of alphas and omegas work, but it changes all the fit indexes, so I don't think that really fixes the problem. I can't do my CFA properly and get the reliabilities :-( |
This is probably fixed in the upcoming version 0.19. if you need this now you can test it via a nightly build |
Thank you so much for your answer. Seems like a Christmas present to me. Cant's try it right now, but I'll try it this week and will let you know. Many thanks. |
It is not fixed, because |
Still not fixed upstream. |
makes sense, since |
we could switch to using the GitHub version of semTools. We should come back to this prior to the next release and see if semTools is update until then |
ThanxLe 7 janv. 2025 12:57, Julius Pfadt ***@***.***> a écrit :
we could switch to using the GitHub version of semTools. We should come back to this prior to the next release and see if semTools is update until then
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
JASP Version
0.18.0
Commit ID
No response
JASP Module
Factor
What analysis are you seeing the problem on?
Confirmatory factor analysis
What OS are you seeing the problem on?
Windows 10
Bug Description
When I check Reliability (under Additional Output) the right panel is grayed-out and the attached is displayed.
Expected Behaviour
Not sure because this was the first time I tried it. But, I assume that it should show one or more measures of construct reliability.
Steps to Reproduce
Log (if any)
No response
Final Checklist
The text was updated successfully, but these errors were encountered: