Adejumo A. O. , Sanni O. O. M. , Jolayemi E. T.
Department of Statistics, University of Ilorin, Ilorin, Nigeria
Correspondence to: Adejumo A. O. , Department of Statistics, University of Ilorin, Ilorin, Nigeria.
| Email: |  |
Copyright © 2012 Scientific & Academic Publishing. All Rights Reserved.
Abstract
Sample size consideration is important in statistical analysis to ensure a given power of the test being applied. However, non-response of any nature may arise so that complete information is obtained from a subset resulting in an effective sample size smaller than desired. This, in turn, reduces the power of the test. In this research, we examined the method of imputation when variables are categorical. This is to ensure that no information is lost through incomplete data. We found that whenever the correlation coefficient-type index was at least 60% which ensured that the conditional cell probabilities where rather concentrated either by row/column probability of misclassification is low. This means that imputation method in this case would be good and desirable.
Keywords:
Categorical variables, Imputation, Misclassification, Error rate
Cite this paper: Adejumo A. O. , Sanni O. O. M. , Jolayemi E. T. , Imputation Approach to Two Categorical Variables, International Journal of Statistics and Applications, Vol. 4 No. 2, 2014, pp. 85-88. doi: 10.5923/j.statistics.20140402.01.
1. Introduction
Imputation is the use of additional information from an auxiliary variable regarding another but important variable of particular interest based on the relationship of the two variables.In continuous, situations, whenever there is a good correlation coefficient between any two variables imputation have been used to a good variables, imputation have been used to a good advantage (see Schafer [1]) whereby one variable was predictable from the other and Vice versa. It is possible that parallel approaches can be developed for both diserete and continuous variables, (see Laaksonen ([2], [3], [4], and [5]), Bjornstad [6], Charlton [7]). As noted by Vermunt et al. [8], White et al [9] and Si and Reiter [10], chained equation strategies are not well-suited for large categorical datasets with complex dependencies.Raw and shao [11], Fay ([12], [13] and [14]), Du and Chen [15] can be sublimated into deterministic – Design Based approach or model assisted approach and random. For deterministic approach, the finite population is usually divided into j imputation cells such that in each imputation cell, the response pattern for different units are independent. Within this consideration of the determination of the imputation using model assisted approach finite population is also divided into j imputation cells such that in each imputation cells the response mechanism is unconfirmed in the sense that whether or not a unit responds does not depend on the variable being imputed. A random imputation on the other hand can be viewed as a deterministic imputation plus a random noise. Adding noise is motivated by objectives such as estimating the distribution or some quartiles of variable, or for other practical (but not necessarily statistical) reasons.An important use of imputation within categorical setting can be found when information is not readily available on a sensitive variable that is needed to classify the objects, but this information is available on another categorical variable, what do we do? This is what we are trying to address in this research paper.In this research a parallel mechanism is made within the categorical variables formulation. Section 2 describes the condition upon which imputation can be performed in the categorical situation. Computer simulation to justify imputation is presented in section 3 and a discussion of the use of imputation is highlighted in section 4 as well as the conclusion of this work.
1.1. Association Measure in Categorical Variable
Consider a 2-dimensional contingency so that the cell count for cell ij is nij, i =1,…,r j=1,…cTheorem;The maximum Pearson X2 for the 2-dimensional table to test independence is given as Max (X2) = (c* - 1) nWhere n = ∑∑nij and c* = min (r, c)Proof.Suppose the r x c table is realistic, that is to say that none of any row/column is empty. Such a typical table is given by table 1. A test for independence in Table 1 using
where
with
For the non-zero cells which appear once in both a row and column, the expected contribution using
is n. Specifically and using table 1 for example.Table 1. Typical realistic 3 x 5 contingency table  |
| |
|
1.2. Imputation Analysis
Given an r x c contingency table (Rubin [16] and Little and Schlucihter [17]).
, so that
,
so that
Therefore, 
where,
where c* = max (r, c).Any other configuration such that the r x c contingency is realistic as described above would give an identical result. The result here is also applicable to a square contingency table.Thus max (X2) = (c*-1) nWithin this formulation, the τ statistic (see Jolayemi [18], Adejumo [19]) is given as
The imputation proposed here would be as follow: set the unknown categorical variable to have the classification with highest marginal modal response obtained from the table using only the subset for which complete information regarding the variables are given. For example consider Table 2. Given a pair of observation (. ,y). If y=1, imputation suggest that x=1, if y=2, x is 2 and if y=3; x is 3. Furthermore for the pair (x, .) if x=1, then y=1, x=2 then y=2 ,x=3 then y=3, x=4, y could be at any level.
2. Simulation
Though it is often assumed that any contingency table can have any of multinomial, hypergeometric, product multinomial and independent Poisson distributions, for the purpose of this research and without loss of generality, the 2-dimentional table is assumed to have the multinomial distribution. Now suppose that each observation can be represented as (x,y); x and y representing respectively the row and column discrete variables.For a given cell probability configuration such as those found in Table 2 the marginal probabilities for the unknown row and for unknown column which can also be obtained easily as provided in table 3.Table 2. Conditional Marginal Probabilities Row Unknown  |
| |
|
Table 3. Conditional Marginal Probabilities Column Unknown  |
| |
|
Using a sample of size n = 200 the average τ value was 0.6641. In this manner various cell probability configurations were applied, simulated the 4 x 3 tables, calculated the τ value and obtained the probability of misclassification. Table 4 presents the error rate (here probability of misclassification).Table 4. Mean τ with respective misclassification error rate  |
| |
|
3. Discussion and Conclusions
From Table 4 it is evident that imputation becomes meaningless and indeed misleading if the measure of association between the two variables is low. However imputation become powerful when the
(Tau) statistics is at least O.6, within this background only a few of the subjects being cross-classified using imputation would be so wrongly done. This is similar to what obtains when regression is being used to impute missing values in continuous variable situations.As earlier said, an important use of imputation within categorical setting can be found when information is not readily available on a sensitive variable that is needed to classify the objects. If information is however available on another categorical variable that has a sizeable correlation with the missing variable then imputation may be used to guess the level of the sensitive variable required to properly cross-classify the object.Examples of this can be seen in criminology in which the information about age of a criminal is known, one can use this to know the type of crime is likely to commit. Also in case of accident, the nature of accident can be used to determine the survival or non-survival of the victims. In conclusion, we found that whenever the correlation coefficient-type index was at least 60% which ensured that the conditional cell probabilities where rather concentrated either by row/column probability of misclassification is low. This means that imputation method in this case would be good and desirable.
References
| [1] | Schafer, J.L. (1997) “Analysis of incomplete multivariate Data”. Chapman and Hall. London. |
| [2] | Laaksonen, S. (2000). Regression-Based Nearest Neighbour Hot Decking. Computational Statistics 15, 1, 65-71. |
| [3] | Laaksonen, S (2003). Alternative Imputation Techniques For Complex Metric Variables. Journal of Applied Statistics, 1006-1021. |
| [4] | Laaksonen, S. (2005). Integrated Modelling Approach to Imputation and Discussion on Imputation Variance. UNECE Work Session on Statistical Editing, Ottawa,16-18May2005. http://www.unece.org/stats/documents/2005/05/sde/wp.36.e.pdf |
| [5] | Laaksonen, S. (2006). Need for High Quality Auxiliary Data Service for Improving the Quality of Editing and Imputation. In: United Nations Statistical Commission,.Statistical Data Editing., Volume 3, 334-344. |
| [6] | Björnstad, J. (2007). Non-Bayesian Multiple Imputation. Journal of Official Statistics 23, 433-452. |
| [7] | Charlton, J. (ed.) (2003). Towards Effective Statistical Editing and Imputation Strategies - Findings of the Euredit project. http://www.cs.york.ac.uk/euredit/. |
| [8] | Vermunt, J.K.,Ginkel, J.R.V.,derArk, L.A.V.,and Sijtsma, K. (2008), “Multiple Imputation of Incomplete Categorical Data Using Latent Class Analysis” Sociological Methodology, 38, 369–397. |
| [9] | White IR, Royston P, Wood AM (2011). “Multiple Imputation Using Chained Equations: Issues and Guidance for Practice." Statistics in Medicine, 30, 377-399. |
| [10] | Si, Y. and Reiter, J. P. (2013), “Nonparametric Bayesian Multiple Imputation for Incomplete Categorical Variables in Large-Scale Assessment Surveys,"Journal of Educational and Behavioral Statistics, 38(5): 499-521. |
| [11] | Raw J.N.K. and Shao, J. (1992) “Jacknife Varnm,e estimator with survey Data under Hot Deck Imputation”. Biometrica, 79,811-822. |
| [12] | Fay, R.E.(1991), “A design-Based perspective an missing Data variance “ in proceedings of the 1991 Annual Research Conference, US, Bureau of the census, pp 429 – 440. |
| [13] | Fay, R.E. (1994) “Analyzing imputed survey Datasets with model-Assisted estimators “in proceeding of the survey Research methods section, American statistical Association, pp 900 – 9005. |
| [14] | Fay, R.E. (1996). Alternative Paradigms for the Analysis of Imputed Survey Data. Journal of the American Statistical Association, 91, 490-498. |
| [15] | Du, X and Chen, W (2004),”Sequential Optimization and Reliability Assessment Merthod for Efficient Probabilistic Designs” Journal of Mechanical Design, Vol 126(2): 225-233. |
| [16] | Rubin, D.B. (1987), “Multiple imputation for Nonresponse in Surveys”, New York; Wiley. |
| [17] | Little, R.J.A. and Schlucihter, M.D(1985) “Maximum Likelihood estimation for mixed continuous and categorical data with missing values”. Biometrika , 72,497-512. |
| [18] | Jolayemi, E. T. (1990), “On the measure of agreement between two raters “ Biometrical Journal 32:87-93. |
| [19] | Adejumo, A. O (2005), Modelling Generalized Linear (Loglinear) Model for Raters Agreement measures; Published by Peter Lang, Frankfurt am Main. (http://www. peterlang.de). |