Skip to content

[Bug]: Append residuals mixing up Standardised vs Studentized? #3945

@robertfodor

Description

@robertfodor

JASP Version

0.95.4

Commit ID

No response

JASP Module

Regression

What analysis are you seeing the problem on?

Linear Regression

What OS are you seeing the problem on?

macOS Silicon

Bug Description

Adding Standardised residuals to dataset actually adds studentized residuals, and vice versa, if cross-checked with R. According to github code.

Expected Behaviour

Standardised should add rstandard(linearmodel), and Studentized should add rstudent(linearmodel), but I found that it's the other way around.

Steps to Reproduce

  1. Create a hierarchical linear model
  2. Append residuals selecting not Raw, but Standardised option
  3. Cross-check variable with R using rstandard() and rstudent()

Log (if any)

No response

More Debug Information

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions