IDEAS home Printed from https://ideas.repec.org/a/rsr/journl/v63y2015i3p33-45.html
   My bibliography  Save this article

Using R In Generalized Linear Models

Author

Listed:
  • Mihaela Covrig

    (Bucharest University of Economic Studies)

  • Iulian Mircea

    (Bucharest University of Economic Studies)

  • Gheorghita Zbaganu

    (University of Bucharest)

  • Alexandru Coser

    (Vodafone Romania)

  • Alexandru Tindeche

    (BCR Life Insurance)

Abstract

This paper aims to approach the estimation of generalized linear models (GLM) on the basis of the glm routine package in R. Particularly, regression models will be analyzed for those cases in which the explained variable follows a Poisson or a Negative Binomial distribution. The paper will briefly present the GLM methodology for count data, while the practical part will revolve around estimating and comparing models in which the response variable shows the number of claims in a portfolio of automobile insurance policies.

Suggested Citation

  • Mihaela Covrig & Iulian Mircea & Gheorghita Zbaganu & Alexandru Coser & Alexandru Tindeche, 2015. "Using R In Generalized Linear Models," Romanian Statistical Review, Romanian Statistical Review, vol. 63(3), pages 33-45, September.
  • Handle: RePEc:rsr:journl:v:63:y:2015:i:3:p:33-45
    as

    Download full text from publisher

    File URL: http://www.revistadestatistica.ro/wp-content/uploads/2015/07/RRS3_2015_A04.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Cameron,A. Colin & Trivedi,Pravin K., 2013. "Regression Analysis of Count Data," Cambridge Books, Cambridge University Press, number 9781107667273, October.
    2. Boucher, Jean-Philippe & Inoussa, Rofick, 2014. "A Posteriori Ratemaking With Panel Data," ASTIN Bulletin, Cambridge University Press, vol. 44(3), pages 587-612, September.
    3. de Jong,Piet & Heller,Gillian Z., 2008. "Generalized Linear Models for Insurance Data," Cambridge Books, Cambridge University Press, number 9780521879149.
    4. Mullahy, John, 1986. "Specification and testing of some modified count data models," Journal of Econometrics, Elsevier, vol. 33(3), pages 341-365, December.
    5. Yip, Karen C.H. & Yau, Kelvin K.W., 2005. "On modeling claim frequency data in general insurance with extra zeros," Insurance: Mathematics and Economics, Elsevier, vol. 36(2), pages 153-163, April.
    6. Frees, Edward W. & Valdez, Emiliano A., 2008. "Hierarchical Insurance Claims Modeling," Journal of the American Statistical Association, American Statistical Association, vol. 103(484), pages 1457-1469.
    7. Klein, Nadja & Denuit, Michel & Lang, Stefan & Kneib, Thomas, 2014. "Nonlife ratemaking and risk management with Bayesian generalized additive models for location, scale, and shape," Insurance: Mathematics and Economics, Elsevier, vol. 55(C), pages 225-249.
    8. Katrien Antonio & Emiliano Valdez, 2012. "Statistical concepts of a priori and a posteriori risk classification in insurance," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 96(2), pages 187-224, June.
    9. Klein, Nadja & Denuit, Michel & Lang, Stefan & Kneib, Thomas, 2014. "Nonlife ratemaking and risk management with Bayesian generalized additive models for location, scale, and shape," LIDAM Reprints ISBA 2014006, Université catholique de Louvain, Institute of Statistics, Biostatistics and Actuarial Sciences (ISBA).
    10. Jean-Philippe Boucher & Michel Denuit & Montserrat Guillén, 2007. "Risk Classification for Claim Counts," North American Actuarial Journal, Taylor & Francis Journals, vol. 11(4), pages 110-131.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Mihaela COVRIG & Dumitru BADEA, 2017. "Some Generalized Linear Models for the Estimation of the Mean Frequency of Claims in Motor Insurance," ECONOMIC COMPUTATION AND ECONOMIC CYBERNETICS STUDIES AND RESEARCH, Faculty of Economic Cybernetics, Statistics and Informatics, vol. 51(4), pages 91-107.
    2. Lee, Woojoo & Kim, Jeonghwan & Ahn, Jae Youn, 2020. "The Poisson random effect model for experience ratemaking: Limitations and alternative solutions," Insurance: Mathematics and Economics, Elsevier, vol. 91(C), pages 26-36.
    3. George Tzougas, 2020. "EM Estimation for the Poisson-Inverse Gamma Regression Model with Varying Dispersion: An Application to Insurance Ratemaking," Risks, MDPI, vol. 8(3), pages 1-23, September.
    4. Tzougas, George, 2020. "EM estimation for the Poisson-Inverse Gamma regression model with varying dispersion: an application to insurance ratemaking," LSE Research Online Documents on Economics 106539, London School of Economics and Political Science, LSE Library.
    5. Tzougas, George & Karlis, Dimitris, 2020. "An EM algorithm for fitting a new class of mixed exponential regression models with varying dispersion," LSE Research Online Documents on Economics 104027, London School of Economics and Political Science, LSE Library.
    6. Katrien Antonio & Emiliano Valdez, 2012. "Statistical concepts of a priori and a posteriori risk classification in insurance," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 96(2), pages 187-224, June.
    7. Tzougas, George & Vrontos, Spyridon D. & Frangos, Nickolaos E., 2015. "Risk classification for claim counts and losses using regression models for location, scale and shape," LSE Research Online Documents on Economics 70921, London School of Economics and Political Science, LSE Library.
    8. Aivars Spilbergs & Andris Fomins & Māris Krastiņš, 2022. "Multivariate Modelling of Motor Third Party Liability Insurance Claims," European Journal of Business Science and Technology, Mendel University in Brno, Faculty of Business and Economics, vol. 8(1), pages 5-18.
    9. Yves Staudt & Joël Wagner, 2021. "Assessing the Performance of Random Forests for Modeling Claim Severity in Collision Car Insurance," Risks, MDPI, vol. 9(3), pages 1-28, March.
    10. Tan, Chong It, 2016. "Varying transition rules in bonus–malus systems: From rules specification to determination of optimal relativities," Insurance: Mathematics and Economics, Elsevier, vol. 68(C), pages 134-140.
    11. Tzougas, George & Yik, Woo Hee & Mustaqeem, Muhammad Waqar, 2019. "Insurance ratemaking using the Exponential-Lognormal regression model," LSE Research Online Documents on Economics 101729, London School of Economics and Political Science, LSE Library.
    12. Shi, Peng & Zhao, Zifeng, 2024. "Enhanced pricing and management of bundled insurance risks with dependence-aware prediction using pair copula construction," Journal of Econometrics, Elsevier, vol. 240(1).
    13. Fuzi, Mohd Fadzli Mohd & Jemain, Abdul Aziz & Ismail, Noriszura, 2016. "Bayesian quantile regression model for claim count data," Insurance: Mathematics and Economics, Elsevier, vol. 66(C), pages 124-137.
    14. Roel Verbelen & Katrien Antonio & Gerda Claeskens, 2018. "Unravelling the predictive power of telematics data in car insurance pricing," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 67(5), pages 1275-1304, November.
    15. Tzougas, George & Hoon, W. L. & Lim, J. M., 2019. "The negative binomial-inverse Gaussian regression model with an application to insurance ratemaking," LSE Research Online Documents on Economics 101728, London School of Economics and Political Science, LSE Library.
    16. Shi, Peng & Feng, Xiaoping & Ivantsova, Anastasia, 2015. "Dependent frequency–severity modeling of insurance claims," Insurance: Mathematics and Economics, Elsevier, vol. 64(C), pages 417-428.
    17. Abdallah, Anas & Boucher, Jean-Philippe & Cossette, Hélène, 2016. "Sarmanov family of multivariate distributions for bivariate dynamic claim counts model," Insurance: Mathematics and Economics, Elsevier, vol. 68(C), pages 120-133.
    18. Verschuren, Robert Matthijs, 2022. "Frequency-severity experience rating based on latent Markovian risk profiles," Insurance: Mathematics and Economics, Elsevier, vol. 107(C), pages 379-392.
    19. Deprez, Laurens & Antonio, Katrien & Boute, Robert, 2021. "Pricing service maintenance contracts using predictive analytics," European Journal of Operational Research, Elsevier, vol. 290(2), pages 530-545.
    20. Pechon, Florian & Denuit, Michel & Trufin, Julien, 2019. "Home and Motor insurance joined at a household level using multivariate credibility," LIDAM Discussion Papers ISBA 2019013, Université catholique de Louvain, Institute of Statistics, Biostatistics and Actuarial Sciences (ISBA).

    More about this item

    Keywords

    GLM; count data; insurance; Poisson regression; Negative Binomial Regression; R;
    All these keywords.

    JEL classification:

    • C25 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Discrete Regression and Qualitative Choice Models; Discrete Regressors; Proportions; Probabilities

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:rsr:journl:v:63:y:2015:i:3:p:33-45. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Adrian Visoiu (email available below). General contact details of provider: https://edirc.repec.org/data/stagvro.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.