Nonlinear Simplex Regression Models

Nonlinear Simplex Regression Models

Patrícia L. Espinheira patespipa@de.ufpe.br Alisson de Oliveira Silva Departamento de Estatística, Universidade Federal de Pernambuco, Cidade Universitária, Recife/PE, 50740–540, Brazil
Abstract

In this paper, we propose a simplex regression model in which both the mean and the dispersion parameters are related to covariates by nonlinear predictors. We provide closed-form expressions for the score function, for Fisher’s information matrix and its inverse. Some diagnostic measures are introduced. We propose a residual, obtained using Fisher’s scoring iterative scheme for the estimation of the parameters that index the regression nonlinear predictor to the mean response and numerically evaluate its behaviour. We also derive the appropriate matrices for assessing local influence on the parameter estimates under diferent perturbation schemes. We also proposed a scheme for the choice of starting values for the Fisher’s iterative scheme for nonlinear simplex models. The diagnostic techniques were applied on actual data. The local influence analyses reveal that the simplex models can be a modeling alternative more robust to influential cases than the beta regression models, both to linear and nonlinear models.

keywords:
Nonlinear Simplex regression, Starting values, Residual analysis, Local influence analysis.

, Corresponding author.

1 Introduction

In several practical situations, whether experimental or observational, there is interest in investigating how a set of variables relates to percentages or rates. Among the most suitable models for these data types are the simplex and beta regression models (Kieschnick and McCullough, 2003). The beta regression model was proposed by Ferrari and Cribari-Neto (2004) and extended to nonlinear models by Simas et al. (2010). Rocha and Simas (2011) also developed residual and local influence for the class of nonlinear beta regression models.

A competitive alternative to the beta regression model is the simplex regression model proposed by Barndorff-Nielson and Jørgensen (1991). The simplex distribution is part of the dispersion models defined by Jørgensen (1997) that extends the generalized linear models. The simplex distribution has been widely used to model data constrained to the interval . Song and Tan (2000), for example, proposed a simplex regression model with constant dispersion to model longitudinal continuous proportion data under the generalized estimation equation (EEG) approach. This approach was modified by Peter X.K. Song and Tan (2004), assuming that the dispersion parameter varying throughout the observations. After that, Qiu et al. (2008) introduced the simplex mixed-effects model and more recently Zhang et al. (2016) implemented the package simplexreg in the R system and available from the Comprehensive R Archive Network (CRAN) at https: //CRAN.R-project.org/package=simplexreg.

In this paper, as our most important contribuition we propose the general nonlinear simplex regression model, which considers nonlinear structures in the parameters, for both the mean and dispersion submodels. We present analytical expressions for the score vector, for the Fisher information matrix and its inverse, and the estimation of the model parameters is performed by maximum likelihood. To that end, arises the second important contribuition of this paper, the proposal of a scheme for choosing initial guesses for the maximum likelihood estimation of the parameters under nonlinearity for the simplex regression model. Our proposal is based on Espinheira et al. (2017), which has been shown to be extremely relevant on ensuring the convergence of the log-likelihood maximization procedure based on BFGS method with analytical first derivatives for nonlinear beta regression models.

We also propose diagnostic tools for the nonlinear simplex regression model, being our third important contribution. We have developed a residual based on Fisher’s iterative scoring algorithm for estimating of the mean submodel coefficients. Sometimes, the distribution of this residual is not well approximated by standard normal distribuition. Thus, we decided to to adopt strategy of using new thresholds for residual plots based on the simulated envelope algorithm which are associated with normal probability plots proposed by Espinheira et al. (2017). The authors show that by using these thresholds, one is more likely to identify atypical points than when using limits ( and ) based on the normal distribution assumption for the residuals.

Finally, we developed local influence (Cook 1986) based on two traditional pertubations schemes, known as: case weighting and covariate perturbation. Furthermore, we propose a new perturbation approach for the response variable, that considered the peculiar aspects of the simplex distribution. Those local influence schemes are appropriate both for linear and nonlinear simplex regression models.

We presented two applications to real data in order to evaluate the behaviour of simplex regression models relative to the beta regressions models. We show that both models are important and one can be an alternative to another depending on the features of the response variable. In particular, in the two examples presented, the modeling based on the simplex distribution presented a process of estimation by maximum likelihood more robust to influential points than the models based on the beta distribution.

2 Nonlinear beta regressions

If a random variable follows the simplex distribution, denoted by with parameters and , the density is given by

(1)

in which the deviation component is given by

(2)

The variance function for the simplex distribution is given by . By Jørgensen (1997), it follows that and

(3)

Here, is the incomplete gamma function defined by .

The simplex distribution is very flexible to model data in the continuous interval , presenting different shapes according to the values of the parameters that index the distribution. In addition to the asymmetric left, asymmetric right, , and inverted forms, known from the beta distribution, the simplex model is very useful to accommodate data with bimodal distributions.

3 The class of nonlinear simplex regression model

Let be independent random variables such that each , , is simplex-distributed, i.e., each has density (1) where and . The nonlinear simplex regression models are defined by (1) and by the systematic components:

(4)

in which and are, respectively, a -vector and a -vector of unknown parameters and , , and are nonlinear predictors, and are linear or nonlinear functions, continuous and differentiable in the second argument, so that the matrices of derivatives and have ranks and , respectively. Here, for , and are, respectively, and observations of known covariates, which may coincide in whole or in part, such that and . We assume that the link functions and are strictly monotonous and twice differentiable. Different link functions can be chosen for being and . For example, for we can use the logit specification: ; the probit function: , where denotes the standard normal distribution function; the complementary log-log function and the log-log function , among others. Since that , one can use or the square root function . Even the identity function can be used, since that one takes into account the positiveness of the estimatives.

Based on 1, it follows that the logarithm of the likelihood function has the form , in which

(5)

Thus, follows that the score vector is defined by

(6)

In (6), , , are vectors and , where

(7)

with given by (2). Furthermore,

(8)

Fisher’s information for and is a diagonal block matrix, in which and . Here, and , with

(9)

Since is a diagonal block matrix, the vectors and are globally orthogonal (Cox and Reid, 1987), so that their maximum likelihood estimators and , respectively, are asymptotically independent. For large samples and under regularity conditions, we have approximately that

Here,

(10)

The maximum likelihood estimators of and are obtained as the solution of and . However, we emphasize that the maximum likelihood estimators in nonlinear models do not usually present closed-form analytical expressions, making it necessary to use iterative methods, such as quasi-Newton algorithms (eg BFGS); See for example Nocedal and Wright (1999). The optimization algorithms require the specification of a value in order to start the iterative process.

4 New starting values for log-likelihood maximization

The estimation of parameters in nonlinear models can be an arduous task when Fisher’s scoring method is used. However, a well-structured starting-values process, taking into account the features of the response variable distribution, can guarantee both the convergence of the process and the feasibility of the maximum likelihood estimates. Our proposal is based on Espinheira et al. (2017) that proposed a starting-values procedure for the nonlinear beta regression model. We shall consider that and . Thus, we take the first order Taylor expansion of at , given by

(11)

where is an initial guess. Thus, . We consider , , thus . With the perspective of a linear model we have that the least squares estimator of is given by , where and . Hence, . Our proposal is to use is use the following nonlinear initial guess to : and . As can be noticed, the procedure we propose for the starting points involves two steps. The first step is obtain and then, we can compute the nonlinear initial guess . For the precision/dispersion submodel, we consider . Hence, and . Here, and with . Finally, with .

Typically, in one or both submodels there are more parameters than covariates in nonlinear predictors, that is, and/or . In those cases, it is necessary given numerical values for parameters to obtain a predictor formed by covariates that no longer involve unknown parameters. This step is very relevant, since that these initial numerical guess shall respect the features for both the covariates and its relation with the mathematical functions that describe the nonlinear predictors. After this step we shall construct a matrix based on a linear predictor and compute . Based on this two step procedure it is possible to obtain when numbers of parameters exceed the number of covariates.

5 Weighted residual

We can define residual as a measure that aims to identify discrepancies between the estimated model and the data. Thus, it is relevant to take in accout the probability distribution’s features of the response variable, as well as the features of the estimation process of the model. From this perspective, Espinheira et al. (2008b) suggested to use standardized residuals obtained from the convergence of the iterative Fisher’s scoring process for estimation of the vector of the regression parameters.

Based on the nonlinear simplex regression model in (4), on the score function for in (6) and on the inverse of Fisher’s information for in (10), it follows that Fisher’s scoring iterative algorithm for estimating is given by

(12)

where indexes the iterations that take place until convergence, which occurs when the distance between and becomes smaller than a given small constant. It is possible to write the iterative scheme in (12) in terms of weighted least squares regressions, such that , where . Upon convergence,

(13)

We have that in (13) can be accounted as the least squares estimate of obtained by regressing on with weighting matrix . In this sense, the ordinary residual is

(14)

An alternative for standardize the ordinary residual is using an aproximation to the variance of . Let (13) as and consider that , and . Then, using the fact that , it follows that . Thus, based on (14), we have that

with .

Then, we proposed the weighted residual for nonlinear simplex regression models, which includes the class of linear simplex model, and to be defined as Finally, considering the definitions of , , , given along (7) and (9), we have that

(15)

where denotes the th diagonal element of and is given in (9).

6 Local influence

Let is a vector of unknown parameters and denotes its log-likelihood function. Now, we introduce a perturbation in the assumed model through a vector , . Thus, denote the log-likelihood function of the perturbed model for a given . The maximum likelihood estimators of for the assumed and perturbed models are denoted by, respectively, and . The likelihood displacement can be used to attain the influence of the perturbation on the maximum likelihood estimate. If minor modifications at the postulated model lead to considerable changes in inferential results, then further investigations must be carried out about a better model to fit the data.

Cook (1986) proposed to analyze the local behaviour of around , which represents no perturbation, such that . The author suggested to evaluate the curvature of the plot of against , where , is a unit norm direction. The interest lies in to find the direction corresponding to the largest curvature . Observations that are jointly influential can be singled out by the index plot of . Cook (1986) showed that the normal curvature at direction is , where , and is an matrix given by , evaluated at and . Thus, is the largest eigenvalue of and is the corresponding eigenvector.

In the other hand, Lesaffre and Verbeke (1998) proposed a measure for identifying individually influential observations, known as the total local influence of observation and defined as , where is the th column of . is the normal curvature in the direction of the vector whose th component equals one and all other elements are zero. Observations such as that can be taken to be individually influential. If we part the parameter vector as , we can access the local influence relative to , such that and , where

In this case, is the unit norm eigenvector corresponding to the largest eigenvalue of .

In what follows, we shall develop local influence measures for the class of nonlinear simplex regression model under three different perturbation schemes, namely: case weighting, response perturbation and covariate perturbation. To that end we need to obtain and . Based on (5), it follows that , , and . Here, ,

(16)

with

, com

(17)

Besides that, , is an array of dimension , being a matrix with elements given by , and is an array of dimension , being a matrix with elements given by . Finally, represents the bracket product of a matrix by an array as defined by Wei (1998), p.188.

The structure of for each perturbation scheme is given below. For The cases weighting perturbation we have that . In this case, , , and thus

with being that the quantity and the components of the diagonal matrix were defined in (7). Additionaly, the diagonal matrices , , and were defined, respectively, in (8) and (17).

We now move to the response perturbation scheme, where , with , and as the variance function. This is a new proposal to the standardization of the scale factor, given that, in general, we use the standard deviation of . Its worth pointing out that the new proposal presents lesser computational cost because the variance of a random variable with simplex distribution involves computations related to the incomplete gamma function, see (3). In this scheme, and

where , and , with

The third and final perturbation scheme involves the simultaneous perturbation of a continuous covariate, say , and . We replace by and by , where is a vector of small perturbations and is the standard deviation of and is the standard deviation of (Thomas and Cook, 1990). In this scheme, and

(18)

where , , is an array , being a matrix with elements , is an array , being a matrix with elements . In (18) the elements of the matrices and are given by (16) and (17), respectively. Other elements as in (18) are defined in the paragraph below expression (17).

7 Simulations

Our aim here is to investigate the distribuition of the weighted residual proposed in (15) using Monte Carlo experiments. The experiments were carried out using a nonlinear simplex regression model in which

(19)

The covariate values were obtained as random draws following: , , and . The covariate values remained constant throughout the simulations. We should consider scenarios where the response values are close to one, scattered on the standard unit interval and close to zero. In this sense, we consider , (), , () and , ().

We measure the intensity of nonconstant dispersion as and we consider results to , , , and , . The sample sizes are . We have to point out that only values for the covariates were generated, which were replicated two and three times, respectively, to obtain the other sample sizes. With this, we can guarantee that the intensity of the nonconstant dispersion remains the same for the different sample sizes. The Monte Carlo experiments were carried out based on 10,000 replications.

The Figures 1, 2 and 3 contain normal probability plots of the mean order statistics of the weighted residual considering the fitted model in (19) for the different scenarios for . These figures reveal that the weighted residual distribution is typically well approximated by the standard normal distribution when even in the case where , (Figure 1). However, in cases where and , the distribution of the weighted residual presents some asymmetry (Figures 2 and 3), respectively. Such asymmetry becomes more evident as the intensity of the nonconstant dispersion increases. In addition, for these ranges of , the approximation of the distribution of the weighted residual by the standard normal distribution does not seem to improve as the sample size increases.

Figure 1: Weighted residuals normal QQ plots.
Figure 2: Weighted residuals normal QQ plots.
Figure 3: Weighted residuals normal QQ plots.

The acknowledgement of the residual distribution used for the diagnostic analysis is relevant for the definition of detection limits of outliers in the construction of residual plots against the index of the observations, against the predicted values or against covariates. Espinheira et al. (2017) proposed using empirical residual quantiles obtained from the simulated envelop bands. Here we used the same strategy. For any given residual, the thresholds are and , the and quantiles of the residual empirical distribution.

8 Application I : Reading accuracy data.

In the first application we consider the data originally analyzed by Smithson and Verkulien (2006). The variable of interest (y) are the scores in a reading accuracy test of 44 children, and the covariates are dyslexia versus non-dyslexia status (), nonverbal IQ () and an interaction variable (). Study participants were recruited from primary schools in the Australian capital. The covariant () assumes the value 1 if the child is dyslexic and -1 otherwise. The mean reading accuracy score was 0.900 for non-dyslexic readers and 0.606 for the dyslexic group. In addition, the scores range from 0.459 to 0.9999, with the overall mean score being 0.773 and the median score being 0.706.

This set of data has been extensively analyzed by several authors. Espinheira et al. (2008b), Espinheira et al. (2008a) and Ferrari et al. (2011) performed an extensive diagnostic analysis to justify the use of a beta regression model in which mean and precision are modeled simultaneously. Here we shall consider a simplex regression model with constant dispersion and we carried out a diagnostic analysis to compare with the diagnostic analysis made by these authors. We consider , in which is the logit function.

Figure 4: Diagnostic plots and influence plots. Reading accuracy data. Simplex model with constant dispersion.

Based on residual and influential plots (Figure 4), we reach the same conclusions found for a beta regression model with constant dispersion fitted for these data by Espinheira et al. (2008b), Espinheira et al. (2008a) and Ferrari et al. (2011). Even the same influential observations are singled out. Thus, we present in Table 1 a comparison between beta and simplex regression models with constant dispersion, considering the full dataset and sub datasets due to exclusions of cases singled out as potentially influential. Furthermore, the need of the modeling of the dispersion is clear. This feature is more clear by the weighted residual plots of the simplex regression model than what was shown on the residual plots of the beta regression model presented by Espinheira et al. (2008b), (See Figure 4 (a)). In fact, there is more dispersion in the control group than in the dyslexic group (Figure 4(c)). This fact explains the trend presented in Figure 4(a), since that the first 25 cases are about non-dilex group. Also, IQ covariate seems to be associated with the data dispersion. The normal probability and influence plots also revealed that there is a problem associated with the assumption of constant dispersion.

However, the most important conclusions are presented in Table 1. The analysis of this table reveals that the estimation process of the simplex model is more robust to influential cases than the estimation process of the beta regression model. It is noteworthy how the case 1 does not affect the inference of the simplex regression model as it affects the inference of the beta regression model. At simplex regression model, even without modeling of the dispersion, both the IQ and the interaction term are covariates with statistically significant effects to explain the mean response.

We have to stress the feature os this dataset, in which there is an evidence of an observation highly influential. Note that the estimate of the precision parameter is considerably small (beta regression). The beta fit takes the influential case as indication of large dispersion. This mistake does not occurs with (simplex regression), = 0.0346, small dispersion. As the simplex model is a dispersion model, the estimation process of the dispersion parameter was not affected by the influence of the outlier. However, we still improve this simplex regression model. In this case the improvement is reached when we consider the joint modeling of the mean and the dispersion.

Models Beta Simplex
Parameter
Description Const Dislex IQ Int Const Dislex IQ Int
Full estimat. 1.334 0.161 11.133 1.207 0.577 0.035
dataset e.p. 0.138 0.134 0.134 0.135 2.444 0.209 0.209 0.189 0.189 0.005
-value 0.000 0.000 0.238 0.105 0.000 0.000 0.002 0.000
Obs.1 change est. 65.6 48.5 7.7