SOA Exams & Modules
[mathjax] Case Study 2: GLMs for Binary Target Variables Learning Objectives Compared to GLMs for numeric target variables, GLM-based classifiers enjoy some subtly unique features, which will be revealed in the course of this case study. At the completion of this section, you should be able to: Combine factor levels to reduce the dimension of the data. Select appropriate link …
[mathjax] Case Study 1: GLMs for Continuous Target Variables Learning Objectives Select appropriate distributions and link functions for a positive, continuous target variable with a right skew. Fit a GLM using the glm() function in R and specify the options of this function appropriately. Make predictions for GLMs using the predict() function and compare the predictive performance of different GLMs. …
[mathjax] EXAM PA LEARNING OBJECTIVES Learning Objectives The Candidate will be able to describe and select a Generalized Linear Model (GLM) for a given data set and regression or classification problem. Learning Outcomes The Candidate will be able to: Understand the specifications of the GLM and the model assumptions. Create new features appropriate for GLMs. Interpret model coefficients, interaction terms, …
[mathjax] Regularization What is regularization? Reduce model complexity: Reduces the magnitude of the coefficient estimates via the use of a penalty term and serves to prevent overfitting. An alternative to using stepwise selection for identifying useful features. How does regularization work? Variables with limited predictive power will receive a coefficient estimate that is small, if not exactly zero, and therefore …
[mathjax] Learning Objectives After completing this case study, you should be able to: Fit a multiple linear regression model with both numeric and categorical (factor) predictors. Detect and accommodate interactions between predictors which can be quantitative or qualitative. Perform explicit binarization of categorical predictors using the dummyVars() function from the caret package and understand why doing so may be beneficial. …
[mathjax] Context Suppose that we are statistical consultants hired by the company that offers the product. The company is interested in boosting sales of the product, but cannot directly do so (that is determined by market demand). Instead, it has the liberty to control the advertising expenditure in each of the three advertising media: TV, radio, and newspaper. If we …
Accounting Principles
Product Classification Why need product classification? Not all products manufactured by insurance companies are insurance contracts Insurance contracts are those that contain significant insurance risk How products are classified? For valuation purposes, insurance contracts can be further classified into: Ordinary Life – Participating Ordinary Life – Non-Participating Personal Accident Unit-linked (Contracts with an explicit account balance) Universal life (Contracts with …
Introduction IFRS 17 Insurance Contracts establishes principles for the recognition, measurement, presentation and disclosure of insurance contracts issued. It also requires similar principles to be applied to reinsurance contracts held and investment contracts with discretionary participation features issued. The objective is to ensure that entities provide relevant information in a way that faithfully represents those contracts. This information gives a …
Coding & Programming
Fundamental Concepts Notes Goal-seeking cannot be used in conjunction with looped modules. If you wish to goal seek at a product or fund level, you should use the REPEAT_LEVEL function. Variables used in goal-seeking Variable Description SEED_VAL Seed value for first iteration. PREV_VAL Value for current iteration. NEXT_VAL Value for next iteration. IF_CONVERGED If iteration has converged. How …
Dates CODE_SEGMENT Dates ; Valuation Date IF LEN(STRVAL(MONTH(EXTRACT_DATE))) = 1 THEN VAL_DATE = STRVAL(YEAR(EXTRACT_DATE)) + “0” + STRVAL(MONTH(EXTRACT_DATE)) ELSE VAL_DATE = STRVAL(YEAR(EXTRACT_DATE)) + STRVAL(MONTH(EXTRACT_DATE)) ENDIF ; Last-Year End LYE_DATE = STRVAL(YEAR(EXTRACT_DATE) – 1) + “12” ; Beginning of Current Year BOY_DATE = STRVAL(YEAR(EXTRACT_DATE)) + “01” ; Last-Month LM_M = STRVAL(NUMVAL(SUBSTR(VAL_DATE, 5, 2)) – 1) IF LEN(LM_M) = 1 THEN LM_M …
FUNCTION INSTR(BYVAL TEXT_DATA AS TEXT, BYVAL TEXT_FIND AS TEXT)AS INTEGER ; Match Sub-String and Return its Position I INTEGER J INTEGER FOR I FROM 1 TO LEN(TEXT_DATA) – LEN(TEXT_FIND) + 1 FOR J FROM 1 TO LEN(TEXT_FIND) IF SUBSTR(TEXT_FIND,J,1) <> SUBSTR(TEXT_DATA,I + J – …
Function Categories The Prophet programming language provides a wide range of functions which are grouped into the following categories: Array functions Conversion functions Dynamic functions Error / Warning functions Financial functions Logical functions Mathematical functions Product functions Read functions Run Position functions Run Progress functions Run Setting functions Statistical functions Text functions Trigonometric functions Array Functions Function Description ARRAY_INITIALISE Resizes …
Extended formulas enable more complex calculations to be carried out than standard Prophet formulas. They are also able to retain the values that they have calculated from one model point to the next and from one loop to the next in a dynamic or stochastic run. Examples of situations where extended formulas can be useful include: The calculation of commutation …
Overview The Prophet programming language is the programming language used to create and maintain formula definitions for variables in each product and library. A formula in Prophet can be specified using either: The standard Prophet language features or, The Prophet Extended Formula features. A formula created using the standard Prophet language generates values for one variable only. An extended formula …