Q¨ UESTII ´ O,vol. 22, 2, p. 231-242, 1998 ON MAXIMUM ENTROPY PRIORS AND A MOST LIKELY LIKELIHOOD IN AUDITING A. HERN´ ANDEZ BASTIDA ? Universidad de Granada M.C. MARTEL ESCOBAR ? F.J. V´ AZQUEZ POLO ? Universidad de Las Palmas de G.C. There are two basic questions auditors and accountants must consider when developing testing and estimation applications using Bayes’ Theorem: What prior probability function should be used and what likelihood function should be used. In this paper we propose to use a maximum entropy prior probability function MEP with the most likely likelihood function MLL in the Quasi-Bayesian QB model introduced by McCray (1984). It is defined on a adequate parameter. Thus procedure only needs an expected value of θ0known (in this paper the expected tainting) to obtain a MEP all an auditor or accountant need to suply are the range, as with any other prior, and the expected tainting, θ0. We will see some practical applications of the methodology proposed about internal control evaluation in auditing. Keywords: Maximum Entropy Prior, Partial Prior Information, Auditing. AMS Classification: 62A15, 62C10 *A draft version of this paper was presented by authors at 4th World Congress of the Bernoulli Society. Vienna, August, 1996. We would like to thank, without implicating, Nicanor Guerra, for computation assistance. ? Authors in alphabetical order. All three authors have made major contributions to this work. Research partially supported by «Direcci´on General de Universidades e Investigaci´on del Gobierno Aut´onomo de Canarias», under grant 2705. Address for correspondance: Departamento de M´etodos Cuantitativos en Econom´ıa y Gesti´on. Facultad de CC. Econ´omicas. M´odulo D. 35017 Las Palmas de G.C. e-mail:
[email protected] –Received September 1996. –Accepted June de 1997. 231
1. INTRODUCTION Bayes’ Theorem has not been widely used in auditing and accounting because accountants find some dificulties in assessing a prior probability density function about the average tainting (or total error in an account or file). There are several reasons for these inconveniences. Firstly, it is difficult for accounting firms to define standard specific procedures to obtain the prior distribution using auditing evidence accumulated in the normal course of the evaluation of internal accounting control. Therefore it may be difficult for the auditor to justify the parameters in the prior probability density function to be used since they have not an intuitive meaning. Procedures involved may be also quite complicated and cumbersome to implement without significant staff training. This paper suggests the usage of the class of prior probability density functions known as maximum entropy priors MEP’s because they do not have any of the problems mentioned above such a class of distributions includes not only those aspects about the prior density which are unquestionable, but they are also the most noninformative priors available. Moreover, this is a very simple procedure to use. For instance, if an auditing firm is about using MEP in internal accounting control evaluation and analytical reviews, two steps should be considered: The former one includes the specification by the auditing firm of a matrix relating any of the possible evaluations to one or more of the statistical measures considered to be relevant in the prior distribution, i.e. the mean value, one or two quantile values. This matrix will be specific for this particular auditing firm and will be reflecting its own criteria. In the second step, once that matrix has been established, the MEP distribution is completely defined and it can be used in bayesian analysis for DUS (Dollar Unit Sampling) or phisical unit sampling. This paper introduces a new method to specify the posterior distribution that uses the MEP. This method is called MLPC (most likely posterior curves) and does not need to know the probability distribution for the tainting in the population. The remainder of this article is organized as follows: Section 2 describes maximum entropy approach used later. Section 3 shows how maximum entropy priors and most likely likelihood have been used to obtain the posterior distribution of total amount of error in an accounting population. By illustrations, Section 4 describes how a firm could establish a relationship between the evaluation of internal accounting control and analytical review and the MEP characteristics. Finally, Section 5 contains a summary and some concluding remarks. 232
2. MAXIMUM ENTROPY PRIORS Let the parameter space Θbe a continuous and bounded subset of the real line. In practice Θwill be a closed and bounded interval of the real line, Θ = [ a ; b ] , and represents the taint in an accounting population. Even, if the parameter space is continuous and unbounded there is not a natural definition of entropy. We will use the definition proposed by Jaynes (1968), for a probability distribution πas follows: Ent ( π ) = ? E log π ( θ ) π0 ( θ ) = ? Z Θπ ( θ ) log π ( θ ) π0 ( θ ) dθ(1) where π0is the natural «invariant»noninformative prior for the problem, usually we use the natural noninformative prior uniform. It is well known (see Berger (1985), pp. 92-93) that if partial prior information is given by: Eπ [ gk ( θ )] = Z Θgk ( θ ) π ( θ ) dθ = µk ; k = 1 ; :::; m ; (2) and we try to solve: max Ent ( π ) subject to: Eπ [ gk ( θ )] = Z Θgk ( θ ) π ( θ ) dθ = µk ; k = 1 ; :::; m : then, the solution is given by the expression: π ( θ ) ∝ π0 ( θ ) exp ( ∑ k λk gk ( θ ) ) (3) where λk ( k = 1 ; 2 ; :::; m ) are constants to be determined from the constraints in (2). Notice that: If g1 ( θ ) = θand, gk ( θ ) = ( θ ? µ1 ) k ; 2 k m, restrictions and hence partial information consists of specifying mcentral moments in the distribution, If gk ( θ ) = I ( ? ∞ ; zk ] ( θ ) , restrictions are now refered to the specification of mquantiles. 233
There are some interesting applications in statistical auditing involving the bayesian approach. 2.1. Partial Information given by the Mean The maximum entropy prior for a location parameter specified by the mean θ0is given by π ( θ ) = λeλθ eλb ? eλa (4) where the unique restriction is g1 ( θ ) = θ ; µ1 = θ0, and aand bare specified (in the domain of θ) and λis obtained by solving the nonlinear equation λ ( ae ? λa ? be ? λb ) + e ? λa ? e ? λb λ ( eλb ? eλa ) = θ0 (5) if θ0is less than ( a + b ) = 2, then λis positive, λis negative otherwise. If θ0 = ( a + b ) = 2, equation (5) cannot be solved, but it can be shown that in the limiting shape of the MEP is that of the uniform prior between aand b. Equation (5) is not restricted to positive values for aand bas constraints above might suggest. If ais negative, it is a simple matter to perform a linear transformation to obtain a MEP satisfying the boundary constraints in equation (5). 2.2. Partial Information when one quantile is given In this case the restriction is g1 ( θ ) = I ( ? ∞ ; z1 ] ( θ ) , where z1is the known α-quantile (α 2 ( 0 ; 1 ) ). We can obtain the maximum entropy prior through by easy algebraical manipulations: π ( θ ) = 8 < : eκ eκ ( z1 ? a )+( b ? z1 ) ; if a θ z1 1 eκ ( z1 ? a )+( b ? z1 ) ; if z1 < θ b (6) where κis a constant to be determined from the constraint α = Z z1 aπ ( θ ) dθ. Easy computation gives us: κ = log (( b ? z1 ) α = ( 1 ? α )( z1 ? a )) . Finally the MEP obtained from one quantile given is the two piece uniform distribution, π ( θ ) = ( α z1 ? a ; if a θ z1 1 ? α b ? z1 ; if z1 < θ b (7) 234
2.3. Partial Information when two quantiles are given Now the restrictions are g1 ( θ ) = I ( ? ∞ ; z1 ] ( θ ) ;g2 ( θ ) = I ( ? ∞ ; z2 ] ( θ ) , where z1is the known α1-quantile and z2is the known α2-quantile (α1 ; α2 2 ( 0 ; 1 ) ), α1 < α2,z1 < z2, then π ( θ ) ∝exp f κ1g1 ( θ ) + κ2g2 ( θ ) g where κ1 ; κ2are constants to be determined from the constraints, α1 = Z z1 aπ ( θ ) dθ ; and α2 = Z z2 aπ ( θ ) dθ : Calculations involved can be easily performed obtaining the three piece uniform distribution MEP given by, π ( θ ) = 8 > > < > > : α1 z1 ? a ; if a θ z1 α2 ? α1 z2 ? z1 ; if z1 < θ z2 1 ? α2 b ? z2 ; if z2 < θ b (8) Obviously, if we consider three o more quantile the procedure yields four or more piece uniform distributions MEP. The three cases considered above are specially atractive to use in auditing and accounting settings as we will show in the next section. Furthermore, it should be used with the most likely likelihood in the Quasi-Bayesian Model (McCray (1984,1986)). 3. MEP AND MLPC IN AUDITING A magnitude of prime interest in accounting auditing is the total amount of error since it has an intuitive meaning for auditors and it is also something those have prior relevant information about. Suppose a range of equally spaced possible total amount of error is defined (for example 500 or 1000). There are various sampling techniques in auditing. Dollar unit sampling (DUS) maybe particularly appealing to auditors. Roughly speaking, this is a method to select sample items such that the probability of any given item being selected is directly proportional to its record value in the book. If the auditor is interested in including zero and/or small recorded value (wich have a small chance of being selected), then he/she could design specific audit test about them. Suppose DUS sampling is used (see Felix and Grimlund (1977),Cox and Snell (1979), and Godfrey and Neter (1982), among others) and we are interested in combining our 235
sample observations to prior information to get a posterior probability distribution over all possible states of nature, the possible total amounts of error previously specified. In DUS, the population size is the known Recorded Book Value (RBV) and the sample plan consists of selecting dollar units with equal chance of being selected. The amount of error for each dollar selected is the difference between its two associated values: its book value and its audited value (presumed to be correct). The fraction ( error / book value ) is called taint of the dollar-unit randomly selected. Taintings in a dollar unit sample are recorded and used to make inference about the total error amount in the population. In a empirical situation, most of these tainting values are zero. We assume that no amount can be overestimated or underestimated by a quantity bigger than its book value, therefore the variation range of taintings goes from -100 to +100 per cent. We have then 201 categories of taintings: T ? 100 ; :::; T ? 1 ; T0 ; T + 1 ; :::; T + 100, associated to different taintings: ? 100% ; :::; + 100%. When the error tainting in the sample is zero, the sample dollar is counted in category T0, and when it is in between the category Ti ? 1and Tiit is counted in category Ti. Let θi ( i = ? 100 ; :::; + 100 ) denote the population proportion of dollar-units with ipercent error. For a random sample of dollar units of size n, let ni ( i = ? 100 ; :::; + 100 ) be the observed frequencies in category Ti ( i = ? 100 ; :::; + 100 ) . The counts in categories follow a multinomial model1 M ( θ ? 100 ; :::; θ100 ) = n! n ? 100! ::: n100!Π100 i = ? 100θni i (9) The relevant magnitude for auditors is the total amount of error, λ, and the prior knowledge is assessed on λ, say ξ ( λ ) . This parameter is given by: λ = RBV 100 100 ∑ i = ? 100i θi Bayes’ Theorem asserts that the logical way to modify prior beliefs about a unknown parameter is to combine prior and likelihood distributions resulting in a posterior one. Prior and likelihood function must be referred to same unknown parameter. However in our model, likelihood function refers to proportions of errors, θi’s, and prior refers to total amount of error (a linear combination of the proportion of error). Thus, a traditional Bayesian would require that auditors supply a prior probability mass function for each possible proportion of errors θi’s. However, there has been a 1Exactly, the multinomial model appears when the random sample is chosen with replacement. In other case, because in practice the total book value is very large in relation to sample size, the multinomial model is a good approximation of the likelihood function. 236
development which can be considered to be a modification of the usual likelihood for handling data from a QB scheme. Briefly, the approach defines the likelihood function for the unknown λas the likelihood induced by M ( θ ? 100 ; :::; θ100 ) in Zehna (1966) notation. An intuitive approach of that function is in McCray (1984). For a complete development of that function see Hern´ andez et al. (1996) and other references therein. The posterior mass function, called Most Likely Posterior Curve (MLPC)2, could be calculate by: ξ ( λ j data ) = M ( λ ) ξ ( λ ) ∑λM ( λ ) ξ ( λ ) where: M ( λ ) = ∑ λ sup φ ? 1 ( f λ g ) M ( θ ? 100 ; :::; θ + 100 ) ! Iφ ? 1 ( f λ g ) ( θ ? 100 ; :::; θ + 100 ) φ ? 1 ( f λ g ) = ( ( θ ? 100 ; :::; θ + 100 ) j + 100 ∑ i = ? 100θi = 1 and RBV 1000 + 100 ∑ i = ? 100 i θi = λ ) Therefore the QB formulation can be summarized via Bayes’Theorem with a maximized likelihood function. Any prior can be used. This posterior distribution has two advantages, 1. it does no require modelling the accounting population taintig to obtain the likelihood (as in the most of the audit models, Cox and Snell (1979),Godfrey and Neter (1984), and Felix and Grimlund (1977)), 2. the user doesn’t have to asses neither prior distribution on few intuitive magnitudes nor a prior distribution on a high dimensional parameter space (Tsui et al. (1985)). Despite this two advantages, this model needs to elicit a complet prior distribution and it can be a very difficul task for auditors, though this is a prior distribution on one parameter, with a strongly intuitive meaning, the total amount of error. But this assignment is allways a subjective matter, and it could cause problems to justify its functional form. It should be very useful a more objective procedure such that the prior distribution could include those issues with the most certainty, and outside of those, it could be the least informative prior distribution. 2The Quasi-Bayesian educational PC share ware MLPC v.3.02 and manual are available through the Internet at the anonymous ftp site: csg.uwaterloo.ca in the directory: pub/dmg/mlpc. 237
This procedure even could include qualitative judgements like «excellent»,«very good», ... about the evaluation of internal accounting control of the firm. It could be possible to identify each of the previous judgements with some aspects of the prior distribution, like the mean, one or more quantiles,... (of course, depending on the policy of the firm). This method can be possible using the Maximum Entropy Prior distribution, and this is the method we propose in this work, clearly more advantageous than the other usual estimation procedures of the total amount of error in auditing. 4. ILLUSTRATIONS The following examples illustrate how above MEP’s might be used in audit situations and the effect of different mean and/or quantiles on a few descriptives posterior upper bounds: qb50 ; qb80 ; qb90 ; qb95 ; qb99. Consider the following DUS data from an inventory with a reported book value of $1 ; 000 ; 000, a sample size of 100 items, and taints observed of 0, 10, 90 and -25 with number of cases of 94, 1, 1, 4, respectively. As an example, we give in Table 1 below a matrix of possible relationship between Internal Control and/or Analitical Review Evaluation (IC/AR) and prior information about the total amount of error in the inventory (usually, overstatement error). Table 1. Matrix of Possible Relationships between IC/AR Evaluation and Prior Information IC/AR Evaluation Prior Information Expected average tainting θ0(percent) Excellent 3 Very Good 5 Good 10 Poor 15 Very Poor 30 One Quantile Maximum Tainting Percent (MTP) Credibility (CR) Excellent 3 0.95 Very Good 5 0.95 Good 10 0.95 Poor 15 0.80 Very Poor 30 0.70 Two Quantiles MTP CR MTP CR Excellent 3 0.95 5 0.99 Very Good 5 0.95 10 0.99 Good 10 0.95 15 0.99 Poor 15 0.80 30 0.95 Very Poor 30 0.70 50 0.80 238
For instance, in the one quantile case if IC/AR evaluation yields an output of Very Good, then auditors can feel comfortable accepting that the probability that total amount of error be minor than 5% is 0.95. The following table shows the behaviour of posterior probability in these situations. MEP refers to MEP with mean known, and MEP1 and MEP2 refer to MEP with one and two quantiles given, respectively. Table 2. Posterior Descriptive Quantities of Total Amount of Error3 Distribution IC/AR Evaluation Excellent V. Good Good Poor V. Poor MEP 27872.07 26690.69 31237.37 31802.57 32488.20 Post. Mean MEP1 32863.98 32972.65 32972.65 32972.65 32972.65 MEP2 32873.64 32972.65 32972.65 32972.65 32972.65 MEP 21050.04 28476.98 23682.89 24121.46 24651.69 Post. Mode MEP1 25177.08 25040.71 25040.71 25040.71 25040.71 MEP2 25164.96 25040.71 25040.71 25040.71 25040.71 MEP 25598.06 27286.12 28719.21 29242.20 29876.03 Post. Median MEP1 30301.68 30328.67 30328.67 30328.67 30328.67 MEP2 30304.08 30328.67 30328.67 30328.67 30328.67 MEP 35876.41 38302.43 40367.56 41122.54 42038.42 qb80 MEP1 42618.63 42694.82 42694.82 42694.82 42694.82 MEP2 42625.43 42694.82 42694.82 42694.82 42694.82 MEP 42263.74 45155.88 47620.98 48522.93 49617.84 qb90 MEP1 50253.08 50407.74 50407.74 50407.94 50407.74 MEP2 50266.88 50407.74 50407.74 50407.94 50407.74 MEP 48095.48 51417.08 54252.19 55290.94 56553.19 qb95 MEP1 57152.31 57450.34 57450.34 57450.34 57450.34 MEP2 57178.19 57450.34 57450.34 57450.34 57450.34 MEP 60458.79 64718.94 68390.80 69748.42 71409.98 qb99 MEP1 71221.28 72615.84 72615.84 72615.84 72615.84 MEP2 71336.30 72615.84 72615.84 72615.84 72615.84 3These calculations were made using the educational freeware program MLPC, a Quasi-Bayesian software package. Number of data points was set at 500. 239