Skip to content

Conversation

@jvli4n
Copy link

@jvli4n jvli4n commented Nov 21, 2025

Allowing user to specify the type for the quantile estimation.

Added feature to specify quantile types. Includes changes in:

- Interface
- Quantiles in descriptives table
- IQR in descriptives table
- Boxplots
- QQ-plots
Adding reference for help documentation
Some more explanations for the help file and clean-up.
- Code for treating ordinal variables as continuous to use the same quantile type for ordinal as well as continuous variables

- Additional resource for help file

- Making sure unit test for ordinals uses type 3 as the unit test was written under this assumption
label: qsTr("Type")
id: quantilesType
indexDefaultValue: 6 // Type 7, the default in R
info: qsTr("Method used to compute quantiles (see Hyndman & Fan, 1996; Langford, 2006, for more information). The selection carries over to the inter-quartile range (IQR), box- and QQ-plot calculations. Note that ordinal variables are treated as continuous for the computations.\n")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps also mention which values corresponds to other software programs? because the help file will be generated from this if I remember correctly, so it might be nice to mention this there as well.

{label: qsTr("4"), value: 4},
{label: qsTr("5"), value: 5},
{label: qsTr("6 (Minitab, SPSS)"), value: 6},
{label: qsTr("7 (R, S)"), value: 7},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{label: qsTr("7 (R, S)"), value: 7},
{label: qsTr("7 (R)"), value: 7},

I'd be inclined to omit S since it's been superseded by R.

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

Successfully merging this pull request may close these issues.

2 participants