2023 CAS Virtual Workshop: Introduction to Python

Event Details

-

Every Wednesday (11:00 AM – 12:30 PM, ET)

Held on Microsoft Teams

About This Event

As actuaries work more and more with teams of data scientists and software engineers, they are more likely to encounter use of the Python programming language. While R is an environment for performing statistical analysis, Python is a general purpose programming language.

This workshop will provide an introduction to Python and show how to perform data collection, data visualization, and data analysis in Python. There will be six 90-minute sessions.

Event Information

Casualty Actuarial Society's Envisioned Future

The CAS will be recognized globally as the premier organization in advancing the practice and application of casualty actuarial science and educating professionals in general insurance, including property-casualty and similar risk exposure.

Continuing Education Credits

The CAS Continuing Education Policy applies to all ACAS and FCAS members who provide actuarial services. Actuarial services are defined in the CAS Code of Professional Conduct as "professional services provided to a Principal by an individual acting in the capacity of an actuary. Such services include the rendering of advice, recommendations, findings or opinions based upon actuarial considerations". Members who are or could be subject to the continuing education requirements of a national actuarial organization can meet the requirements of the CAS Continuing Education Policy by satisfying the continuing education requirements established by a national actuarial organization recognized by the Policy.

This activity may qualify for up to 10.8 CE credits for the 2023 Virtual Introduction to Python Workshop for CAS members. Participants should claim credit commensurate with the extent of their participation in the activity. CAS members earn 1 CE credit per 50 minutes of educational session time, not to include breaks or lunch.

Note: The amount of CE credit that can be earned for participating in this activity must be assessed by the individual attendee. It also may be different for individuals who are subject to the requirements of organizations other than the American Academy of Actuaries.

Virtual Seminar Recordings

Recordings of this workshop are available to attendees on our UCAS platform for five years.

Speaker Opinions

The opinions expressed by speakers at this event are their own and do not necessarily reflect the opinions of the CAS.

Technical Specifications

This event will be held on Microsoft Teams. For the best experience it is recommended that attendees download the Teams desktop app. Attendees may also use the web version of Teams through the following compatible browsers: Chrome, Safari, Firefox, and Microsoft Edge. Teams is not supported in Internet Explorer 11 or Opera.

Contact Information

For more information on content, please contact Wendy Ponce, Professional Education Coordinator, at wponce@casact.org.

For more information on course logistics or attendee registration, please contact Leanne Wieczorek, Meeting Planner at lwieczorek@casact.org.

For more information on other CAS opportunities or regarding administrative policies such as complaints and refunds, please contact the CAS Office at (703) 276-3100 or office@casact.org.

Registration Information

Register

Limit up to 35 participants

When registering for this event online, please select your reg type to see the event fees available.

Limited to individual registrations only. Group registrations are not permitted.

Registration Fees

 

Early Reg. Fee On/Before January 18

Late Reg. Fee After
January 19

Member

$650

$750

Non-Member

$850

$950

Cancellation Information

Registration fees will be refunded for cancellations received in writing at the CAS Office via email, refund@casact.org, by January 25, 2023 less a $100 processing fee.

Speakers

Steve Mildenhall

Stephen Mildenhall has worked in the insurance industry since 1992 in primary and reinsurance pricing, reinsurance broking, and academia. He is an FCAS, ASA, CERA, CSPA and CCRMP and holds a Ph.D. in Mathematics from the University of Chicago. Steve served on the CAS Board from 2018 to 2021. His book, Pricing Insurance Risk, written with John Major, has was published by Wiley in Spring 2022.

Brian Fannin

Brian Fannin has been an actuary for over 20 years. The data lack sufficient credibility for him to give a more precise estimate. Brian has been an Associate of the CAS since 2002 and a Certified Specialist in Predictive Analytics (CSPA) since 2017. He has worked in a variety of roles in commercial insurance, both primary and excess, here in the US as well as Europe, London and Asia. An early proponent of R, he has taught various workshops and seminars for the CAS, Actex and insurance clients. He joined the staff of the CAS in March of 2018 as Research Actuary. His focus is to enable CAS committees and research partners to work efficiently in developing relevant, practical content.

Schedule

Session

Date

Lead

Contents

1

Feb 1

Brian Fannin

Python Programming Basics
Variables, Types, Lists, Dictionaries, Functions, Dates, Strings, Dir, Help
Simulated transactional data, computing Earned Premium

2

Feb 8

Steve Mildenhall

Pandas 1: Data Frame Creation and Basic Data Manipulation
Make a triangle. Make development factors. Make an exhibit.
CAS Loss Reserve Database

3

Feb 15

Brian Fannin

Pandas 2: Data io with External Sources:
Excel, CSV, Markdown, HTML, Web; Advanced Data Manipulation: Querying, Merging, Indexes, Stack, Unstack, Pivot-table, Tidy Data

4

Feb 22

Steve Mildenhall

Pandas 3: Visualization and Reporting
Basic Pandas and Matplotlib 
Loss Development data

5

Mar 1

Steve Mildenhall

Loss modeling, more Pandas, Numpy, Scipy.Stats and the Aggregate package
Installing packages with pip; individual risk pricing, occurrence and aggregate limits and reinsurance; Iman Conover method

6

Mar 8

Brian Fannin

Linear Regression, lm, glm, sklearn
Triangles Analysis

Schedule

Session

Date

Lead

Contents

1

Feb 1

Brian Fannin

Python Programming Basics
Variables, Types, Lists, Dictionaries, Functions, Dates, Strings, Dir, Help
Simulated transactional data, computing Earned Premium

2

Feb 8

Steve Mildenhall

Pandas 1: Data Frame Creation and Basic Data Manipulation
Make a triangle. Make development factors. Make an exhibit.
CAS Loss Reserve Database

3

Feb 15

Brian Fannin

Pandas 2: Data io with External Sources:
Excel, CSV, Markdown, HTML, Web; Advanced Data Manipulation: Querying, Merging, Indexes, Stack, Unstack, Pivot-table, Tidy Data

4

Feb 22

Steve Mildenhall

Pandas 3: Visualization and Reporting
Basic Pandas and Matplotlib 
Loss Development data

5

Mar 1

Steve Mildenhall

Loss modeling, more Pandas, Numpy, Scipy.Stats and the Aggregate package
Installing packages with pip; individual risk pricing, occurrence and aggregate limits and reinsurance; Iman Conover method

6

Mar 8

Brian Fannin

Linear Regression, lm, glm, sklearn
Triangles Analysis