Often, calculated measures are established for convenience. For example, suppose you have the process measures of gross container weight and tare weight. You can create an equation to subtract the tare weight from the gross container weight to calculate the net product weight.
Calculated measures are associated with processes. To add a calculated measure to a process, open the process template.
_VariableName1_
. Select the Show Variables link to display the available measures.
For more information on process and output measures, go to Continuous measures.
Real-Time SPC supports basic mathematical functions. The equation syntax requires parentheses for functions, exponents, multiplication, and following the order of operations (PEMDAS).
subtract(_Gross Container
Weight_,_Tare Weight_)
_Gross Container Weight_ - _Tare
Weight_
_Gross Container Weight_ -
1.5
multiply(_Length_,_Width_)
_Length_ * _Width_
mean(_Measure1_,_Measure2_,_Measure3_,_Measure4_)
std(_Measure1_,_Measure2_,_Measure3_,_Measure4_)
Only valid measures associated with the same process as the calculated measure are available for use as equation variables.
If the equation for a calculated measure contains a deleted measure, the equation
is no longer valid. The equation remains; however, the deleted measure is
represented by a system id value. For example the following valid equation,
_Gross Container Weight_ - _Tare Weight_
,
becomes invalid when _Tare Weight_
is deleted
from the process.
The invalid equation contains a system id value instead of a valid measure name
(_Gross Container Weight_ - _12_
).
Real-Time SPC retains all previous calculations. Subsequent data collections will use a null value until the equation is valid again.
All measures used in a calculated measure must be in the same sampling plan as the calculated measure. For more information, go to Overview of data collection methods for sampling plans.
In this example, the calculated measure, Net Product Weight, has a subgroup size of n=3. Because the subgroup size for Tare Weight is n=1, the calculated measure only records one observation for the data collection. The Xbar-R chart for the calculated measure cannot display the data because the Xbar-R chart requires at least 2 observations to calculate the range of the data.
You cannot edit calculated measures directly. You can only edit them by editing one of the measures within the equation.