The stepwise robust chart procedure for Shewhart $\bar{X}$ chart by @Nazir2014246 used both $\overline{IQR}{10}$ and $\overline{TM}{10}$. These two procedures were designed for equal subgroup sizes but unequal subgroup sizes in financial data are common due to market closures, public holidays etc. Hence the two robust estimators found in @Nazir2014130 and @Nazir2014246 are adopted for unequal subgroups using the appropriate unbiasing constants. These two procedures are used to estimate the unknown parameters $\mu$ and $\sigma$ from limited Phase~I data which are required to find the Phase~II control limits.
The \CRANpkg{QCCTS} package is developed to implement these two procedures.
The interquartile range of subgroup $i$ is calculated as $IQR_i=Q_{i,3}-Q_{i,1}$, where $Q_{i,1}=x_{i,(a)}$ and $Q_{i,3}=x_{i,(b)}$, with $a=\left \lceil n_i/4 \right \rceil$, $b=n-a+1$, and $x_{i,(m)}$ the $m^{\mathrm{th}}$--order statistics of subgroup $i$. Each $IQR_i$ is corrected by dividing its normalizing constant, $x_{\overline{IQR}_{10}}(n_i)$. These values are given in Table~1 of @Nazir2014130. The 10% trimmed mean of the sample interquartile ranges is used as an unbiased estimate for $\sigma$,
$$\overline{IQR}{10}=\frac{1}{k-2(\left \lceil k/10 \right \rceil-1)}\left [ \sum{m=\left \lceil k/10 \right \rceil}^{k-\left \lceil k/10 \right \rceil+1} IQR_{\left (m \right )}\right ]$$
This procedure involves two main steps namely screening of subgroups affected by parameter shifts and then the removal of individual outliers (signal points) in the remaining unaffected subgroups.
$$\overline{TM}{10}=\frac{1}{k-2\left \lceil k/10 \right \rceil}\left [ \sum{m=\left \lceil k/10 \right \rceil+1}^{k-\left \lceil k/10 \right \rceil} TM_{\left (m \right )}\right ]$$
The upper and lower control limits are given by $\overline{TM}_{10}\pm3\hat{\sigma_d}/\sqrt{n_i}$.
The example given in @Nazir2014130 and @Nazir2014246 has choosen.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.