Actuarial Outpost
 
Go Back   Actuarial Outpost > Actuarial Discussion Forum > Software & Technology
FlashChat Actuarial Discussion Preliminary Exams CAS/SOA Exams Cyberchat Around the World Suggestions


Upload your resume securely at https://www.dwsimpson.com
to be contacted when new jobs meet your skills and objectives.


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-27-2020, 12:34 PM
rando rando is offline
SOA
 
Join Date: Apr 2020
Posts: 5
Default R is for Actuaries

I have created a free tutorial for actuaries to begin learning R. You can access the video at the link before. First of a 4 part series. Please share and let me know if you have feedback (I already know that I should have used white screen - that will be part of week 2). Material is available in the comment section. Thank you.

Only pre-requisite is that you have R and RStudio installed. Google can help with that Look for CRAN.

https://www.youtube.com/watch?v=vI-t9Imk5dc&t=1s


CURRICULUM:

R is for Actuaries
WEEK 1: DATA MANIPULATION WITH DPLYR
Calculate actual to expected mortality experience by various cohorts.
Learn common tasks such as: group by, sum, filter rows, select columns, calculate new variables, join tables

WEEK 2: DATA VISUALIZATION WITH GGPLOT2 AND PLOTLY
Visualize the summaries created in week 1.
Create visualizations for categorical data, numerical data, and combinations.
Use plotly to add tool tips and introduce interactivity.
Use aesthetics and faceting to effectively visualize numerous dimensions in a single chart.

WEEK 3: PROJECT DOCUMENTATION WITH R MARKDOWN
Without leaving R - create management ready document summarizing results of our work from weeks 1 and 2.
Can export document to HTML, PDF, Word, and more.
Ability to add code snippets and interactive visualizations.

WEEK 4: BUILDING A DASHBOARD WITH SHINY
Add interactivity to plots created in week 2.
Publish dashboard along with summary created in week 3.
Can potentially make it all accessible to management via a url - they don’t even need to know how to spell R.

Last edited by rando; 04-27-2020 at 02:07 PM..
Reply With Quote
  #2  
Old 04-27-2020, 01:23 PM
DjPim's Avatar
DjPim DjPim is offline
Member
SOA
 
Join Date: Nov 2015
Location: SoCal
Posts: 738
Default

Really like this idea. I've been trying to teach my department R when I can and transition work to R when possible, so I created some pdf's with some introductions and links to cheat sheets, but videos will be great.

For those without access to youtube at work, any chance these will be available for download? I'll watch them and if I think they'll help my team I'd love to be able to put them on a network drive so coworkers can watch at work
__________________
Quote:
Originally Posted by Dr T Non-Fan View Post
"Cali" SMH.
Reply With Quote
  #3  
Old 04-27-2020, 01:27 PM
rando rando is offline
SOA
 
Join Date: Apr 2020
Posts: 5
Default

Definitely. I can add the video recordings to the Box account if that would work.
Reply With Quote
  #4  
Old 05-01-2020, 07:40 PM
rando rando is offline
SOA
 
Join Date: Apr 2020
Posts: 5
Default

If you are bored this weekend - I just released week 2 of the Quarantine Coding Academy (QCA) series: "R is for Actuaries". In week 2 I discuss data visualization with ggplot2 and plotly. I welcome any feedback. Thank you.

https://www.youtube.com/watch?v=75a1...ature=emb_logo
Reply With Quote
  #5  
Old 05-07-2020, 09:08 AM
rando rando is offline
SOA
 
Join Date: Apr 2020
Posts: 5
Default

I just posted lesson 3 of 4 in the series: R is for Actuaries. This lesson covers creating an R Markdown document. It was challenging creating a Markdown document summarizing how to create a Markdown document. Definitely some things I can improve - and will improve - in version 2. Hope this is helpful to everyone. I will be adding the files to the comment section today. Thank you.

https://lnkd.in/gW9Zkfx
Reply With Quote
  #6  
Old 05-08-2020, 10:43 PM
rando rando is offline
SOA
 
Join Date: Apr 2020
Posts: 5
Default

I have moved all of the R is for Actuaries material to a single shinyapps dashboard. This dashboard has a lot going on:

* Home Page gives you the Markdown summary including several plotly graphs.
* Interactive Analysis - provides a subtab for univariate analysis and bivariate analysis on any combination of columns. Heatmaps show you A/E values by cohort along with total number of deaths (for credibility). All graphs are interactive via Shiny as well as tool tips via Plotly.
* Resources tab - gives links to all the tutorials and supporting documentation for this series. The ultimate deliverable is this dashboard (minus the resources tab). This brings together resources from Box, YouTube, and shinyapps.


https://tommy-steed.shinyapps.io/QCA_Home/
Reply With Quote
  #7  
Old 05-11-2020, 11:16 AM
BG5150's Avatar
BG5150 BG5150 is offline
Member
Non-Actuary
 
Join Date: Jan 2009
Favorite beer: the one you're buying me
Posts: 23,469
Default

A is for Apple.

J is for Jacks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -4. The time now is 06:35 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
*PLEASE NOTE: Posts are not checked for accuracy, and do not
represent the views of the Actuarial Outpost or its sponsors.
Page generated in 0.26323 seconds with 9 queries