Open dekuenstle opened 1 year ago
I support this suggestion -- it is even confusing for me when I teach
I agree it would be a good improvement. @boutinb, how hard is it to get factor levels from a column to fill in component titles dynamically in qml?
Well.... I have tried, and I had to go quite far to get something working. If you have a VariablesList called splitBy, then this code sets the text Group 1 > Group 2
, toGroup A > Group B
, when the variable has A and B as labels.
But it is really hacky... So I should add a feature so that it makes it easily possible.
DropDown
{
id: test
name: "test"
source: [{name: "splitBy", use: "levels"}]
visible: false
property var groupValues: [1, 2]
}
Row
{
visible: false
Repeater
{
model: test.model
Text {text: test.model.data(test.model.index(index, 0)) }
onItemAdded: (index, item) =>
{
var temp = test.groupValues
temp[index] = item.text
test.groupValues = temp
}
}
}
Text { text: qsTr("Group %1 > Group %2").arg(test.groupValues[0]).arg(test.groupValues[1]) }
@dekuenstle @boutinb This seems fixed, right? Here for regression:
Or are we talking about the t-Test interface:
Then I do not see, how this is related to regression however...
This is not yet implemented. I don't see that in the Regression module. It is well in the Summary Statistics module.
Description
Name "Group 1" and "Group 2" in the interface according to the data
Purpose
Avoid mistakes in interpretation
Use-case
Change direction of tests in the interface
Is your feature request related to a problem?
No response
Is your feature request related to a JASP module?
Regression, T-Tests
Describe the solution you would like
the interface would replace the "Group 1" and "Group 2" placeholder with the actual name of the groups as provided in the data columns.
Describe alternatives that you have considered
Automatically show the description table, which provides these names
Additional context
Many analysis in JAGS provide options concerning "Group 1" and "Group 2", like t-Tests or correlations. These options are sometimes confusing and can easily lead to mistakes in the interpretation. Here it would be convenient, if the interface would replace the "Group 1" and "Group 2" placeholder with the actual name of the groups as provided in the data columns.