LNE Conformance Probability For Bivariate Cases User Guide

June 8, 2024
LNE

LNE Conformance Conformance probability for
bivariate cases
User guide

User guide – LNE – December 2013

FOREWARD

Goals of the sotware

This software has been implemented in order to calculate the conformance probability for bivariate cases. It offers four possibilities, available through a main menu, the “Raw data” one, the “Conditional distributions” one, the “Marginal distributions” one and the “Joint probability distribution” one.

This manual is intended to help users of the software to understand the different features proposed in order to compute the conformance probability for a bivariate case.

Sources of the software

The software had been implemented by the mathematical and statistical service (SMS) of the “Laboratoire National de Métrologie et d’Essais” (LNE). The main author is Valentin Mansanarez, an internship at the LNE in 2013.

INSTALLATION AND LAUNCHING OF THE SOFTWARE

Installation of the software
Matlab executable & MCR software

The software « Conformance probability for bivariate cases » is an executable generated by Matlab. In order to use that software, it is necessary to install before, the Matlab Compiler Runtime (MCR), which allow the launching of Matlab executables without having Matlab on the computer.
Be careful with the kind of system because there is two different versions of this software whether or not you use Windows 32 bits or Windows 64 bits. That’s why there is two executables : the 32 bits and the 64 bits one.

Prerequisites for deployment

Use of the 32 bits version
Verify the MATLAB Compiler Runtime (MCR) is installed and ensure you have installed version 8.0 (R2012b).
If the MCR is not installed, download the Windows 32-bit version of the MCR for R2012b from the MathWorks Web site by navigating to :
http://www.mathworks.com/products/compiler/mcr/index.html
Use of the 64 bits version
Verify the MATLAB Compiler Runtime (MCR) is installed and ensure you have installed version 8.1 (R2013a).
If the MCR is not installed, download the Windows 64-bit version of the MCR for R2013a from the MathWorks Web site by navigating to
http://www.mathworks.com/products/compiler/mcr/index.html

Lauching of the software

There is no need of installation for the software, all you have to dispose of, due to launch it, is the executable. Open it and you will find the main menu.

PURPOSE AND NOTATIONS OF THE SOFTWARE

Purpose

This software is intended for the computing of the conformance probability. Knowing some information on the distribution of the two measurands. It offers the use of the conditional, marginal or joint probability distributions in order to calculate this probability.

Notations

Let’s called Y1, Y2  the two random variables, corresponding to the two measurands.
The tolerance interval is called and the lower and upper specification limits are noted, respectively LSLY1 and USLy1 for the first measurand Y1, LSLY2, and USLY2 for the second measurand Y2

Domain of the specification limits

All in the subroutine proposed, by the main menu, you must provide the values of the specification limits. In order to avoid to bug the software, there is the different domains of the specification limits :

– for a normal distribution the domain is R;
– for a t student distribution the domain is R;
– for a binomial distribution the domain is the integers between 0 end n, where n is the first parameter of the binomial law ;
– for the beta distribution the domain is [0,1];
– for the gamma distribution the domain is] 0,+ ∞[;
– for the inverse-gamma distribution the domain is ] 0, + ∞[;
– for the log-normal distribution the domain is] 0, + ∞[;
– for the uniform distribution the domain is [min, max], where min and max are, respectively, the first and the second parameters of the uniform law.
Let’s remind that, for one measurand, the lower specification limits must be strictly lower than the upper one.

MAIN MENU

Few seconds after launching, the main menu, called « Conformance probability computing » will appear (cf the screenshot below).

LNE Conformance Probability For Bivariate Cases - MAIN
MENU

On this main menu you have to choose the kind of information you know about the distribution of the two measurands Y1, Y2:
– “Conditional distributions” when you only know the both conditional distributions ;

– “Marginal distributions”, for an independent case, when you know the both marginal distributions ;
– “Joint probability distribution” when you know the joint distribution.
After your choice, you must validate it by clicking on the “Validate” button.
A help menu appears, in which this kind of information is reminded, when you click on the “Help” button in the main menu.

SUBROUTINE «   CONDITIONAL DISTRIBUTIONS  »

When you have choose this subroutine, a menu appears (cf the screenshot below). A “Help” button permits to understand how this menu works and the “Gibbs’ parameters” button allows the user to enter the both initial values, the number of loop and the burn in, four parameters needed to launch the Gibbs sampling.  The two first correspond to the initial sample from which the algorithm of Gibbs starts and makes, after, a number of loop before it ends. The burn in permits to reduce the effect due to the initial sample. Indeed, the initial values must be coherent with the model.

LNE Conformance Probability For Bivariate Cases - CONDITIONAL
DISTRIBUTIONS

The « Conditional distributions » subroutine uses the Gibbs sampling in order to compute the conformance probability with the conditional laws. For this, all you need is to provides the conditional distribution with theirs parameters, which ones can be expressed according to the other conditional distribution.
Let’s call y1, y2 the expression of the both variables: in this menu, you must enter y1 and y2 if you want to provide the expressions of the parameters.

Example of Use

LNE Conformance Probability For Bivariate Cases - for
Example

LNE Conformance Probability For Bivariate Cases - Conditional distributions
1

The conformance probability Pc of this model is approximately 0.682. The Gibbs sampling provides estimations of the joint probability distribution, that’s why the conformance probability can vary depending on the values of the number of loop and the burn in.

SUBROUTINE «   MARGINAL DISTRIBUTIONS  »

This menu must be use just in an independent case, when you know the both marginal law. A “Help” button remind the use of this subroutine (cf the screenshot below).

LNE Conformance Probability For Bivariate Cases - MARGINAL
DISTRIBUTIONS

SUBROUTINE «   JOINT PROBABILITY DISTRIBUTION   »

The last menu, named « Joint probability distribution », allow the computing of the conformance probability, when the joint probability distribution is known. A “Help” button remind the use of this menu (cf the screenshot below).

LNE Conformance Probability For Bivariate Cases - JOINT PROBABILITY
DISTRIBUTION

After the “Compute” button has been clicked, the conformance probability Pc appears, as also, for the Student distribution, the scale matrix (cf the screenshot below).

LNE Conformance Probability For Bivariate Cases - JOINT PROBABILITY
DISTRIBUTION 1

LNE Conformance Probability For Bivariate Cases User Guide – Download [optimized]
LNE Conformance Probability For Bivariate Cases User Guide – Download

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals