Abstract

The method of paired comparisons (PC) is widely used to rank items using sensory evaluations. The PC models are developed to provide basis for such comparisons. In this study, the Weibull PC model is analyzed under the Bayesian paradigm using noninformative priors and different loss functions, namely, Squared Error Loss Function (SELF), Quadratic Loss Function (QLF), DeGroot Loss Function (DLF), and Precautionary Loss Function (PLF). Numerical approximation is used to illustrate the entire estimation procedure. A real dataset showing usage preferences for different cellphone brands, Huawei (HW), Samsung (SS), Oppo (OP), QMobile (QM), and Nokia (NK), is used. Quadrature method is used to evaluate the Bayes estimates, their posterior risks, preference probabilities, predictive probabilities, and posterior probabilities to establish and verify ranking order of the competing cellphone brands under study. The results show that the paired comparison model under the study using Bayesian approach involving various loss functions can offer mathematical approach to evaluate cellphone brand preferences. The ranking provided by the model is justifiable according to the usage preference for these cellphone brands. The ranking given by the model indicates that cellphone brand Samsung is preferred the most and QMobile is the least preferred. The plausibility of the model is also assessed using the Chi square test of goodness of fit.

1. Introduction

Paired Comparison (PC) is a very helpful technique for comparing and prioritizing the objects under subjective judgments, when quantitative measurements are either not available or accurate assessments are not possible. This technique is also known as special rank order technique. Under this technique, objects/items are presented to judges in the form of pairs and judges are asked to select the best one according to some specific criterion. This process is repeated for several pairs. Recently, this technique is applied in different fields, such as sensory experiments, taste testing, medicine, marketing, business decision-making, investigating preferences, and choice behavior. A huge amount of literature is available on the subject. Abbas and Aslam [1] analyzed the Pareto model under paired comparison techniques by using classical and Bayesian framework. For the Bayesian analysis they used cricket teams’ real dataset. Fitness of the model was judged using Chi square statistic. They found that their suggested model is suitable for the paired comparison data and the prior knowledge affect conclusions. Dittrich et al. [2] discussed a method for the analysis of Likert responses’ measurements on attitudinal scale by focusing the relative importance of items in the data. They converted the Likert responses into pairwise comparison responses; then, the multivariate pattern of responses is analyzed. Buck and Wakeling [3] gave the idea of a predictive model to know the consumers preferences for the sensory panel means and relative proportion for the products in pair comparisons. They suggested Binomial discrete logistic model for the analysis. A modification is made to adjust consumers equally liking or disliking. More than 500 consumers’ preference datasets were taken for analysis of the model. Abbas and Aslam [4] analyzed various factors which generally influence the judges’ opinions about the objects using the mixture model for the preference data. Probabilistic features of the mixture distribution besides inferential and computational problems arising out of maximum likelihood estimation are discussed. Dewart and Gillard [5] introduced a new criterion for comparing two ranking schemes using the Bradley and Terry model. Their forecasting and prediction results were based on the outcomes of cricket test matches. The predictions obtained showed better results compared to the prevailing forecasts. They also gave their own rating for the individual player to predict results for the upcoming matches. The purpose of their study was to show the importance and applications of the Bradley and Terry model in the field of paired comparisons. Altaf et al. [6] used noninformative and informative priors for the analysis of the amended Davidson model. The analysis was carried out on the case study. Their results showed that the model under the study is appropriate for qualitative data. In the literature, different PC models exist which are helpful in ranking items. Thurstone [7], Bradley and Terry [8], Stern [9], and Abbas and Aslam [10] constructed different PC models. Ullah et al. [11] suggested the Weibull PC model and analyzed it using Bayesian approach. Annis and Craig [12] and Cattelan [13] used PC technique to analyze sports-related problems. For more details on PC models and numerical approximation, one may see Schauberger and Tutz [14], Dittrich at al. [15], Van et al. [16], Kifyat et al. [17], Sung and Wu [18], Cui et al. [19], Kumar et al. [20], Ahmad et al. [21], Kumar et al. [22], and Ishkhanyan et al. [23].

Our study aims to contribute in the field of Bayesian statistics especially in paired comparisons and analyzing the suggested model under noninformative priors using numerical approximation as it is the leading feature of our study and has not been discussed previously in the literature.

In this study, Section 1 defines material and methods which include development and notations, Bayesian analysis of the Weibull PC model using prior distributions such as (Uniform and Jeffreys) priors, and graphical presentation of the marginal densities of the model’s worth parameters. Results and discussions are presented in Section 3. Concluding remarks of the study are provided in Section 4.

2. Materials and Methods

2.1. The Weibull Paired Comparison Model

The basics for the development of the Weibull PC model is elaborated in Ullah et al. [11]. According to the Weibull PC model, the probability of preferring treatment Tj over treatment Tk is denoted by and can be calculated as follows:and similarly the probability of preferring treatment Tk over treatment Tj denoted by is defined below:

Let r = rjk = rkj, pairwise comparisons of two treatments (Tj, Tk). If bjk denotes the preferences for treatment Tj to treatment Tk with bkj = rbjk, i.e., r = bjk + bkj, then the likelihood function for the results obtained in the trial “b” with data (bjk, bkj) and the parameters is

We impose a constraint on the model’s parameters, i.e., . Our purpose of imposing this condition for the confirmation of well-defined parameters.

2.2. Prior Distributions for Parameters of the Weibull PC Model

For the Bayesian analysis, two noninformative (Uniform and Jeffreys) priors are assumed. The noninformative uniform prior allocates identical probability to each and every unit. Symbolically, we can write it as follows:while the Jeffreys prior can be obtained as follows:

For m = 2, we have fisher’s information matrix is as follows:

The simplified algebraic expression of the Jeffreys prior for m = 2 is given below:

A program was designed in Mathematica 8.0 to solve the Jeffreys prior algebraically. As the Jeffreys prior have long and complicated algebraic expression which is not easy for applying for m = 5, so we drive the Jeffreys prior numerically for m = 5, designed in SAS package and can be obtain from the first author upon the request.

2.2.1. Joint and Marginal Posterior Distributions of the Weibull PC Model

The joint posterior distribution of the Weibull model parameters given in (8) with prior distribution is

The marginal posterior distribution of Weibull paired comparison model parameter given data using uniform and Jeffreys priors is defined in (9) and (10), respectively:where C is the normalizing constant and is defined as follows:

Quadrature method is used to evaluate the expression given in (9) and (10). Similarly, the remaining marginal posterior distributions can be obtained numerically.

The analysis of the model dataset given in Table 1 has been collected from the 30 people living in Islamabad, Pakistan, showing their usage preference for the cellphone brands (Huawei (HW), Samsung (SS), Oppo (OP), QMobile (QM), and Nokia (NK)).

2.3. Graphical Analysis of the Marginal Posterior Distributions

The graphical representation of the marginal densities of the model’s worth parameters using Uniform and Jeffreys priors for the Weibull PC model are shown in Figures 1 and 2, respectively.

Glancing through the above figures, we observe that all the graphs of the marginal posterior distributions are approximately symmetrical. Section 2 explained the model development, model notations, and graphical analysis under both of the priors. In Section 3, results are obtained using the quadrature method.

3. Results and Discussion

3.1. Posterior Estimates and Posterior Risks

Loss function indicates the difference between the parameter and estimate. It is used for the estimation of the parameter. It describes the accuracy of the method used to analyze the dataset. When the loss function is used, the Bayesian estimator minimizes the expected loss with respect to the posterior distribution. The term Bayes estimator (BE) can be also regarded as Bayes action. It minimizes posterior expected value of the loss function. The expected value calculated is considered as Bayes estimate (BE), while the expected loss is represented by the Posterior Risk (PR). Larger value of the posterior risk is the indication of higher posterior risk, while the smaller value is the sign of higher reliability. This section presents the derivation of the Bayes Estimators and Posterior Risks (PRs) under loss functions using Uniform and Jeffreys priors. We used four different loss functions named as Squared Error Loss Function (SELF), Quadratic Loss Function (QLF), DeGroot Loss Function (DLF), and Precautionary Loss Function (PLF) [11]. The BEs and PRs, using various loss functions under Uniform and Jeffreys priors, are obtained and given in Tables 2 and 3. Results show that PRs for the parameters of under SELF are smaller when compared to the remaining loss functions: DLF, PLF, and QLF. Thus, the results clearly show that SELF is the most suitable loss function for the estimation of model’s parameters . From the posterior estimates, it becomes now clear that the ranking order for the cellphone brand usage preference is as follows: .

3.2. Preference Probabilities

The probabilities that show the chance of preferring any cellphone brand Tj over the other cellphone brand Tk are known as preference probabilities. The posterior estimates are used to calculate preference probabilities. The preference probabilities for the worth parameters , are obtained using posterior estimates of uniform prior under SELF through numerical approximation. The preference probabilities calculated are displayed in Table 4.

The value for the Huawei and Samsung cellphone brands’ pair (HW, SS) indicates that Huawei has probability 0.4928 of being preferred over the Samsung, and the probability (0.5072) is in the favor of Samsung against the Huawei. The remaining probabilities can be interpreted on the same lines. From the results, we observe that there exists a complete coordination in the ranking order with respect to the posterior means and preference probabilities in the both noninformative priors.

3.3. Predictive Probabilities

The predictive probability P(jk) indicates the future preference of cellphone brand Tj over the cellphone brand Tk in a single future comparison. The predictive probabilities given in Table 5 are calculated under noninformative (Uniform and Jeffreys) priors using numerical approximation.

The predictive probability 0.4929 predicts that there are 49.29% chances that the HW will be preferred to SS and 50.71% chances that SS is preferred to HW in a single future comparison. The remaining predictive probabilities can be interpreted on the same lines. From the results, we observe that the predictive probabilities portray the same ranking order as shown by the posterior means.

3.4. Bayesian Hypothesis Testing

Bayesian hypothesis testing is a simple and straightforward procedure. The posterior probabilities are calculated, and decision between the hypotheses is directly made. We consider the following two hypotheses for comparing and of any two cellphone brands:

The posterior probabilities for can be calculated as, and

The hypothesis with higher probability will be accepted. The posterior probabilities for are computed using numerical approximation and given in Table 6 under both (Uniform and Jeffreys) priors.

From the results we can conclude that the hypotheses H12 and H45 are rejected and H13 and H23 are inconclusive, while the remaining are accepted indicating SS is preferred over HW, NK, OP, and QM, respectively. Similarly, HW is preferred over SS, NK, OP, and QM, respectively. We can also interpret the remaining posterior probabilities on the same lines.

3.5. Plausibility of the Model

Chi Square test is used to check the plausibility of the model under study. Model is said to be plausible if the calculated and expected frequencies are closer to the corresponding observed frequencies. Let and denote the expected frequencies, which can be calculated as and . The calculated value of the Chi Square statistic for the Weibull PC model is 4.64 with value 0.59075 at 6 degrees of freedom. So, according to the decision rule, it is quite evident that the model under study is plausible to the data. Similar results are obtained using the Jeffreys prior.

4. Conclusion

The Weibull PC model is analyzed under Bayesian paradigm using noninformative (Uniform and Jeffreys) priors through numerical approximation. The dataset for the usage preferences of the cellphone brands is collected from the people living in Islamabad, Pakistan, and used for the Bayesian analysis. The posterior distributions are derived and the posterior estimates are obtained under various loss functions such as Squared Error Loss Function, Quadratic Loss Function, DeGroot Loss Function, and Precautionary Loss Function. The graphical representation of the marginal posterior distributions of the model parameters has revealed the symmetry of the distributions of the parameters. It has been observed from the Bayes estimates using both priors that the usage preference for the cellphone brands under study may be ranked as . The preference probabilities of current pairwise comparison and the predictive probabilities of future pairwise comparison have been presented in the Bayesian analysis. The posterior probabilities of hypotheses to compare two parameters are discussed in this study. Moreover, the model has been proved to be plausible in the light of observed data as it yields a Chi square value of 4.64 with an associated value of 0.59075. We suggest that this model may be treated as a good candidate to rank any types of competitors besides those studied here.

Data Availability

The data for the research work are personally collected from the people living in capital city of Pakistan.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this article.