Skip to content

[Bug]: Process Capability won't generate on 3-parameter Weibull data #4163

@Lisa-Capybara

Description

@Lisa-Capybara

JASP Version

0.96.0

Commit ID

No response

JASP Module

Quality Control

What analysis are you seeing the problem on?

Process Capability Study

What OS are you seeing the problem on?

Windows 10

Bug Description

Process Capability generates on normally distributed data as well as data that doesn't fit the 3-parameter Weibull. "This analysis terminated unexpectedly" whenever I apply process capability, 3-parameter Weibull, to data that in fact fits the 3-parameter Weibull. Additionally, the Anderson Darling always has a p of 0 with non-normally distributed data against the 3-parameter Weibull, even when I know it fits the 3-parameter Weibull based on Minitab output on same data.

3 Parameter Weibull errors.zip

Expected Behaviour

Based on Minitab output on same data, Anderson Darling against 3-parameter Weibull should be, AD: 0.313, p > .5 and there should be output generated with expected overall performance of 2.76% defect with Upper Spec Limit of 4.

Steps to Reproduce

With data based on the 3-parameter Weibull distribution, when I request Non-normal distribution, 3-parameter Weibull, I receive an error that "This analysis terminated unexpectedly. Error in stats::optim(x = c(1.5, 1.1, 2.1, 1.2, 1.9, 4.2, 2.2, 2.2, 1.4, : non-finite finite difference value [3]... Stack trace... to receive assistance with problem, please report the message above at: https: //jasp-stats.org/bug-reports."

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

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions