Next Article in Journal
Combine Harvester Bearing Fault-Diagnosis Method Based on SDAE-RCmvMSE
Next Article in Special Issue
Bayesian Variable Selection and Estimation in Semiparametric Simplex Mixed-Effects Models with Longitudinal Proportional Data
Previous Article in Journal
Spatio-Temporal Dynamics of Entropy in EEGS during Music Stimulation of Alzheimer’s Disease Patients with Different Degrees of Dementia
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Logistic Regression Model for a Bivariate Binomial Distribution with Applications in Baseball Data Analysis

1
Department of Applied Mathematics, Hanyang University, Ansan 15588, Korea
2
Department of Economics, Hanyang University, Ansan 15588, Korea
3
Department of Mathematical Sciences, Bentley University, Waltham, MA 02452, USA
*
Authors to whom correspondence should be addressed.
Entropy 2022, 24(8), 1138; https://doi.org/10.3390/e24081138
Submission received: 20 July 2022 / Revised: 9 August 2022 / Accepted: 13 August 2022 / Published: 17 August 2022
(This article belongs to the Special Issue Statistical Methods for Modeling High-Dimensional and Complex Data)

Abstract

:
There has been a considerable amount of literature on binomial regression models that utilize well-known link functions, such as logistic, probit, and complementary log-log functions. The conventional binomial model is focused only on a single parameter representing one probability of success. However, we often encounter data for which two different success probabilities are of interest simultaneously. For instance, there are several offensive measures in baseball to predict the future performance of batters. Under these circumstances, it would be meaningful to consider more than one success probability. In this article, we employ a bivariate binomial distribution that possesses two success probabilities to conduct a regression analysis with random effects being incorporated under a Bayesian framework. Major League Baseball data are analyzed to demonstrate our methodologies. Extensive simulation studies are conducted to investigate model performances.

1. Introduction

There has been a considerable amount of research work on modeling offensive and defensive abilities in baseball. In particular, offensive measures are often assessed and analyzed to predict future hitting performance. Further, various measures have been proposed in the past decades through Sabermetrics (known initially as SABRmetrics) to evaluate batters’ hitting performance. As mentioned by [1], successful free-agent hitters who are expected to produce similar future outcomes are entitled to an enormous amount of money with large contracts. To estimate the parameter of interest, the probability of success (e.g., the probability of hits or the batting probability of a baseball player), in this scenario, the binomial regression model is a commonly used model with a generic term in conjunction with regression covariates.
Many studies have been conducted on binomial regression models with well-known link functions such as the logistic, probit, and complementary log-log functions. Ref. [2] discussed hierarchical models for analyzing binomial data in a Bayesian framework. Bedrick et al. [3] presented extensive Bayesian methodologies for binomial regression models without incorporating random effects. Later, Chenetal [4] investigated the theoretical properties of the Jeffreys prior to general binomial regression models. Pires and Diniz [5] and Prasetyo et al. [6] also analyzed binomial regression models based on the Bayesian perspective. Here, we notice that the conventional binomial regression model is applicable only when a single success probability is associated with players or teams. However, we often encounter situations where two dependent probabilities of success are of interest when analyzing the offensive sides of hitters in baseball. Specifically, the ‘batting average’ is an older well-recognized measure to evaluate batters’ performance. In the modern baseball era, the ‘slugging percentage’ is another crucial measure to see how often power hitters can produce extra-base hits [7]. Under these circumstances, it is important to investigate which covariates are related to these two dependent measures separately and simultaneously.
The bivariate binomial (BVB) distribution originally proposed by [8] is one of the remedies for dealing with two success probabilities when nested binary data come into play. Based on the BVB distribution, several theoretical properties, including Jeffreys priors, were investigated by [9]. Ref. [10] suggested a bivariate extension of the binomial autoregressive (AR) model and proposed a new class of bivariate binomial AR models based on a binomial thinning operation. Recently, Ref. [11] conducted a changepoint analysis with the BVB to investigate the streakiness of baseball and basketball players. However, to the best of our knowledge, a regression model for the BVB distribution has not yet been studied in the literature.
In this paper, we utilize the BVB distribution with two inter-linked logit functions to capture the association between two success probabilities based on nested binary data. The proposed model allows the two inter-linked logit functions to share some common covariates. In other words, some covariates are included in both logit functions and some covariates are included in only one of the logit functions. Another novel feature of our proposed model is that unobserved characteristics of individuals or groups that simultaneously affect two success probabilities are taken into account via joint random effects. The joint random effects are unobserved heterogeneity that commonly exists in both dependent success probabilities. We treat the joint random effects as model parameters and estimate them using a Markov Chain Monte Carlo (MCMC) algorithm under the Bayesian paradigm. The direct estimation of the joint random effects is important for two reasons. First, in a regression analysis setting, random effects typically represent subject-specific means in a longitudinal dataset that are assumed to be independent of any covariates. Those random effects are treated as an additional source of regression errors. However, as in our empirical application, the random effects contain valuable information about individuals or groups and can be useful for prediction. For instance, the average performance over the full sample period can differ significantly across batters, and it is likely that these differences among players will persist in the future. Estimating these random effects directly will provide a way to extract useful subject-specific information. Second, by directly estimating the common random effects, we can test if the unobserved heterogeneity of one success probability is associated with its counterpart in the pair of success probabilities. In addition, our direct estimation approach provides empirical results that are robust to potential non-zero correlations between unobserved heterogeneity and the covariates in the two logit functions. When the unobserved heterogeneity is correlated with the covariates in a regression model, it is typically modeled with fixed effects and the unobserved heterogeneity should be explicitly estimated or eliminated before model fitting by data transformations such as differentiating successive observations or demeaning observations by their time-series means. However, these data transformations are difficult to apply when using a logit function. In contrast, our proposed approach can handle the non-zero correlations between covariates and the unobserved heterogeneity through a direct estimation method.
In this work, we consider the Bayesian approach for the parameter estimation, since the Bayesian method is more suitable for the estimation in the proposed model than the classical maximum likelihood (ML) estimation method because high-dimensional parameter spaces are involved in the model. Due to the longitudinal nature of data, the number of model parameters, including individual random effects, increases linearly with the cross-section size. The high-dimensional parameter space involved in the model brings additional difficulties to the parameter estimation process for the ML method. For instance, the ML estimates are mostly not in closed-form and require a numerical method to solve the optimization problem. For high-dimensional parameter spaces, obtaining a reasonable set of initial estimates of the model parameters for the ML estimation method can be challenging. Subsequently, the chance of locating a local maximum instead of the global maxima in the numerical optimization process can be higher. Moreover, the numerical optimization algorithm involved in the ML method could be very unstable when the sample size is small in the time dimension. In application to the baseball data analysis, we consider a panel dataset with T = 6 (6 months) with N = 60 (60 players). The reason we choose T = 6 is because that we want the player performances to be as homogeneous as possible during the sample period, and that a single regular season in Major League Baseball (MLB) consists of about six months. Typically, a baseball player’s performance varies significantly from season to season. Therefore, restricting the sample period to one season keeps the homogeneity of the data and allows us to model the average performance of each player using the random effect. However, the relatively small sample may cause difficulties in the maximum likelihood estimation for the time series dimension. These technical issues in the estimation process can be readily avoided using the Bayesian estimation method by suitably imposing Bayesian priors over the model parameters.
The rest of this paper is organized as follows. In Section 2, we introduce the mathematical notations and the BVB distribution along with the three proposed BVB regression models. Section 3 discusses the Bayesian inference based on the proposed BVB regression models and provides the Bayesian MCMC algorithm. A practical data analysis based on the performance data of MLB players is presented in Section 4. Then, to evaluate the performance of the proposed models and estimation methods, Monte Carlo simulation studies are used and the settings and results are presented in Section 5. Finally, brief concluding remarks along with future research directions are provided in Section 6.

2. Models and Notations

We use D = { ( m 1 , x 11 , x 21 , z 1 ) , ( m 2 , x 12 , x 22 , z 2 ) , , ( m T , x 1 T , x 2 T , z T ) } to denote the observed sequence of nested bivariate binary data for the -th individual/group ( = 1 , 2 , , L ) at time points t = 1 , 2 , , T with the covariate vector z t = ( 1 , z t 1 , z t 2 , , z t K ) that contains K covariates, where the bivariate random vector ( x 1 t , x 2 t ) with x 1 t x 2 t follows a BVB distribution denoted by
( x 1 t , x 2 t ) B V B ( m t , p t , q t )
for t = 1 , 2 , , T . The BVB distribution considered here is based on a two-stage binomial model. For example, in assessing the performance of a baseball player, say the -th player at time t, suppose the probability of hits is p , then the number of hits out of m t total at-bats is a random variable X 1 t that follows a binomial distribution
Pr ( X 1 t = x 1 t | m t ) = m t x 1 t p t x 1 t ( 1 p t ) m l t x 1 t ,
x 1 t = 0 , 1 , , m t . For the same player at time t, suppose the probability of extra-base hits (two-base hits, three-base hits, and home runs) out of total hits is q t . Given the number of hits X 1 t = x 1 t , the number of extra-base hits is a random variable X 2 t that follows a binomial distribution
Pr ( X 2 t = x 2 t | m t , x 1 t ) = x 1 t x 2 t q t x 2 t ( 1 q t ) x l t x 2 t ,
x 2 t = 0 , 1 , , x 1 t . From [8], the joint probability mass function of x 1 t x 2 t that follows the BVB distribution is given by
f ( x 1 t , x 2 t ; m t , p t , q t ) = m t x 1 t p t x 1 t ( 1 p t ) m l t x 1 t x 1 t x 2 t q t x 2 t ( 1 q t ) x 1 t x 2 t , x 1 t = 0 , 1 , , m t , x 2 t = 0 , 1 , , x 1 t , 0 < p t < 1 , 0 < q t < 1 .
Here, x 1 t is the number of successes out of m t trials with the probability of success p t and x 2 t is the number of successes out of x 1 t trials with probability of success q t .
Remark 1.
The motivation of our work is based on nested (two-stage) binary data encountered in basketball and baseball, as well as in other fields such as microbiology [8]. The basketball data analyzed in [11] have a similar structure in which m is the number of shoot attempts, x 1 is the number of shoots made out of the m attempts, and x 2 is the number of three-point field goals out of the x 1 shots made. Following the same idea, one can construct a trivariate binomial distribution based on a three-stage binomial model by incorporating another nested stage. For example, in the basketball example, x 3 can be the number of 4-point plays (i.e., a player completes a three-pointer while being fouled, which leads to a free-throw) out of the x 2 three-point field goals.
Wallis [12] proposed the logit transformation logit ( p t ) = log ( p t / ( 1 p t ) ) as an appropriate transformation for percentages, proportions, and probabilities because the logit transformation stabilizes the variance and brings the range of the data from ( 0 , 1 ) to ( , ) , which improves the performance of normal approximation. Moreover, the logit transformation ensures that the estimates and projections are in the interval ( 0 , 1 ) . Since we have two inter-related success probabilities p t and q t , we consider the following three logistic regression models based on the BVB distribution that can be formulated as follows.
  • Model 0—Model with no random effect
    We consider the following two logit link functions to model the two inter-related success probabilities p t and q t with the covariates:
    logit ( p t ) = β p 0 ( 0 ) + β p 1 ( 0 ) z t 1 + + β p k ( 0 ) z t K = z t β p ( 0 ) , logit ( q t ) = β q 0 ( 0 ) + β q 1 ( 0 ) z t 1 + + β q k ( 0 ) z t K = z t β q ( 0 ) ,
    for = 1 , 2 , , L , where β p ( 0 ) = ( β p 0 ( 0 ) , β p 1 ( 0 ) , β p 2 ( 0 ) , , β p K ( 0 ) ) and β q ( 0 ) = ( β q 0 ( 0 ) , β q 1 ( 0 ) , β q 2 ( 0 ) , , β q K ( 0 ) ) are the vectors of regression coefficients associated with parameters p t and q t , respectively. The model in Equation (1) is our benchmark model and hence, we refer it to as Model 0.
  • Model 1—Model with joint random effect
    We consider the following two logit link functions to model two inter-related success probabilities p t and q t with the covariates:
    logit ( p t ) = β p 0 ( 1 ) + β p 1 ( 1 ) z t 1 + + β p k ( 1 ) z t K + a ( 1 ) = z t β p ( 1 ) + a ( 1 ) , logit ( q t ) = β q 0 ( 1 ) + β q 1 ( 1 ) z t 1 + + β q k ( 1 ) z t K + β * ( 1 ) a ( 1 ) = z t β q ( 1 ) + β * ( 1 ) a ( 1 ) ,
    for = 1 , 2 , , L , where β p ( 1 ) = ( β p 0 ( 1 ) , β p 1 ( 1 ) , β p 2 ( 1 ) , , β p K ( 1 ) ) and β q ( 1 ) = ( β q 0 ( 1 ) , β q 1 ( 1 ) , β q 2 ( 1 ) , , β q K ( 1 ) ) are the vectors of regression coefficients associated with parameters p t and q t . Here, we assume that a 1 ( 1 ) , a 2 ( 1 ) , , a L ( 1 ) are independent and identically distributed standard normal random variables representing a random effect, and parameter β * ( 1 ) indicates a varying deviance between subjects or individuals. The model in Equation (2) incorporates the joint random effects in the two logit functions. The key model parameter, β * ( 1 ) , captures the link intensity between the unobserved heterogeneities of the two success probabilities, which allows us to statistically test for the link in a straightforward manner.
  • Model 2—Model with joint random effect and unobserved heterogeneity
    We now extend Model 1 by incorporating an additional random effect term in logit ( q l t ) . The extended model denoted by Model 2 is given by
    logit ( p t ) = β p 0 ( 2 ) + β p 1 ( 2 ) z t 1 + + β p k ( 2 ) z t K + a ( 2 ) = z t β p ( 2 ) + a ( 2 ) , logit ( q t ) = β q 0 ( 2 ) + β q 1 ( 2 ) z t 1 + + β q k ( 2 ) z t K + β * ( 2 ) a ( 2 ) + κ = z t β q ( 2 ) + β * ( 2 ) a ( 2 ) + κ ,
    where a ( 2 ) is regarded as the joint random effect, and κ is the independent random effect of logit ( q l t ) . We assume that κ l follows a standard normal distribution, as is the case for a ( 2 ) . The implicit assumption behind Model 1 is that the joint random effect term a ( 1 ) is a single source of the unobserved heterogeneity for logit ( p t ) and logit ( q t ) . However, this may not be the case depending on the data of various applications. In one extreme situation, in which logit ( p t ) and logit ( q t ) are completely independent after controlling for the effects of observed covariates, there will be no term in Model 1 that can reflect the unobserved heterogeneity of logit ( q t ) because β * should be zero. In the most plausible scenario for which logit ( p t ) and logit ( q l t ) are connected but not perfectly connected, we also need a term that can control for the unobserved heterogeneity in logit ( q t ) independent of a ( 1 ) . Therefore, Model 2 is designed to handle such cases.

3. Bayesian Inference

In this section, we present the Bayesian inference procedures for the proposed logistic regression models based on BVB distributions. Since the procedures regarding the prior and posterior distributions for Model 0, Model 1, and Model 2 are similar, for simplicity and illustrative purposes, we present the Bayesian inference for Model 1 only. We specify the prior and posterior distributions for the Bayesian analysis in Section 3.1 and describe the Bayesian computation procedures and algorithms in Section 3.2.

3.1. Prior and Posterior Distributions

Based on Model 1 in Equation (2) and the observed data D , = 1 , 2 , , L , the likelihood function can be written as
p ( β p ( 1 ) , β q ( 1 ) , β * ( 1 ) | a ( 1 ) , z ) = 1 L t = 1 T l exp ( z t β p ( 1 ) + a ( 1 ) ) x 1 t 1 + exp ( z t β p ( 1 ) + a ( 1 ) ) m t exp ( z t β q ( 1 ) + β * ( 1 ) a ) x 2 t 1 + exp ( z t β q ( 1 ) + β * ( 1 ) a ( 1 ) x 1 t × = 1 L exp a 2 2 .
To proceed with Bayesian estimation procedures, we specify prior distributions for the parameter vector Θ = ( β p k ( 1 ) , β q k ( 1 ) , β * ( 1 ) ) for k = 0 , 1 , , K . We consider the following distributions under independent a priori:
β p k ( 1 ) N ( 0 , ϕ p k 2 ) , β q k ( 1 ) N ( 0 , ϕ q k 2 ) , β * ( 1 ) N ( 0 , ϕ 2 ) for k = 0 , 1 , , K ,
where ϕ q k 2 , ϕ p k 2 and ϕ 2 are the variances of the normal prior distributions. Although these normal prior distributions provide a concise expression of the resultant conditional distribution, it is rather restrictive that the asymmetric distributions of the model parameters cannot be described. However, prior distributions other than normal distributions can be employed for the model parameters since our proposed Bayesian estimation algorithm in Section 3.2 can be applied to generic cases where the conditional distributions can be any arbitrary statistical distributions. Combining the likelihood function in Equation (4) and the joint prior distribution in (5) yields the joint posterior distribution
p ( β p ( 1 ) , β q ( 1 ) , β * ( 1 ) | D , a , = 1 , 2 , , L ) = 1 L t = 1 T exp ( z t β p ( 1 ) + a ) x 1 t 1 + exp ( z t β p ( 1 ) + a ) m t exp ( z t β q ( 1 ) + β * ( 1 ) a ) x 2 t 1 + exp ( z t β q ( 1 ) + β * ( 1 ) a ) x 1 t × = 1 L exp a 2 2 × k = 1 K exp ( β p k ( 1 ) ) 2 2 ϕ p k 2 × k = 1 K exp ( β q k ( 1 ) ) 2 2 ϕ q k 2 × exp β * ( 1 ) ) 2 2 ϕ 2 .
To obtain the posterior estimates, we use the Metropolis–Hastings (MH) algorithm within Gibbs sampling. The full conditional distributions of parameters β p k ( 1 ) , β q k ( 1 ) , β * ( 1 ) , and a can be expressed as
p ( β p k ( 1 ) | β ( p k ) ( 1 ) , a , D , = 1 , 2 , , L ) = 1 L t = 1 T exp β p k ( 1 ) z t k x 1 t 1 + exp ( z t β p ( 1 ) + a ) m t × exp ( β p k ( 1 ) ) 2 2 ϕ p k 2 ; p ( β q k ( 1 ) | β ( q k ) ( 1 ) , β * ( 1 ) , a , D , = 1 , 2 , , L ) = 1 L t = 1 T l exp β q k ( 1 ) z t k x 2 t 1 + exp ( z t β q ( 1 ) + β * ( 1 ) a ) x 1 t × exp ( β q k ( 1 ) ) 2 2 ϕ q k 2 ; p ( β * ( 1 ) | β q ( 1 ) , a , D , = 1 , 2 , , L ) = 1 L t = 1 T l exp β * ( 1 ) a x 2 t 1 + exp ( z t β q ( 1 ) + β * ( 1 ) a ) x 1 t × exp ( β * ( 1 ) ) 2 2 ϕ 2 ; p ( a | β p ( 1 ) , β q ( 1 ) , β * ( 1 ) ) t = 1 T exp a ( x 1 t + β * ( 1 ) x 2 t ) 1 + exp ( z t β p ( 1 ) + a ) m t 1 + exp ( z t β q ( 1 ) + β * ( 1 ) a ) x 1 t × exp a 2 2 ,
where β ( p k ) ( 1 ) and β ( q k ) ( 1 ) are K dimensional vectors excluding the kth component from the entire vector of covariates β p k ( 1 ) and β q k ( 1 ) , respectively.

3.2. Markov Chain Monte Carlo (MCMC) Procedures

There is a considerable amount of work in the literature for generating random variates with Gibbs chains for which the full conditional density does not have a closed-form and hence, it is not easy to sample. The adaptive Metropolis–Hastings (AMH) algorithm is one of the commonly used algorithms that can be applied to construct proposal densities to closely approximate the target distribution. The AMH algorithm can be described as follows. Consider that there are d parameters and the normal distribution is used as a proposal density. The current value of a parameter is used as the mean of the normal distribution and an arbitrary value can be used as the variance of the normal distribution. The mean and the variance of the normal distribution are updated in every step using the adjusted parameters and the empirical variance. Suppose we are interested in updating parameter θ in the h + 1 -th step given the initial value of the parameter θ ( 0 ) and the values of the parameter in the first h steps as θ ( 1 ) , θ ( 2 ) , , θ ( h ) . The candidate value θ * can be generated from a normal distribution with mean θ ( h ) and variance V ( h ) , where
V ( h ) = V ( 0 ) , if h = 0 , δ Var θ ( 0 ) , , θ ( h 1 ) + ω , if h > 0 .
Here, V ( 0 ) is an initial (could be arbitrary) variance of the proposal distribution of parameter θ and δ is the adjusting coefficient. We use the value of δ = 2.4 / d with d being the dimension of the parameter space to maintain the acceptance rate of the candidate value θ * . The value of δ ensures that the optimal value of the acceptance rate is about 0.44 [13]. Moreover, ω should be assigned as a very small value to prevent the variance in (7) from being zero.
On the other hand, we apply the Independent Metropolis–Hastings (IMH) algorithm for the random effects a to extract the candidate value θ * from a normal distribution regardless of the current value θ ( t ) . Based on our settings, the IMH algorithm for applying random effects can be described as follows:
Step 1.
Given the current estimate θ ( h ) , in the h-th iteration, generate θ * from a standard normal distribution
θ * N ( 0 , 1 ) = π ( θ * ) .
Step 2.
Compute the ratio α , composed of the full conditional distribution p and the prior densities π .
α ( θ ( h ) , θ * ) = p ( θ * ) π ( θ ( h ) ) p ( θ ( h ) ) π ( θ * ) .
Step 3.
Draw u U n i f o r m ( 0 , 1 ) . If u α ( θ ( h ) , θ * ) , then θ ( h + 1 ) = θ * . Otherwise θ ( h + 1 ) = θ ( h ) .
Note that the candidate generating distribution in Step 1 is different from the original target distributions of the model parameters. According to the acceptance probability α in Step 2, the discrepancy between these two distributions is corrected by randomly accepting or rejecting the random samples from the candidate distribution. For more details of the Metropolis–Hastings algorithm, one may refer to [14]. Repeat Steps 1–3 H = 6000 times to obtain the sequences of estimates ( θ ( 1 ) , θ ( 2 ) , , θ ( H ) ). Consider the first B = 1000 estimates as burn-in, the posterior mean of θ , denoted as θ ˜ , based on the IMH algorithm can be obtained as
θ ˜ = 1 H B h = B + 1 H θ ( h ) .
Based on the marginal posterior distributions of the parameters, one can construct a highest posterior density (HPD) interval for each of the model parameters. Let π ( θ | x ) be the posterior density for θ . A 100 ( 1 γ ) % HPD credible set C is a subset of Θ which satisfies C = { θ Θ | π ( θ | x ) k ( γ ) } , where k ( γ ) is the largest number such that Pr ( θ C | x ) 1 γ . Since each of the marginal posterior distributions does not have a closed form, we use the sequences of estimates in Gibbs chains described above to find HPD intervals with a given nominal level of 100 ( 1 γ ) % [15,16].

4. Practical Data Analysis

For sports statistics, statistical analysis of baseball data has become more important in professional baseball. In the past two decades, there have been a substantial number of studies on measuring the offensive abilities of MLB players see, for example [17,18,19,20,21]. Readers who are interested in the field of sports statistics may refer to the book by [22]. In this practical data analysis, we consider a dataset on MLB players with several covariates commonly used to evaluate batters’ hitting performances and apply the proposed logistic regression model based on the BVB distribution.
Here are the definitions of the variables considered in this analysis:
  • Win Probability Added (WPA): The percent change in a team’s chances of winning from one game to the next;
  • Center percentage (Cent%): The percentage of balls in play that were hit to center fields by batters;
  • Pull percentage (Pull%): The percentage of balls in play that were pulled by hitters;
  • Opposite percentage (Oppo%): The percentage of balls in play that were hit to opposite fields by batters;
  • BABIP (Batting Average on Balls in Play): A statistic indicating how often a ball in play goes for a hit;
  • Walk to strikeout ratio (BB/K): A batting ratio that shows the ratio of walks for each strikeout. The higher the ratio, the better the performance;
  • Home run to fly ball ratio (HR/FB): The ratio of how many home runs are hit against a pitcher for every fly ball he/she allows;
  • Line drive percentage (LD%): The percentage of balls hit into the field of play that are characterized as line drives;
  • Ground ball percentage (GB%): The percentage of batted balls hit as ground balls against a pitcher;
  • Fly ball percentage (FB%): The percentage of fly balls hit into the field of play.
There are 30 teams in MLB among which two players from each team are selected. The regular season of MLB starts in early April and finishes at the end of September, during which 162 games are played. We used the data for the year 2021, which can be collected online: https://www.fangraphs.com/ (accessed on 19 July 2022). In the dataset used here, there are 60 players (i.e., L = 60 ) measured at T = 6 time points (monthly from April to September). Parameter p denotes the batting average, and parameter q denotes the proportion of extra-base hits (two-base hits, three-base hits, and home runs) out of the total hits. In this empirical analysis, we use the demeaned covariates by their time series means so that the intercept coefficients or random effects can be directly translated into a play’s performance.
First, we compare the results with the frequentist approach under Model 0 in (1). The MLEs can be obtained by maximizing the likelihood function in Equation (4) without the term a . Let ( β ^ p ( 0 ) , β ^ q ( 0 ) ) denote the MLEs of the parameter vectors ( β p ( 0 ) , β q ( 0 ) ) . The asymptotic distribution of ( β ^ p ( 0 ) , β ^ q ( 0 ) ) is 2 ( K + 1 ) -variate multivariate normal with mean vector ( β p ( 0 ) , β q ( 0 ) ) and variance-covariance matrix V ( β ^ p ( 0 ) , β ^ q ( 0 ) ) , where
V ( β ^ p ( 0 ) , β ^ q ( 0 ) ) = v k k 2 ( K + 1 ) × 2 ( K + 1 ) = I 1 ( β ^ p ( 0 ) , β ^ q ( 0 ) ) .
Here, I 1 ( β ^ p ( 0 ) , β ^ q ( 0 ) ) is the inverse of the observed Fisher information matrix. We can test the significance of the regression parameter, i.e., testing the hypothesis H 0 : β p k ( 0 ) = 0 vs. H a : β p k ( 0 ) 0 , or H 0 : β q k ( 0 ) = 0 vs. H a : β q k ( 0 ) 0 , k = 0 , 1 , 2 , , K , based on the asymptotic properties of the MLEs. For example, to test H 0 : β p k ( 0 ) = 0 vs. H a : β p k ( 0 ) 0 , we consider the test statistic β ^ p k ( 0 ) / v k k with p-value Pr ( Z > | β ^ p k ( 0 ) / v k k | ) , where Z is the standard normal random variable. In summary, we consider the following covariates for modeling probabilities p and q:
  • Variables influencing both p and q: WPA, Cent%;
  • Variables influencing p only: BABIP, BB/K, LD%, GB%, Oppo%;
  • Variables influencing q only: FB%, HR/FB, Pull%.
We define z 1 t = WPA , z 2 t = Cent % , z 3 t = BABIP , z 4 t = BB / K , z 5 t = LD % , z 6 t = GB % , z 7 t = Oppo % , z 8 t = FB % , z 9 t = HR / FB , z 10 t = Pull % with β 3 q ( 0 ) = β 4 q ( 0 ) = β 5 q ( 0 ) = β 6 q ( 0 ) = β 7 q ( 0 ) = 0 and β 8 p ( 0 ) = β 9 p ( 0 ) = β 10 p ( 0 ) = 0 .
We also applied the proposed Bayesian estimation method presented in Section 3 based on Model 0. Regarding the hyperparameters ϕ p k 2 , ϕ q k 2 , and ϕ 2 in the normal priors, we set the variances as 100, which leads to vague or weakly informative priors that reflect the lack of prior knowledge of the model parameters. Vague or weakly informative priors have been extensively used in [23,24]. To assess the robustness of the results for different variances in the normal priors, we conducted the Bayesian inference under other variances in the normal priors and compared the results (the results are not shown here for the sake of brevity). We found that the results from Bayesian inference are fairly robust to the changes on the hyperparameters.
The Bayes estimates are obtained from 6000 MCMC iterations with 1000 burn-in iterations. In Table 1, we provide the MLEs, the Bayesian posterior means, 95% HPD intervals, and p-values for testing if each coefficient is zero based on the procedures described above.
From Table 1, the frequentist and Bayesian approaches are congruent. Specifically, both approaches yield estimates of the parameters that are close to each other. Moreover, the parameters that have p-values based on MLEs smaller than 5% are also those for which the corresponding 95% HPD interval does not contain zero.
From variable selection perspectives, WPA turns out to be significant for p while it was barely not for q. Notice that the estimates of coefficients associated with WPA have different signs for p and q, which implies that WPA has a positive impact on the “batting average” while WPA has a negative impact on producing more extra-base hits when keeping other variables fixed. This is within our expectation, since Model 0 consists of two independent logit functions. The factor BABIP yields a significant p-value among all the variables in conjunction with the batting average p. We notice that BABIP is one of the important factors in modern baseball to assess batters’ performance [25,26]. The covariate BB/K reveals a decently significant result for modeling the batting average. Both FB% and HR/FB show significant impacts on predicting q with parameter estimates that have positive signs.
As discussed in Section 2, Model 0 does not consider random effects, therefore, we apply Model 1 using the Bayesian approach for the baseball data. Table 2 presents the parameter estimates (posterior mean), the standard deviations (SD) of the estimates, and the 95% HPD interval for Model 1 in (2). The Bayes estimates are obtained from 6000 MCMC iterations with 1000 burn-in iterations. The assessment of convergence of the Gibbs sampling is carried out based on the methodology proposed by [27]. Figure 1 presents the trace plots of the MCMC samples. From Figure 1, we can see that the MCMC chain of the Bayesian estimation algorithm has converged to the target posterior distribution after 1000 MCMC iterations. When fitting Model 1, we excluded the two intercept terms β p 0 ( 1 ) and β q 0 ( 1 ) in order for random effects to capture both the average performances and variabilities between players [28,29]. In addition, the exclusion of the intercept terms improves the convergence of the MCMC algorithm (We note that a player’s average performance can be captured by both intercept and random effect terms. Thus, the MCMC samples of the two terms are strongly correlated if they are drawn from their respective conditional posterior distributions which significantly affect each other. This makes the convergence of the proposed algorithm slow). The posterior mean for β * ( 1 ) is 0.402, and the corresponding 95% HPD interval is (0.3562, 0.4482), which does not contain zero. This reflects that there is a meaningful connection between the two logit functions associated with the joint random effects and provides the basis to claim that the two success probabilities should be jointly investigated to evaluate a player’s underlying performance.
Compared to the results based on Model 0 in Table 1, the signs of the estimates of regression parameters are the same for all the parameters, though there are slight changes in magnitude. Comparing the results based on Model 0 and Model 1 provides us with an important piece of information on the property of the random effects. The variation in the unobserved heterogeneity may or may not be correlated with the covariates of the BVB regression model.
If variation in the unobserved heterogeneity and the covariates are correlated, then Model 0 that does not contain the individual effects will produce biased estimates which are different from those estimates of Model 1 with the random effect terms. Note that Model 1 directly estimates the random effects, which always produces unbiased estimates regardless of the relation between the unobserved heterogeneity and the covariates. On the other hand, Model 0 produces unbiased estimates only when there is no correlation between the unobserved heterogeneity and the covariates. Thus, the closeness of the parameter estimates based on Model 0 and Model 1 provides suggestive evidence that the unobserved heterogeneity is not associated with any of the covariates included in the regression model.
After considering Model 1, we also apply Model 2 to the baseball dataset. The empirical results of Model 2 are reported in Figure 2 and Table 3. The MH algorithm with slight modifications is used to incorporate κ in the model. As in fitting Model 1, we fix β p 0 ( 2 ) = β q 0 ( 2 ) = 0 and do not include these terms in the computation procedure to avoid slow convergence (In Model 2, the intercept coefficients are redundant given the two random effect terms). We note that Model 2 requires a larger number of iterations for the convergence in the computation due to the additional random effect term κ (The traceplot of MCMC samples for Model 2 is not reported in this section for the sake of brevity. The traceplot shows that all model parameters converge to their stationary posterior distributions).
The left panel of Figure 2 displays the posterior means for a ( 2 ) , which is the unobserved heterogeneity in conjunction with success probability p. To get a meaningful interpretation, the estimates of { a 1 ( 2 ) , a 2 ( 2 ) , , a L ( 2 ) } are sorted in ascending order and we label each MLB player accordingly. The first player’s average success probability (batting average) p over the full six-month sample period is estimated as exp { 1.4 } / [ 1 + exp { 1.4 } ] 0.19 . (Recall that we use demeaned covariates. Thus, the estimated random effects can be interpreted as the average performance of a player.) The last player’s average success probability p can be estimated as exp { 0.7 } / [ 1 + exp { 0.7 } ] 0.33 . Hence, the average success probabilities of the other MLB players considered in this dataset are in between 0.19 and 0.33 based on this analysis. The right panel of Figure 2 compares the random effects of the two logit functions based on the player labels according to a ( 2 ) . Although the posterior estimates in the second panel are noisy, a similar pattern with a ( 2 ) is hidden in the posterior means of β * ( 2 ) a ( 2 ) + κ , which represent the unobserved heterogeneity of success probability q. However, this is only suggestive evidence because the posterior estimates of κ vary significantly across players.
To obtain more concrete empirical evidence on the link between p and q, we check the posterior estimate of β * ( 2 ) in the last row of Table 3. Although the confidence interval for β * is wider than that of Model 1, the sign of the estimate is still positive and the 95% HPD interval does not contain zero. From these results, we claim that the two success probabilities are inter-connected even after controlling for the effects of the commonly used covariates. The other Bayes estimates of the model parameters in Table 3 confirm that the estimated marginal effects are consistent across different model specifications.

5. Monte Carlo Simulation Studies

To empirically demonstrate the performance of the proposed regression model and the Bayesian estimation method, we perform Monte Carlo simulation studies with different settings. We generate 200 sets of data with m = 100 , L = 30 , and T = 6 based on Model 0 and Model 1. We also consider Model 2 in the simulation study, but the simulation results for Model 2 are not presented here, as the algorithm for estimating the parameters in Model 2 is a simple extension of the algorithm for Model 1. For each dataset, we estimate the corresponding model parameters in the two models with the MH algorithm described in Section 3. For Model 1, the two intercept terms β p 0 ( 1 ) and β q 0 ( 1 ) are set to be zero and they are not estimated to increase the speed of the convergence of the estimation algorithm. For Model 0, the true values of the model parameters are set to be { β p 0 ( 0 ) = 1 , β p 1 ( 0 ) = 1 , β p 2 ( 0 ) = 2 , β q 0 ( 0 ) = 1 , β q 1 ( 0 ) = 1 , β q 2 ( 0 ) = 2 } . For Model 1, the true values of the model parameters are set to be { β p 1 ( 1 ) = 1 , β p 2 ( 1 ) = 2 , β q 1 ( 1 ) = 1 , β q 2 ( 1 ) = 2 , β * ( 1 ) = 1 } . We have considered other sets of true parameters, and the simulation results lead to qualitatively similar conclusions that the MH algorithm works well. Therefore, the simulation results for other settings are omitted in this paper. The random effect term a ( 1 ) is generated from the standard normal distribution, i.e., a ( 1 ) N ( 0 , 1 ) .
For each simulated dataset, we compute the posterior means and HPD intervals of the model parameters. After collecting the posterior estimates, we evaluate the performance of the point estimates based on the average posterior mean, the bias, and the mean squared error (MSE); and evaluate the performance of the interval estimates based on the coverage probability (CP), and average width (AW). The CP represents the proportion that the 95% HPD interval contains the true value. The total and burn-in MCMC iterations of the Bayesian estimation are set to be 6000 and 1000, respectively.
Table 4 presents the simulation results of Model 0. The simulated average posterior means, biases, and MSEs show that the proposed Bayesian estimation procedure performs well for point estimation. The simulated CPs show that the Bayesian 95% credible intervals control the coverage probabilities at or above the nominal level in most cases. Moreover, the simulated AWs show that the 95% credible intervals provides reasonable interval estimates. Overall, the proposed Bayesian estimation procedure with the MH algorithm can accurately estimate the model parameters for Model 0.
The simulation results of Model 1 are presented in Table 5. Similar conclusions about the performance of the point and interval estimates based on the proposed Bayesian approach can be obtained as they were for Model 0. The major difference between Model 0 and Model 1 is that the amount of uncertainty in the estimation process is larger in Model 1 due to the inclusion of random effects. The increase in uncertainty explains the larger simulated MSEs and AWs of the estimates in Model 1 compared with those in Model 0. These results are a natural consequence of introducing joint random effects to the logit functions. The results in Table 5 show that the parameter β * ( 1 ) that plays a special role in our model can be precisely estimated by the proposed Bayesian approach.

6. Concluding Remarks

This paper proposes a new regression model based on a bivariate binomial (BVB) distribution that is applicable when two success probabilities are inter-connected. The main feature of the proposed model is that common random effects for the two success probabilities are considered. By employing the conventional Markov chain Monte Carlo method, we explicitly estimate the common random effects along with a link intensity parameter representing how strongly the pair of the two probabilities are linked via the joint unobserved heterogeneity. For an empirical illustration, the proposed BVB regression models are applied to the data of 60 Major League Baseball (MLB) batters. The Bayes estimates for the models suggest that the two success probabilities assessing each player’s performance are closely related even after controlling for the player’s observed characteristics.
Classical estimates for model parameters of a panel regression model could be biased if an unobserved heterogeneity is not adequately handled in the estimation procedures. By considering the common random effects and directly estimating them, we show that the estimated marginal effects of the observed covariates are robust to potential model misspecifications that can arise when random effects are ignored. Last but not least, we extend the proposed model to incorporate common and independent random effects in two logit functions. From empirical findings, we assure that both types of random effects play an important role in evaluating the performances of players. The proposed BVB regression model can be used to study the possibility that unobserved heterogeneities are inter-connected under two logit functions. Another interesting extension would be considering common time fixed effects. Investigations in these directions are in progress, and we hope to report the results in a future paper.

Author Contributions

Conceptualization, H.K.T.N. and S.W.K.; Formal analysis, Y.H., J.K. and S.W.K.; Methodology, Y.H., J.K., H.K.T.N. and S.W.K.; Writing—original draft, Y.H. and J.K.; Writing—review & editing, H.K.T.N. and S.W.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Research Foundation of Korea, grant number NRF-2021R1A2C1005271.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors thank the editor and the two referees for their constructive comments and suggestions. S. W. Kim’s research was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (NRF-2021R1A2C1005271).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Jensen, S.T.; McShane, B.B.; Wyner, A.J. Hierarchical Bayesian modeling of hitting performance in baseball. Bayesian Anal. 2009, 4, 631–652. [Google Scholar] [CrossRef]
  2. Leonard, T. Bayesian methods for binomial data. Biometrika 1972, 59, 581–589. [Google Scholar] [CrossRef]
  3. Bedrick, E.J.; Christensen, R.; Johnson, W. Bayesian binomial regression: Predicting survival at a Trauma Center. Am. Stat. 1997, 51, 211–218. [Google Scholar]
  4. Chen, M.-H.; Ibrahim, J.G.; Kim, S. Properties and implementation of Jeffreys’s prior in binomial regression models. J. Am. Stat. Assoc. 2008, 103, 1659–1664. [Google Scholar] [CrossRef] [PubMed]
  5. Pires, R.P.; Diniz, C.A.R. Correlated binomial regression models. Comput. Stat. Data Anal. 2012, 56, 2513–2525. [Google Scholar] [CrossRef]
  6. Prasetyo, R.B.; Kuswanto, H.; Iriawan, N.; Ulama, B.S.S. Binomial regression models with a flexible generalized logit link function. Symmetry 2020, 12, 221. [Google Scholar] [CrossRef]
  7. Mains, R. When Slugging Percentage Beats on-Base Percentage; FanGraphs: Arlington, VA, USA, 22 January 2016. [Google Scholar]
  8. Crowder, M.; Sweeting, T. Bayesian inference for a bivariate binomial distribution. Biometrika 1989, 76, 599–603. [Google Scholar] [CrossRef]
  9. Polson, N.; Wasserman, L. Prior distributions for the bivariate binomial. Biometrika 1990, 77, 901–904. [Google Scholar] [CrossRef]
  10. Scotto, M.G.; Wei, C.H.; Silva, M.E.; Pereira, I. NINE: A Journal of Baseball History and Culture; Johns Hopkins University Press: Baltimore, MD, USA, 2014; Volume 125, pp. 233–251. [Google Scholar]
  11. Kim, S.W.; Shahin, S.; Ng, H.K.T.; Kim, J. Binary segmentation procedures using the bivariate binomial distribution for detecting streakiness in sports data. Comput. Stat. 2021, 36, 1821–1843. [Google Scholar] [CrossRef]
  12. Wallis, K.F. Time series analysis of bounded economic variables. J. Time Ser. Anal. 1987, 8, 115–123. [Google Scholar] [CrossRef]
  13. Gelman, A.; Carlin, J.B.; Stern, H.S.; Dunson, D.B.; Vehtari, A.; Rubin, D.B. Bayesian Data Analysis; CRC Press: New York, NY, USA, 2014. [Google Scholar]
  14. Chib, S.; Greenberg, E. Understanding the Metropolis-Hastings Algorithm. Am. Stat. 1995, 49, 327–335. [Google Scholar]
  15. Chen, M.-H.; Shao, Q.-M. Monte Carlo estimation of Bayesian credible and HPD Intervals. J. Comput. Graph. Stat. 1999, 8, 69–92. [Google Scholar]
  16. Gelfand, A.E.; Smith, A.F.M. Sampling based approaches to calculating marginal densities. J. Am. Stat. Assoc. 1990, 85, 398–409. [Google Scholar] [CrossRef]
  17. Baumer, B. Why on-base percentage is a better indicator of future performance than batting average: An algebraic proof. J. Quant. Anal. Sport. 2008, 4. [Google Scholar] [CrossRef]
  18. Null, B. Modeling baseball player ability with a nested Dirichlet distribution. J. Quant. Anal. Sport. 2009, 5, 1–38. [Google Scholar] [CrossRef]
  19. Puerzer, R.J. Engineering baseball: Branch Rickey’s innovative approach to baseball management. Nine J. Baseb. Hist. Cult. 2003, 12, 72–87. [Google Scholar] [CrossRef]
  20. Silver, N. Lies, Damned Lies, Randomness: Catch the Fever! Baseball Prospectus: Columbus, OH, USA, 14 May 2003. [Google Scholar]
  21. Studeman, D. Should Jose Reyes hit more ground balls? The Hardball Times, 13 December 2007. [Google Scholar]
  22. Ley, C.; Dominicy, Y. Science Meets Sports: When Statistics Are More than Numbers; Cambridge Scholars Publishing: Cambridge, UK, 2020. [Google Scholar]
  23. Akman, V.E.; Raftery, A.E. Bayes factors for non-homogeneous Poisson processes with vague prior information. J. R. Stat. Soc. Ser. 1986, 48, 322–329. [Google Scholar] [CrossRef]
  24. Spiegelhalter, D.J.; Smith, A.F.M. Bayes factors for linear and log-linear models with vague prior information. J. R. Stat. Soc. Ser. 1982, 44, 377–387. [Google Scholar] [CrossRef]
  25. Roebber, P.J. Does the principle of investment diversification apply to the starting pitching staffs of major league baseball teams? PLoS ONE 2021, 16, e0244941. [Google Scholar] [CrossRef]
  26. Taylor, N.C. Forecasting Batter Performance Using Statcast Data in Major League Baseball; ProQuest LLC: Ann Arbor, MI, USA, April 2017. [Google Scholar]
  27. Gelman, A.; Rubin, D.B. Inference from iterative simulation using multiple sequences. Stat. Sci. 1992, 7, 457–511. [Google Scholar] [CrossRef]
  28. Hahn, G. Fitting regression models with no intercept term. J. Qual. Technol. 1997, 9, 56–61. [Google Scholar] [CrossRef]
  29. Othman, S.A. Comparison between models with and without intercept. Gen. Math. Notes 2014, 21, 118–127. [Google Scholar]
Figure 1. Traceplots of MCMC samples based on Model 1.
Figure 1. Traceplots of MCMC samples based on Model 1.
Entropy 24 01138 g001
Figure 2. The posterior means for a l ( 2 ) under Model 2 in conjunction with success probability p (left panel), and the posterior means for two different random effects based on the player labels according to a ( 2 ) (right panel).
Figure 2. The posterior means for a l ( 2 ) under Model 2 in conjunction with success probability p (left panel), and the posterior means for two different random effects based on the player labels according to a ( 2 ) (right panel).
Entropy 24 01138 g002
Table 1. Results for maximum likelihood estimates and Bayes estimates on Model 0.
Table 1. Results for maximum likelihood estimates and Bayes estimates on Model 0.
ParameterMLEPosterior Mean95% HPD Intervalp-Value
β p 0 ( 0 ) 1.0362 1.0376 ( 1.0618 , 1.0135 ) <0.0001
β p 1 ( 0 ) 0.1334 0.1330 ( 0.0847 , 0.1814 ) <0.0001
β p 2 ( 0 ) 0.0609 0.0663 ( 0.4381 , 0.5708 ) 0.4032
β p 3 ( 0 ) 1.6197 1.6186 ( 1.1803 , 2.0569 ) <0.0001
β p 4 ( 0 ) 0.1327 0.1339 ( 0.0436 , 0.2242 ) 0.0024
β p 5 ( 0 ) 0.2536 0.2796 ( 0.3921 , 0.9514 ) 0.2247
β p 6 ( 0 ) 0.0994 0.0826 ( 0.5843 , 0.4190 ) 0.3465
β p 7 ( 0 ) 0.2794 0.2993 ( 0.2889 , 0.8878 ) 0.1684
β q 0 ( 0 ) 0.4136 0.4145 ( 0.4591 , 0.3701 ) <0.0001
β q 1 ( 0 ) 0.0729 0.0713 ( 0.1575 , 0.0147 ) 0.0609
β q 2 ( 0 ) 0.5332 0.5551 ( 1.5886 , 0.4782 ) 0.1564
β q 8 ( 0 ) 3.1443 3.1411 ( 2.3109 , 3.9712 ) <0.0001
β q 9 ( 0 ) 2.7858 2.7795 ( 2.1279 , 3.4311 ) <0.0001
β q 10 ( 0 ) 0.2409 0.1981 ( 0.8541 , 1.2504 ) 0.3229
Table 2. Bayes estimates and related results for Model 1.
Table 2. Bayes estimates and related results for Model 1.
ParameterPosterior MeanSD95% HPD Interval
β p 1 ( 1 ) 0.13310.0247(0.0847, 0.1815)
β p 2 ( 1 ) 0.05940.2452(−0.4212, 0.54)
β p 3 ( 1 ) 1.57780.2335(1.1202, 2.0355)
β p 4 ( 1 ) 0.13200.0467(0.0404, 0.2236)
β p 5 ( 1 ) 0.34700.3343(−0.3082, 1.0022)
β p 6 ( 1 ) −0.07760.2540(−0.5754, 0.4202)
β p 7 ( 1 ) 0.28900.2830(−0.2657, 0.8436)
β q 1 ( 1 ) −0.07270.0442(−0.1593, 0.0139)
β q 2 ( 1 ) −0.53740.5697(−1.6539, 0.5792)
β q 8 ( 1 ) 3.14030.4117(2.3334, 3.9471)
β q 9 ( 1 ) 2.78250.3460(2.1044, 3.4606)
β q 10 ( 1 ) 0.23890.5597(−0.8581, 1.3359)
β * ( 1 ) 0.40220.0235(0.3562, 0.4482)
Table 3. Bayes estimates and related results for Model 2.
Table 3. Bayes estimates and related results for Model 2.
ParameterPosterior MeanSD95% HPD Interval
β p 1 ( 2 ) 0.13470.0253(0.085, 0.1843)
β p 2 ( 2 ) 0.06570.2553(−0.4347, 0.5661)
β p 3 ( 2 ) 1.61810.2349(1.1576, 2.0785)
β p 4 ( 2 ) 0.13320.0454(0.0441, 0.2223)
β p 5 ( 2 ) 0.32750.3317(−0.3227, 0.9777)
β p 6 ( 2 ) −0.06880.2603(−0.5789, 0.4413)
β p 7 ( 2 ) 0.31640.2902(−0.2524, 0.8852)
β q 1 ( 2 ) −0.05990.0464(−0.1509, 0.0312)
β q 2 ( 2 ) −0.52640.5452(−1.595, 0.5421)
β q 8 ( 2 ) 3.22210.3872(2.4631, 3.9811)
β q 9 ( 2 ) 2.76600.3507(2.0787, 3.4533)
β q 10 ( 2 ) 0.35690.5355(−0.6927, 1.4064)
β * ( 2 ) 0.33440.1131(0.1127, 0.5561)
Table 4. Simulated biases, MSEs for point estimation, coverage probabilities (CP) and average widths (AW) of 95% credible intervals of all parameters for sample sizes of m = 100 and L = 30 for 6 time points with 200 replications in Model 0.
Table 4. Simulated biases, MSEs for point estimation, coverage probabilities (CP) and average widths (AW) of 95% credible intervals of all parameters for sample sizes of m = 100 and L = 30 for 6 time points with 200 replications in Model 0.
ParameterTrue ValuePosterior MeanBiasMSECPAW
β p 0 ( 0 ) 11.00070.00070.00060.97500.0700
β p 1 ( 0 ) 1 1.0031 0.0031 0.00640.97000.2304
β p 2 ( 0 ) 22.00300.00300.00850.94000.2427
β q 0 ( 0 ) 1 1.0002 0.0002 0.00090.95000.0829
β q 1 ( 0 ) 10.9984 0.0016 0.00960.95500.2755
β q 2 ( 0 ) 2 2.0074 0.0074 0.01100.93500.2880
Table 5. Simulated biases, MSEs for point estimation, coverage probabilities (CP) and average widths (AW) of 95% credible intervals of all parameters for sample sizes m = 100 and L = 30 for 6 time points with 200 replications for Model 1.
Table 5. Simulated biases, MSEs for point estimation, coverage probabilities (CP) and average widths (AW) of 95% credible intervals of all parameters for sample sizes m = 100 and L = 30 for 6 time points with 200 replications for Model 1.
ParameterTrue ValuePosterior MeanBiasMSECPAW
β p 1 ( 1 ) 1 1.0223 0.0223 0.01610.93750.3376
β p 2 ( 1 ) 21.9982 0.0018 0.01550.96250.3577
β q 1 ( 1 ) 10.9900−0.01000.02750.95000.4707
β q 2 ( 1 ) 2 1.9895 0.01050.03350.96250.4960
β * ( 1 ) 11.00170.00170.00550.95000.2050
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Han, Y.; Kim, J.; Ng, H.K.T.; Kim, S.W. Logistic Regression Model for a Bivariate Binomial Distribution with Applications in Baseball Data Analysis. Entropy 2022, 24, 1138. https://doi.org/10.3390/e24081138

AMA Style

Han Y, Kim J, Ng HKT, Kim SW. Logistic Regression Model for a Bivariate Binomial Distribution with Applications in Baseball Data Analysis. Entropy. 2022; 24(8):1138. https://doi.org/10.3390/e24081138

Chicago/Turabian Style

Han, Yewon, Jaeho Kim, Hon Keung Tony Ng, and Seong W. Kim. 2022. "Logistic Regression Model for a Bivariate Binomial Distribution with Applications in Baseball Data Analysis" Entropy 24, no. 8: 1138. https://doi.org/10.3390/e24081138

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop