JMP Acceptance Sampling Plan Add-InThe acceptance sampling plan add-in provides a point-and-click interface for generating / creating, evaluating and comparing sampling plans.
Specifically, one can create sampling plans by lot acceptance sampling by attributes and variables acceptance sampling. Attribute sampling plans supported include:
- Single
- Zero ( C = 0, Squegila Plans )
Variable sampling plans supported include:
- Sampling by Variables for proportion nonconforming
Key features:
- Generate / Create sampling plans
- Evaluate sampling plans
- Compare up to 5 sampling plans
- Operating Characteristic ( OC ) Curves
- Acceptance Region Plot
- K-Method for variables sampling plans
- One-sided spec limits
- Two-sided spec limits
- Generate variables collection table for analysis with unknown standard deviation
- Validation / Integration test cases
- Performance measures for Average Outgoing Quality (AOQ) and Average Total Inspection (ATI)
- Acceptance region
Acceptance Region Plot with summaryAcceptance Region Plot with summary
Installation:
Click the link above to download the add-in, then drag onto JMP to install or double-click the add-in to install.
Give it a try and be sure to reply and leave comments below.
Version: Initial beta release
Minimum JMP Version: 14
Basic usage:
Launch add-in from JMP Add-ins menu
Select JMP Sampling Plans from the Menu
JMP Sampling Plan Add-In Menu optionsJMP Sampling Plan Add-In Menu options
Select Attribute or Variables Sampling Plans to launch sampling plans menu
Single Attribute Sampling Plan Dialog OptionsSingle Attribute Sampling Plan Dialog Options
Options Menu for modifying default options and for launching integration test cases or validation test cases
Options MenuOptions Menu
Example Output:
Performance Measure Graphs including AOQ and ATIPerformance Measure Graphs including AOQ and ATI
Sampling Plan Tabular SummarySampling Plan Tabular Summary
Comparing Sampling Plans
Known Issues:
- Single Attribute Sampling using Verification and Validation ( V&V ) ( planned for next update )
- Double Sampling Plans ( planned for future update )
- Sampling by variables for proportion nonconforming using Verification and Validation (V&V) ( planned for next update )
- Help documentation incomplete
Change Log:
November 4, 2020: Version 1.01
- Updated the minimum JMP version supported to 14.
- Removed startup script
March 2, 2021: Version 1.1
- Bug fixes
- Evaluation of double sampling by attributes
- Average Sample Number (ASN Curve)
- ASN and ASN_c ( fully curtailed )
31 March 2021: Version 1.3
- Bug fixes
- Preferences file located in USER_APPDATA by default
- Unit test cases / validation test cases located in USER_APPDATA by default
21 July 2021:Version 1.4
- Bug fixes
- Fixed issue with error related to ::_lotacc_val_ not found
I have written the first in a series of blog posts related to acceptance sampling by attributes, zero acceptance sampling plans, variables sampling plans and double sampling by attributes. What is Acceptance Sampling?
Review the sampling plan add-in by using the QR Code
Rate the JMP Sampling Plan add-inRate the JMP Sampling Plan add-in
Analytical Application DevelopmentData VisualizationExploratory Data AnalysisQuality EngineeringSix SigmaRe: JMP Acceptance Sampling Plan Add-InI like this feature very much. I thought JMP17 would add it, but I found it was not. I was very sad
Re: JMP Acceptance Sampling Plan Add-InSorry, my mistake, It is correct. it should be Z.LSL>=k
Re: JMP Acceptance Sampling Plan Add-InHi Stan
Thanks a lot for this Add-Ins. I do have one question?
Shouldn't this be Z.LSL<=K when I have both specifications?

Re: JMP Acceptance Sampling Plan Add-InI have JMP 16.2 using Microsoft version 11. I have a horizontal input screen, not a vertical one that you show in your response. I continue to get errors every time I use the add-in.


Re: JMP Acceptance Sampling Plan Add-InHi @JimHartwig,
Sorry to learn you encountered an error.
I did a quick test and got the following output.
double sampling plan dialoguedouble sampling plan dialogue
double sampling plan outputdouble sampling plan output
Please confirm which version of JMP and which OS you are using and I'll take a look at my code and post an update shortly.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-InI am getting an error when running the double sampling plan analysis. Here is the error.

Here is the input information. (level II inspection, letter code H, AQL=1% used from MIL-STD-105E)
n1=n2=32 N=500 AQL=0.01625 RQL=0.1225 (from NIST handbook section 6.2.4) ; pass 1 Ac=0 Re=2 ; pass 2 Ac=1 Re=2 ;1-alpha=0.95 beta=0.10
Any ideas on what I am doing wrong?
Re: JMP Acceptance Sampling Plan Add-In@Fideliter and @smoke,
I have updated the add-in to v1.4.
Thank you for trying it out.
Please do let me know if you have ideas for enhancements, new feature requests or encounter other issues.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-InHi @smoke,
Thank you for confirming the issue noted previously.
I will post a fix later this evening.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-InHi @Fideliter,
Sorry for the delayed response.
I will post a fix for the error you noted this evening.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-In@stan_koprowski, can confirm the same error box popped up as @Fideliter .
I went through the menus as follows: add-ins->Jmp Sampling Plans-> Variables -> Sampling by Variables -> Generate/Create Variables Plan -> (leave the stock values in the window and then hit ok). = Same exact error box as above
I am on JMP 15.1.0 as well
Re: JMP Acceptance Sampling Plan Add-InVariables sampling plan does not seem to work on JMP 16:

Re: JMP Acceptance Sampling Plan Add-InHi
Thanks a lot it works great know!
Re: JMP Acceptance Sampling Plan Add-InHi @Franck_R and @caesal ,
I have fixed the issue with the preferences file location.
Please go ahead and download the latest version 1.3.
Thank you for trying it out and for the feedback.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-InHello,
I'm using mac for JMP. I also got this error and I'm sure my file location is correct. How should I fix it?
Error with file: File not found: /Users/c4esal/Library/Application Support/JMP/Sampling Plans/Preferences/sampling plans default preferences.jmp.{16} in access or evaluation of 'Glue' , Include(
"$ADDIN_HOME(JMP sampling plans koprowski)/V1/sampling_plans_main_code.jsl"
);
sampling_plans_main_ns:include_main_f();
defvals = defaults_sampling_plans_ns:load_defaults_f( valflag = 0 );
Eval( oksplMMbbExpr ) /*###*/;
Re: JMP Acceptance Sampling Plan Add-InGreat, thanks!
Re: JMP Acceptance Sampling Plan Add-InHi @Franck_R,
Thank you for the additional information. I was able to isolate and identify the root cause of the issue.
I'll post an update to fix the preference file not found issue...the storage location changed and is not reflected properly by the add-in.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-InI am on JMP Pro 15.2.1.
The previous add-in version was working fine.
This latest version (March 2, 2021) does not work. I get an error message.
I went back to the previous version.
I hope this get fixed since it is a very useful add-in.

Re: JMP Acceptance Sampling Plan Add-InOK thanks but In fact I do use the default location path.
My addin path is:
C:\Users\frichard.CROCUS\AppData\Roaming\SAS\JMP\Addins\
I have check too this path with:
y = Get Path Variable("ADDIN_HOME(JMP sampling plans koprowski)");
print(y);
and the result is:
"/C:/Users/frichard.CROCUS/AppData/Roaming/SAS/JMP/Addins/JMP sampling plans koprowski/"
I do not have change anything in my default addin path and for me it is the standard for JMP on windows. It is the first addin which I have such error…
And the error log mention:
Error with file: Path is invalid: C:\Users\frichard.CROCUS\AppData\Roaming\JMP\Sampling Plans\Preferences\sampling plans default preferences.jmp.{16} in access or evaluation of 'Glue' , Include(
"$ADDIN_HOME(JMP sampling plans koprowski)/V1/sampling_plans_main_code.jsl"
);
There is nothing in my case on in C:\Users\frichard.CROCUS\AppData\Roaming\JMP\Sampling Plans\Preferences\
I am using the current version of this addin and JMP 15.2.1
I hope it works, it would have helped me a lot at the moment, but it is okay if it is not... 
Re: JMP Acceptance Sampling Plan Add-InHi @Franck_R ,
I updated the add-in on 2 March 2021. Which version of JMP are you using?
The add-in by default should be installed in "c:\...\SAS\JMP\Addins\..." I noticed based on the error you have shared the add-in installation path is not using the default location.
If you had an earlier version of the sampling plan add-in installed I would recommend uninstalling the previous version of the add-in before installing the current version and verify the add-in default location.
If you verify the above and are still experiencing any issues please send me a private message and I'll work with you directly to resolve.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-InHi
Have you been able to work on this addin recently? I have an error for every menu: perhaps it is related to some trouble between this script written on mac vs windows?
"Error with file: Path is invalid: C:\Users\xxx\AppData\Roaming\JMP\Sampling Plans\Preferences\sampling plans default preferences.jmp.{16} in access or evaluation of 'Glue' , Include(
"$ADDIN_HOME(JMP sampling plans koprowski)/V1/sampling_plans_main_code.jsl"
);
sampling_plans_main_ns:include_main_f();
defvals = defaults_sampling_plans_ns:load_defaults_f( valflag = 0 );
Eval( oksplMMbbExpr ) /*###*/;"
Thanks!
Re: JMP Acceptance Sampling Plan Add-In@Raaed, @mandeling @GuillaumeBE ,
bummer, this is a bug. I'll squash it and post an update shortly with some enhancements and bug fixes.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-In@shampton82
Thanks for pointing this out to me. And yes the reference lines should touch the OC curve.
I'll post an update shortly with some enhancements and bug fixes.
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-InThanks for creating this! I ran it and just used the default settings and got this:

Should the blue line be going through the "elbows" of the color lines?
Re: JMP Acceptance Sampling Plan Add-In@Raaed ,
Thank you for your help,but the add-in changes in November 4, 2020 stated"
- Updated the minimum JMP version supported to 14.
- Removed startup script
"
Re: JMP Acceptance Sampling Plan Add-Innot run in jmp pro 14.3
Re: JMP Acceptance Sampling Plan Add-Inhello,
I encountered the same error message: "argument incorrect lors de l'accès ou de l'évaluation de 'Column' , Column/*###*/(dt_plan_rslts, 1)",my OS is Windows 10,the version of JMP is JMP PRO 14,when use all modules,the error message jumped out!
Is there any solution?
Regards,
mandeling
Re: JMP Acceptance Sampling Plan Add-InHi @GuillaumeBE,
Thank you for trying out the sampling plan add-in.
I'm sorry you encountered some issues.
Can you provide me with some additional details so I can track down what might be the cause of the error you encountered.
- Which OS are you using?
- Which version of JMP are you running?
- Which module were you attempting to use when you received the error?
cheers,
Stan
Re: JMP Acceptance Sampling Plan Add-InHello,
I really want to try your tool but it doesn't work for me.
I have this error message: "argument incorrect lors de l'accès ou de l'évaluation de 'Column' , Column/*###*/(dt_plan_rslts, 1)"
Have you an idea about this probem ?
Regards,
Guillaume