<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJS</journal-id><journal-title-group><journal-title>Open Journal of Statistics</journal-title></journal-title-group><issn pub-type="epub">2161-718X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojs.2021.114031</article-id><article-id pub-id-type="publisher-id">OJS-111254</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  A Spatial-Nonparametric Approach for Prediction of Claim Frequency in Motor Insurance
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Gideon</surname><given-names>Kipngetich</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Ananda</surname><given-names>Kube</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Thomas</surname><given-names>Mageto</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Pan African University, Nairobi, Kenya</addr-line></aff><aff id="aff2"><addr-line>Department of Mathematics, Statistics and Actuarial Sciences, Kenyatta University, Nairobi, Kenya</addr-line></aff><aff id="aff3"><addr-line>Department of Statistics and Actuarial Sciences, JKUAT, Nairobi, Kenya</addr-line></aff><pub-date pub-type="epub"><day>10</day><month>08</month><year>2021</year></pub-date><volume>11</volume><issue>04</issue><fpage>493</fpage><lpage>505</lpage><history><date date-type="received"><day>3,</day>	<month>June</month>	<year>2021</year></date><date date-type="rev-recd"><day>10,</day>	<month>August</month>	<year>2021</year>	</date><date date-type="accepted"><day>13,</day>	<month>August</month>	<year>2021</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Spatial modeling has largely been applied in epidemiology and disease modeling. Different methods such as Generalized linear models (GLMs) have been made available to prediction of the claim frequencies. However, due to heterogeneity nature of policies, the methods do not generate precise and accurate claim frequencies predictions; these parametric statistical methods extensively depend on limiting assumptions (linearity, normality, independence among predictor variables, and a pre-existing functional form relating the criterion variable and predictive variables). This study investigates how to derive a spatial nonparametric model estimator based on smoothing Spline for predicting claim frequencies. The simulation results showed that the proposed estimator is efficient for prediction of claim frequencies than the kernel based counterpart. The estimator derived was applied to a sample of 6500 observations obtained from Cooperative Insurance Company, Kenya for the period of 2018-2020 and the results showed that the proposed method perform
  s
   better than the kernel based counterpart. It is worth noting that inclusion of the spatial effects significantly improves the estimator prediction of claim frequency.
 
</p></abstract><kwd-group><kwd>Nonparametric</kwd><kwd> SAR</kwd><kwd> Smoothing Spline</kwd><kwd> Claims</kwd><kwd> CIC</kwd><kwd> Spatial</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Recent studies on spatial modeling have been rapidly applied in many fields: epidemiology, public health, and the insurance sector. Models such as Poisson, Generalized linear models, Credibility models and Bayesian Models are the commonly used models for prediction of claim frequencies. However, from the available literature, these models appear to be relatively inflexible. Although the Generalized linear models provide accurate and fast analysis of insurance data, they fall short because they are defined based on the assumptions, and an incorrect model assumption can cause model misspecification leading to erroneous results. Nonparametric models are deemed to minimize the shortcoming of these standard parametric models since fewer assumptions are made for the model, therefore, suitable for modeling insurance data which are nonlinear as described by [<xref ref-type="bibr" rid="scirp.111254-ref1">1</xref>] where they concluded that the nonparametric models perform better than generalized linear models (GLMs); the only observable problem with modeling using Nonparametric models is the interpretation of some of the curves [<xref ref-type="bibr" rid="scirp.111254-ref2">2</xref>]. When modeling claims and risks, we need to determine their behavior and spatial dependence, and spatial heterogeneity of the data so that the insurer can determine which areas are associated with a higher riskier when determining premiums amount to be paid.</p><p>[<xref ref-type="bibr" rid="scirp.111254-ref3">3</xref>] proposed a Bayesian nonparametric approach for prediction of claims; here they found out that the model performs better compared to nonparametric GLMs in that it can capture the nonlinear random effects present in the data. [<xref ref-type="bibr" rid="scirp.111254-ref4">4</xref>] also proposed a flexible nonparametric loss model for prediction of the claims; they found out that having flexible multivariate model may allow actuaries to estimate the dependence between different risk classes and different lines of business and this topic needs to be explored further. [<xref ref-type="bibr" rid="scirp.111254-ref5">5</xref>] introduced the idea of using nonparametric data mining approach to modeling the claims and prediction of risk; here the approach classified the risk and predicted claim size based on the data. This study’s research idea was to be built based on the idea proposed by [<xref ref-type="bibr" rid="scirp.111254-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref7">7</xref>] where they introduce a nonparametric spatial regression model for prediction. This study’s primary objective was to derive a spatial nonparametric estimator for the prediction of insurance claims. Therefore, this study’s main contribution was to investigate the estimator’s performance in the situation of additional covariates in the model and incorporate the aspect of spatial dependence in deriving a nonparametric estimator for the prediction of insurance claim frequencies.</p><p>The main difference between this research and [<xref ref-type="bibr" rid="scirp.111254-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref9">9</xref>] are as follows: 1) estimate a nonparametric spatial model where estimation of the unknown trend g ( ⋅ ) is based on smoothing spline; 2) spatial heterogeneity and correlation were considered simultaneously rather than assuming that correlation satisfies specific form (such as in SAR).</p><p>The paper is organized as follows: Section 2 describes the development process of the model estimator based on smoothing spline; Section 3 presents the data description and main results; simulation study and analysis of CIC insurance claims data; Section 4 presents conclusion and suggestions for further research.</p></sec><sec id="s2"><title>2. Methods</title>Model Estimation<p>The study proposed a nonparametric regression model to predict the number of claims Y i , i = 1 , ⋯ , n observed in region J in order to relax restrictive assumption on the distribution of number of claims and X i covariates vector for the i<sup>th</sup> claim. Since claims in each region, J has nonlinear relation with the covariates X ′ i s .</p><p>The nonparametric form of the model is given by the general form [<xref ref-type="bibr" rid="scirp.111254-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref11">11</xref>].</p><p>y i = g ( x i ) + Z i T b + ε i</p><p>g ( ⋅ ) is unknown nonparametric function used to model fixed effects, Z i T b and ε i cater for random effects.</p><p>Since the form of Z i T b = R i for R i is unknown. The main work of this study is to estimate the form of R i then establish the functional form of Z i T b that captures the spatial effects.</p><p>Let n = ( n 1 , ⋯ , n N ) T be two N dimensional vectors. We can make assumption about the spatial model as</p><p>Y i = g ( X i ) + R i ,   v a r ( R ) = Σ ,   i ∈ Λ n = { 1 , ⋯ , n 1 } &#215; ⋯ &#215; { 1 , ⋯ , n N } (1)</p><p>where i = ( i 1 , ⋯ , i N ) in Λ n will be referred to as site, R i cater for the spatial effects (Random effects) and the cardinality of Λ n is | Λ n | = n [<xref ref-type="bibr" rid="scirp.111254-ref12">12</xref>].</p><p>Spatial data is modelled as finite realization of vector stochastic process indexed by i ∈ Λ n , R = ( R 1 , ⋯ , R n ) T is assumed to follow a joint Gaussian distribution where E ( R i ) = 0 , is known ∀ i ∈ Λ n , Σ = [ ρ ( R i , R j ) ] is the unknown correlation coefficient matrix (need to be estimated). The vector X i = ( X i 1 , ⋯ , X i d ) ∈ ℜ d , Y i ∈ ℜ and g ( ⋅ ) is the unknown trend function.</p><p>The aim is to estimate g ( x ) for some given x = ( x 1 , ⋯ , x d ) ∈ ℜ d , the response variable Y i is claim frequency and X i is six dimensional vector consisting of the following explanatory variables: gender, claim amount, age of the policyholder, gender, vehicle age, model of the vehicle and age category of the policyholder.</p><p>Estimating g ( x ) at some point x ∈ ℜ d , for X i in the neighbourhood of x, g can be approximated using smoothing spline [<xref ref-type="bibr" rid="scirp.111254-ref13">13</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref14">14</xref>].</p><p>To estimate the smoothing spline estimator g ^ ( ⋅ ) of g ( ⋅ ) , the study considers minimizing the equation</p><p>∑ i = 1 n ( Y i − g ( x i ) ) 2 + λ ∫ ( g ″ ( x ) ) 2 d x (2)</p><p>over the function g This criterion trades-off least squares error of g over ( x i , y i ) , i = 1 , ⋯ , n , with a regularization term that grows large when the second derivative of g is wiggly. The coefficients are chosen to minimize Equation (3) which is a simplified form of Equation (2)</p><p>1 n ∑ i = 1 n { Y i − g ( X i ; β ) } 2 + λ β T Ω β (3)</p><p>which can be represented as</p><p>‖ Y i − G β ‖ 2 + λ β T Ω β</p><p>where G ∈ ℝ n &#215; n is basis matrix defined as</p><p>G i j = ψ j ( x i ) ,   i , j = 1 , ⋯ , n</p><p>where ψ 1 , ⋯ , ψ n are the truncated power basis functions with knots at x 1 , ⋯ , x n which is evaluated at the data values</p><p>ψ j ( x ) = ( x i j ( 0 ≤ n ≤ p )         i , j = 1 , ⋯ , n ( x i − N j + 1 − p ) + p     ( p + 1 ) ≤ j ≤ N (4)</p><p>( x − N j + 1 − p ) + p = max ( 0 , x i − N j ) p , j ∈ ϕ where ϕ is compact interval. p is the degree of the spline and j i &lt; ⋯ &lt; j N − p are fixed points or knots in ϕ .</p><p>Ω ∈ ℝ n &#215; n is the penalty matrix defined as</p><p>Ω i j = ∫ g ″ i ( x ) ψ ″ j ( x ) d x ,   i , j = 1, ⋯ , n</p><p>Given the optimal coefficients β ^ minimizing (3) through penalized least squares, the smoothing spline estimator at x is therefore defined as</p><p>g ^ ( x i ) = ∑ j = 1 n     β ^ j ψ j ( x ) (5)</p><p>The term affects shrinking the components of estimation β ^ towards zero. The parameter λ ≥ 0 is the smoothing parameter.</p><p>Each computed coefficient β ^ j corresponds to a particular basis function ψ j . The term β T Ω β in (3) imparts more shrinkage on the coefficients β ^ j that correspond to wigglier functions ψ j ( x ) . Hence, as we increase λ , we are shrinking away from the wiggler basis functions.</p><p>Similar to least squares regression, the coefficients β ^ minimizing (3) is</p><p>β ^ = ( G T G + λ Ω ) − 1 G T Y = ( X T X + n λ D ) − 1 X T Y</p><p>where X is a design matrix with entries x i for i = 1 , ⋯ , n , Y is a vector of the response variables, D is a diagonal matrix with p + 1 zeros on the diagonal followed by N ones and n λ D is a penalty term.</p><p>Smoothing splines can be seen as a linear smoother, where k ( x ) = ( ψ 1 ( x 1 ) , ⋯ , ψ n ( x n ) ) . Therefore, Equation (5) can be represented as</p><p>g ^ ( x ) = k ( x ) T β ^ = k ( x ) T ( X T X + n λ D ) − 1 X T Y (6)</p><p>which is linear combination of the points y i , i = 1 , ⋯ , n , λ is estimated using Generalized Cross Validation (GCV) method given by</p><p>GCV ( λ ) = 1 n ∑ i = 1 n ( Y ( z i ) − Y ^ λ − i ( z i ) 1 − ( p + t r ( S λ ) ) / n ) 2 (7)</p><p>where Y ( z i ) is the observation in point z i , Y λ − i ( z i ) is the predicted value from a fitted smoothing spline model from the data less the i<sup>th</sup> data and S λ is the degree of the smoother.</p><p>As proposed by [<xref ref-type="bibr" rid="scirp.111254-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref7">7</xref>], R<sup>2</sup> is used to assess the performance of predictor function, given by</p><p>R 2 = 1 − ∑ i = 1 n [ g ( x i ) − g ^ ( x i ) ] 2 ∑ i = 1 n [ g ( x i ) − g &#175; ] 2 (8)</p><p>where g &#175; is the sample mean of g ( x i ) , i = 1 , ⋯ , n .</p><p>After estimating the function g ( ⋅ ) , then from (1) R i is estimated as R ^ i = Y i − g ^ ( X i ) . Since Σ in model Equation (1) is unknown, we assume that R i , i = 1 , 2 , ⋯ , n is 2<sup>nd</sup>-order stationary and isotopic process (does not depend on direction).</p><p>Before prediction can be performed on spatial data sets, the variogram is usually estimated at various lags and a nonparametric model is fitted to those estimates.</p><p>Then let C ( h ) and 2 γ ( h ) be covariogram and variogram of the process where h represents the distance between 2 points at which the process is obtained [<xref ref-type="bibr" rid="scirp.111254-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref15">15</xref>]. The two quantities are related by</p><p>C ( h ) = C ( 0 ) − γ ( h ) (9)</p><p>where C ( 0 ) = σ 2 = v a r ( Y ( z ) ) , Y ( z ) is the value of the process at spatial location z within region C.</p><p>l i m h → ∞ C ( h ) = 0</p><p>implies</p><p>l i m h → ∞ γ ( h ) = V a r ( Y ( z ) ) = C ( 0 )</p><p>for validity of variogram the condition that</p><p>l i m h → ∞ 2 γ ( h ) h 2 = 0</p><p>must be met [<xref ref-type="bibr" rid="scirp.111254-ref16">16</xref>].</p><p>Σ = [ ρ ( R i , R j ) ] = [ C ( ‖ z i − z j ‖ ) / σ 2 ] , while z i and z j are the spatial locations associated with the error values R i and R j thus to estimate Σ it is sufficient to estimate γ ( h ) [<xref ref-type="bibr" rid="scirp.111254-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref17">17</xref>].</p><p>2 γ ^ ( h ) = ∑ S ( h ) [ z i − z j ] 2 / N ( h ) (10)</p><p>S ( h ) = { ( z i , z j ) : | z i − z j | = h } , h ∈ ℜ d , N ( h ) is a number of distinct pairs in S ( h ) since r ( z i ) the error at location z i is unobserved, the quantity is to be estimated as well.</p><p>Since we have to estimate the variogram γ ^ ( h ) in Equation (10) in nonparametric approach [<xref ref-type="bibr" rid="scirp.111254-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.111254-ref19">19</xref>], then γ ( h ) can be estimated as</p><p>γ ( h ) = ∫ 0 ∞ ( 1 − ω d ( h t ) ) d M ( t ) (11)</p><p>M ( t ) is nonnegative bounded nondecreasing function for nodes(or location of the jumps) t ≥ 0 and ω d is a basis for functions in ℝ d (d is the dimension of the spatial domain D) given by</p><p>ω d ( h t ) = ( 2 / h t ) ( d − 2 ) / 2 Γ ( d / 2 ) J ( d − 2 ) / 2 ( h t )</p><p>Γ ( d / 2 ) is the gamma function, and J ( ⋅ ) is the Bessel function of the first kind. Some familiar examples of ω d are ω 1 ( h t ) = cos ( h t ) , ω 2 ( h t ) = J 0 ( h t ) , and here ω 3 ( h t ) = sin ( h t ) h t is chosen which yields a non-parametric estimate which is conditionally negative definite for spatial data from 1 - 3 dimensions.</p><p>The characteristics of the estimator (11) are estimated using Integrated square error [<xref ref-type="bibr" rid="scirp.111254-ref20">20</xref>], given by</p><p>ISE ( γ ) = ∫ h 1 h k { γ ^ ( h ) − γ ( h ) } 2 d h (12)</p><p>where h 1 and h k are the smallest and largest distances for which variogram estimates are available [<xref ref-type="bibr" rid="scirp.111254-ref17">17</xref>].</p><p>Model (1) can therefore be represented as</p><p>Y ( z i ) = g ( X i ( z i ) ) + R ( z i ) ,     i = 1, ⋯ , n (13)</p><p>where Y ( z i ) : i = 1, ⋯ , n is the observations (claims) in region z i associated with independent variables X i ( z i ) in region z i , R ( z i ) is the unobserved error in region z i and g ( ⋅ ) is the estimated function in (6).</p><p>To evaluate performance of the proposed method we used R 2 to assess prediction accuracy of the method</p><p>R 2 = 1 − ∑ i = 1 n [ Y ( z i ) − Y ^ ( z i ) ] 2 ∑ i = 1 n [ Y ( z i ) − Y &#175; ] 2 (14)</p></sec><sec id="s3"><title>3. Main Results</title><sec id="s3_1"><title>3.1. Data Description</title><p>The study used motor third party liability data for 2018-2020 from the insurance company Cooperative Insurance Company (CIC). The data include 6500 policies, out of which many policies have total claim sizes other than zero, and an appropriate number of policies without any claims were taken. The following policy data were used: the region where the policy was taken, age, gender, type of vehicle, number of claims per policy, years of policy ownership, claim amount, insured cases number for a user, and average claim size. In the process of preparation, data was cleaned, and imputation of data will be done; age is categorized into old (over the age of 50), Young (up to the age of 25), and Middle (aged 25 - 50) age. Policies with extremely low and extremely high average claim sizes are removed; categorical variables with multiple categories were replaced with dummy (indicator) variables.</p><p><xref ref-type="table" rid="table1">Table 1</xref> shows that there is a very large number of observations with no claims in claims dataset where the maximum number of claims made in a region was 4 in an observation.</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Summary of claim frequencies in the data</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >No. of Claims</th><th align="center" valign="middle" >Freq of Observations</th><th align="center" valign="middle" >% of Observations</th></tr></thead><tr><td align="center" valign="middle" >0</td><td align="center" valign="middle" >4015</td><td align="center" valign="middle" >61.8</td></tr><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >1967</td><td align="center" valign="middle" >30.3</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >431</td><td align="center" valign="middle" >6.6</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >71</td><td align="center" valign="middle" >1.1</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >16</td><td align="center" valign="middle" >0.2</td></tr></tbody></table></table-wrap></sec><sec id="s3_2"><title>3.2. Simulation Study</title><p>This section describes the simulation and their analysis results of the proposed method, we simulate spatial data with a length of n = 100 observations. This is to ensure that the simulated data mimic the real claims dataset so that the results can be inferred to evaluate the performance of our method in data analysis. 65 spatial sampling locations were selected randomly and denoted by z 1 , ⋯ , z n . The responses Y ( z i ) for i = 1, ⋯ , n are the observations and were simulated from the spatial nonparametric model (13) with p = 2</p><p>Y ( z ) = g ( x i ( z ) ) + R ( z )</p><p>R ( z ) is the term for spatial effects z i and z j in 2-dimensional space [<xref ref-type="bibr" rid="scirp.111254-ref16">16</xref>] with mean 0 and covariance given by (11). The covariates, x i ( z i ) for i = 1, ⋯ , n , were generated as iid N ( 0,1 ) and are independent of each other, before the simulations i.e., the variables were treated as fixed terms when Y ( z i ) were generated repeatedly. Within each simulation, the spatial random effects R ( z i ) were generated from a Gaussian process with mean zero and the covariance function (11), for i = 1, ⋯ , n .</p><p>The ISE ( γ ) defined as ISE ( γ ) = ∫ h 1 h k { γ ^ ( h ) − γ ( h ) } 2 d h was approximated numerically from simulated data for the proposed estimator (11) and NW kernel. <xref ref-type="table" rid="table2">Table 2</xref> present the mean values of ISE. From the results in Table, the proposed estimator (11) offers a better performance compared to NW kernel estimator.</p><p>Assessing how well the proposed method performs, we compare the proposed method under which R = ∫ 0 ∞ ( 1 − ω d ( h t ) ) d M ( t ) with the method under which the spatial component (R) is based on kernel estimation, we calculated the MSE and the R<sup>2</sup> of the estimators from 100 simulations and present the results in <xref ref-type="table" rid="table3">Table 3</xref>. From the table it was found that MSE for the proposed method is smaller ranging from 0.0221 to 0.0102 in all the sample sizes taken while the MSE of the kernel based estimator ranges between 0.308 to 0.0176, in addition, the R<sup>2</sup> for the proposed method were larger ranging between 0.7003 to 0.99963 in all the sample sizes compared those of kernel based estimator which ranges from 0.6751 to 0.9694. Thus the results demonstrate the superior performance of the proposed method compared to the kernel based estimator.</p><p>The results in <xref ref-type="table" rid="table3">Table 3</xref> were visualized in <xref ref-type="fig" rid="fig1">Figure 1</xref> and <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>Based on performance of the proposed method, the method was applied to the simulated data to check its performance in prediction of future values. <xref ref-type="table" rid="table4">Table 4</xref> describes the distribution of the predicted values out of 100 simulation.</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Mean values of the standardized ISE from the estimators (Sample size of n = 1000)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle" >h = 1</th><th align="center" valign="middle" >h = 2</th><th align="center" valign="middle" >h = 3</th><th align="center" valign="middle" >h = 4</th></tr></thead><tr><td align="center" valign="middle" >NW kernel</td><td align="center" valign="middle" >0.53883</td><td align="center" valign="middle" >0.53407</td><td align="center" valign="middle" >0.5177</td><td align="center" valign="middle" >0.40779</td></tr><tr><td align="center" valign="middle" >Proposed estimator</td><td align="center" valign="middle" >0.30731</td><td align="center" valign="middle" >0.28762</td><td align="center" valign="middle" >0.26737</td><td align="center" valign="middle" >0.23037</td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> MSE and R<sup>2</sup> for the model over 100 simulation under different sample sizes</title></caption><table><tbody><thead><tr><th align="center" valign="middle" ></th><th align="center" valign="middle"  colspan="2"  >n = 10</th><th align="center" valign="middle"  colspan="2"  >n = 100</th><th align="center" valign="middle"  colspan="2"  >n = 400</th><th align="center" valign="middle"  colspan="2"  >n = 1000</th></tr></thead><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >R<sup>2</sup></td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >R<sup>2</sup></td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >R<sup>2</sup></td><td align="center" valign="middle" >MSE</td><td align="center" valign="middle" >R<sup>2</sup></td></tr><tr><td align="center" valign="middle" >N (kernel)</td><td align="center" valign="middle" >0.0308</td><td align="center" valign="middle" >0.6751</td><td align="center" valign="middle" >0.0285</td><td align="center" valign="middle" >0.7585</td><td align="center" valign="middle" >0.0210</td><td align="center" valign="middle" >0.9691</td><td align="center" valign="middle" >0.0176</td><td align="center" valign="middle" >0.9694</td></tr><tr><td align="center" valign="middle" >Proposed Method</td><td align="center" valign="middle" >0.0221</td><td align="center" valign="middle" >0.7003</td><td align="center" valign="middle" >0.0118</td><td align="center" valign="middle" >0.8217</td><td align="center" valign="middle" >0.0105</td><td align="center" valign="middle" >0.9962</td><td align="center" valign="middle" >0.0102</td><td align="center" valign="middle" >0.99963</td></tr></tbody></table></table-wrap><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Summary of predicted claim frequencies from simulation</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >No. of Claims</th><th align="center" valign="middle" >Freq of Observations</th><th align="center" valign="middle" >% of Observations</th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >998</td><td align="center" valign="middle" >99.8</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >0.2</td></tr></tbody></table></table-wrap><p>The predicted values generated by the proposed method as presented in <xref ref-type="table" rid="table4">Table 4</xref> were graphically presented and the prediction intervals superimposed on the distributional histogram of the predicted values as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>, the prediction interval (in red dotted lines) showed that a larger number of predicted values lies between 1 - 2 this means that there are higher chances of getting future values as 1 and 2.</p></sec><sec id="s3_3"><title>3.3. Analysis for Claims Data</title><p>The study considered claims data from CIC insurance observed in different parts of 7 counties of Kenya to exhibit the performance of the proposed method. The main interest of this study was predicting claims frequencies, the study considers a set of 6500 observations. Let Y i denote the claim frequency, and X i = ( X 1 , ⋯ , X 6 ) Τ be a vector which consists of the following explanatory variables: gender, claim amount, age of the policyholder, gender, vehicle age, model of the vehicle and age category of the policyholder. Using the estimated model (13) we predict claim frequencies. The observations were from random process over a countable sample of spatial locations. The claim data at a particular location typically represent the entire region (<xref ref-type="fig" rid="fig4">Figure 4</xref>).</p><p>Using the proposed method future claim frequencies were predicted and the results were presented in <xref ref-type="table" rid="table5">Table 5</xref>.</p><p><xref ref-type="fig" rid="fig5">Figure 5</xref> shows graphical representation of the predicted claims as described in <xref ref-type="table" rid="table5">Table 5</xref> with the prediction interval (red dotted vertical lines), the future values will lie between 1 and 4.</p><p>From the prediction results, R<sup>2</sup> values using Equation (14) were evaluated to access the performance of two methods, the results presented in <xref ref-type="table" rid="table6">Table 6</xref>.</p><p>From the results in <xref ref-type="table" rid="table6">Table 6</xref> the R<sup>2</sup> for N(kernel) was 0.543, and that from the proposed method is 0.566, this showed that the proposed method for prediction has a higher prediction accuracy than the kernel based estimator. Therefore the</p><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> Summary of predicted claim frequencies</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >No. of Claims</th><th align="center" valign="middle" >Freq of Observations</th><th align="center" valign="middle" >% of Observations</th></tr></thead><tr><td align="center" valign="middle" >1</td><td align="center" valign="middle" >3145</td><td align="center" valign="middle" >89.52</td></tr><tr><td align="center" valign="middle" >2</td><td align="center" valign="middle" >302</td><td align="center" valign="middle" >8.60</td></tr><tr><td align="center" valign="middle" >3</td><td align="center" valign="middle" >50</td><td align="center" valign="middle" >1.42</td></tr><tr><td align="center" valign="middle" >4</td><td align="center" valign="middle" >16</td><td align="center" valign="middle" >0.50</td></tr></tbody></table></table-wrap><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> R<sup>2</sup> for the estimators</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Method</th><th align="center" valign="middle" >N (kernel)</th><th align="center" valign="middle" >Proposed Method</th></tr></thead><tr><td align="center" valign="middle" >R<sup>2</sup></td><td align="center" valign="middle" >0.543</td><td align="center" valign="middle" >0.566</td></tr></tbody></table></table-wrap><p>study concluded that the proposed method is more efficient than N (kernel) model, this implies that the predicted value was more likely to be more identically equal to the observed claims.</p></sec></sec><sec id="s4"><title>4. Conclusions and Suggestions</title><p>The idea of deriving an appropriate estimator in predicting frequency claims in the insurance industry has gained more interest in finance and statistical research. Many researchers heavily rely on parametric estimators; however, the insurance datasets have some aspect of non-linearity. Hence, researchers in statistics and econometrics are currently developing nonparametric models incorporating spatial effects to improve on the prediction based on the existing parametric models such as aggregate claim models and GLMs which are rather more restrictive on their transformed mean of the response; the nonparametric methods provide a more flexible method for prediction. The study proposed a spatial nonparametric (based on splines) estimator for predicting claim frequencies in motor insurance.</p><p>The simulation study showed that the proposed method performs better than the kernel based estimator; here the Mean Squared Error values of the proposed method were smaller than those of the kernel estimator which also implies a higher value of R-squared, particularly in presence of spatial dependence. Case study findings also showed that the proposed method performs better than the kernel based estimator on predicting the future claim frequencies. Therefore, the proposed method compared to kernel based estimator provides a more efficient prediction method for motor insurance claim data and ultimately leads to more accurate predictions.</p>Suggestions<p>Some additional exogenous variables such as environmental among other institutional factors may have effect on claim frequencies therefore, more robust spatial estimator need to be constructed using the proposed idea to investigate how these factors may affect claim frequencies. Further research can also be done on the theoretical properties of this proposed model estimator. In addition, this study made the assumption that the errors were correlated, for this reason future studies could consider a case of uncorrelated error structure.</p></sec><sec id="s5"><title>Acknowledgements</title><p>Sincere thanks to my supervisors Dr. Kube Anada and Dr. Thomas Mageto for their professional contribution and performance, and special thanks to my parents for their moral support and rare attitude of high quality.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest.</p></sec><sec id="s7"><title>Cite this paper</title><p>Kipngetich, G., Kube, A. and Mageto, T. (2021) A Spatial-Nonparametric Approach for Prediction of Claim Frequency in Motor Insurance. Open Journal of Statistics, 11, 493-505. https://doi.org/10.4236/ojs.2021.114031</p></sec></body><back><ref-list><title>References</title><ref id="scirp.111254-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Doupe, P., Faghmous, J. and Basu, S. (2019) Machine Learning for Health Services Researchers. Value in Health, 22, 808-815. https://doi.org/10.1016/j.jval.2019.02.012</mixed-citation></ref><ref id="scirp.111254-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Islamiyati, A., Chamidah, N., et al. (2020) Penalized Spline Estimator with Multi Smoothing Parameters in Bi-Response Multi-Predictor Nonparametric Regression Model for Longitudinal Data. Songklanakarin Journal of Science &amp; Technology, 42, 897-909.</mixed-citation></ref><ref id="scirp.111254-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Fellingham, G.W., Kottas, A. and Hartman, B.M. (2015) Bayesian Nonparametric Predictive Modeling of Group Health Claims. Insurance: Mathematics and Economics, 60, 1-10. https://doi.org/10.1016/j.insmatheco.2014.10.011</mixed-citation></ref><ref id="scirp.111254-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Hong, L. and Martin, R. (2017) A Flexible Bayesian Nonparametric Model for Predicting Future Insurance Claims. North American Actuarial Journal, 21, 228-241.  
https://doi.org/10.1080/10920277.2016.1247720</mixed-citation></ref><ref id="scirp.111254-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Kascelan, V., Kascelan, L. and Buric, M.N. (2016) A Nonparametric Data Mining Approach for Risk Prediction in Car Insurance: A Case Study from the Montenegrin Market. Economic Research—Ekonomska istrazivanja, 29, 545-558.  
https://doi.org/10.1080/1331677X.2016.1175729</mixed-citation></ref><ref id="scirp.111254-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H.X., Wang, J.D. and Huang, B. (2012) Prediction for Spatiotemporal Models with Autoregression in Errors. Journal of Non-Parametric Statistics, 24, 217-244.  
https://doi.org/10.1080/10485252.2011.616893</mixed-citation></ref><ref id="scirp.111254-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H.X., Lin, J.G. and Wang, J.D. (2016) Nonparametric Spatial Regression with Spatial Autoregressive Error Structure. Statistics, 50, 60-75.  
https://doi.org/10.1080/02331888.2015.1094068</mixed-citation></ref><ref id="scirp.111254-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Li, Y., Qin, Y. and Li, Y. (2021) Empirical Likelihood for Nonparametric Regression models with Spatial Autoregressive Errors. Journal of the Korean Statistical Society, 50, 447-478. https://doi.org/10.1007/s42952-020-00088-z</mixed-citation></ref><ref id="scirp.111254-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Xu, G.Y. and Bai, Y. (2020) Estimation of Nonparametric Additive Models with High Order Spatial Autoregressive Errors. Canadian Journal of Statistics, 49, 311-343.</mixed-citation></ref><ref id="scirp.111254-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Rice, J.A. and Wu, C.O. (2001) Nonparametric Mixed Effects Models for Unequally Sampled Noisy Curves. Biometrics, 57, 253-259.  
https://doi.org/10.1111/j.0006-341X.2001.00253.x</mixed-citation></ref><ref id="scirp.111254-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Karcher, P. and Wang, Y.D. (2001) Generalized Nonparametric Mixed Effects Models. Journal of Computational and Graphical Statistics, 10, 641-655.  
https://doi.org/10.1198/106186001317243377</mixed-citation></ref><ref id="scirp.111254-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Wang, H.X., Wu, Y.H. and Chan, E. (2017) Efficient Estimation of Nonparametric Spatial Models with General Correlation Structures. Australian &amp; New Zealand Journal of Statistics, 59, 215-233. https://doi.org/10.1111/anzs.12192</mixed-citation></ref><ref id="scirp.111254-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Wang, Y.D. (2019) Smoothing Splines: Methods and Applications. Chapman and Hall/CRC, Boca Raton, FL.</mixed-citation></ref><ref id="scirp.111254-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Tait, A. and Woods, R. (2007) Spatial Interpolation of Daily Potential Evapotranspiration for New Zealand Using a Spline Model. Journal of Hydrometeorology, 8, 430-438. https://doi.org/10.1175/JHM572.1</mixed-citation></ref><ref id="scirp.111254-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Laslett, G.M. (1994) Kriging and Splines: An Empirical Comparison of Their Predictive Performance in Some Applications. Journal of the American Statistical Association, 89, 391-400. https://doi.org/10.1080/01621459.1994.10476759</mixed-citation></ref><ref id="scirp.111254-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Cressie, N. (2015) Statistics for Spatial Data. John Wiley &amp; Sons, Hoboken.</mixed-citation></ref><ref id="scirp.111254-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Huang, C.F., Hsing, T. and Cressie, N. (2011) Nonparametric Estimation of the Variogram and Its Spectrum. Biometrika, 98, 775-789.  
https://doi.org/10.1093/biomet/asr056</mixed-citation></ref><ref id="scirp.111254-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Fernández-Casal, R., Castillo-Páez, S. and Francisco-Fernández, M. (2018) Nonparametric Geostatistical Risk Mapping. Stochastic Environmental Research and Risk Assessment, 32, 675-684. https://doi.org/10.1007/s00477-017-1407-y</mixed-citation></ref><ref id="scirp.111254-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Qadir, G.A. and Sun, Y. (2020) Semiparametric Estimation of Cross-Covariance Functions for Multivariate Random Fields. Biometrics, 77, 547-560.  
https://doi.org/10.1111/biom.13323</mixed-citation></ref><ref id="scirp.111254-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Yu, K.M., Mateu, J. and Porcu, E. (2007) A Kernel-Based Method for Nonparametric Estimation of Variograms. Statistica Neerlandica, 61, 173-197.  
https://doi.org/10.1111/j.1467-9574.2007.00326.x</mixed-citation></ref></ref-list></back></article>