Learn R Programming

MTSYS

MTSYS provides a collection of multivariate analysis methods in Mahalanobis-Taguchi System (MTS), which was developed for the field of quality engineering. MTS consists of two families depending on their purpose. One is a family of Mahalanobis-Taguchi (MT) methods (in the broad sense) for diagnosis and the other is a family of Taguchi (T) methods for forecasting.

Overview

The following methods are implemented.

A family of MT methods

  • MT method
  • MTA method
  • RT method

A family of T methods

  • T(1) method
  • Ta method
  • Tb method

For details, see the following referenses.

Installation

Install the release version from CRAN:

install.packages("MTSYS")

Or the development version from github

# install.packages("devtools")
devtools::install_github("okayaa/MTSYS")

Example

library(MTSYS)

# 40 data for versicolor in the iris dataset
iris_versicolor <- iris[61:100, -5]

unit_space_MT <- MT(unit_space_data = iris_versicolor)

# 10 data for each kind (setosa, versicolor, virginica) in the iris dataset
iris_test <- iris[c(1:10, 51:60, 101:111), -5]

diagnosis_MT <- diagnosis(unit_space = unit_space_MT, newdata = iris_test, 
                          threshold = 4)

(diagnosis_MT$le_threshold)
#>     1     2     3     4     5     6     7     8     9    10
#> FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE
#>   51    52    53    54    55    56    57    58    59    60   
#> TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE
#>  101   102   103   104   105   106   107   108   109   110   111 
#> TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE  TRUE 

References

  • Woodall, W. H., Koudelik, R., Tsui, K. L., Kim, S. B., Stoumbos, Z. G., and Carvounis, C. P. (2003) A review and analysis of the Mahalanobis-Taguchi system. Technometrics, 45(1), 1-15. <doi:10.1198/004017002188618626>
  • Kawada, H., and Nagata, Y. (2015) An application of a generalized inverse regression estimator to Taguchi's T-Method. Total Quality Science, 1(1), 12-21. <doi:10.17929/tqs.1.12>

Copy Link

Version

Install

install.packages('MTSYS')

Monthly Downloads

197

Version

1.2.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Akifumi Okayama

Last Published

September 10th, 2017

Functions in MTSYS (1.2.0)

RT

Function to generate a unit space for the Recognition-Taguchi (RT) method
T1

Function to generate a prediction expression for the two-sided Taguchi (T1) method
calc_overall_predicton_eta

Function to calculate overall prediction eta for the T method
diagnosis.MT

Diagnosis method for the Mahalanobis-Taguchi (MT) method
Ta

Function to generate a prediction expression for the Ta method
Tb

Function to generate a prediction expression for the Tb method
calc_M_hat

Function to estimate M value (M hat) for a family of T methods.
calc_cofactor

Function to calculate a cofactor matrix
MT

Function to generate a unit space for the Mahalanobis-Taguchi (MT) method
MTA

Function to generate a unit space for the Mahalanobis-Taguchi Adjoint (MTA) method
forecasting.T1

Forecasting method for the T1 method
forecasting.Ta

Forecasting method for the Ta method
general_T

General function to generate a prediction expression for a family of Taguchi (T) methods
general_diagnosis.MT

General function to implement a diagnosis method for a family of Mahalanobis-Taguchi (MT) methods
generates_unit_space

Wrapper function to generate a unit space for a family of Mahalanobis-Taguchi (MT) methods
diagnosis.MTA

Diagnosis method for the Mahalanobis-Taguchi Adjoint (MTA) method
diagnosis.RT

Diagnosis method for the Recognition-Taguchi (RT) method
generates_transformation_functions_T1

Function to generate data transformation functions for the T1 methods
forecasting.Tb

Forecasting method for the Tb method
general_MT

General function to generate a unit space for a family of Mahalanobis-Taguchi (MT) methods
general_forecasting.T

General function to implement a forecasting method for a family of Taguchi (T) methods
generates_dimensionality_reduction_function

Function to generate a data transformation function for the Recognition-Taguchi (RT) method
diagnosis

Function to predict a diagnosis for a family of Mahalanobis-Taguchi (MT) methods
forecasting

Function to predict a forecasting for a family of Taguchi (T) methods
generates_model

Wrapper function to generate a model for a family of Taguchi (T) methods
generates_normalization_function

Function to generate the data normalization function
generates_transformation_functions_Tb

Function to generate data transformation functions for the Tb methods