DEEP CREDIT RISK
  • WELCOME
    • CONTENTS
    • START Python
    • START R
    • FEATURED
  • DATA & CODE
  • TRAINING
    • ONLINE
    • ZOOM MASTERCLASS
    • IN HOUSE
    • UNI
  • PAPERS
  • CONTACT
  • 中文

START your PYTHON Engine

Please watch this video:

In this video, we show you:
  1. How to install R
  2. How to get data and code
  3. How to use R for Deep Credit Risk

1. How to install R and R Studio:

  • Install R on your machine:
    • Open an internet browser and go to www.r-project.org
    • Click the "download R" link
    • Select the link that matches your geographic location
    • Select the link that matches your operating system
    • Click on the link "install R for the first time"
    • Click "Download R" and save the .exe file on your computer
    • Run the .exe file and follow the installation instructions
  • Install R Studio:
    • Open an internet browser and go to www.rstudio.com
    • Click on the link "Download"
    • Click on "Download RStudio Desktop"
    • Select the version recommended for your system and save .exe file
    • Run the .exe file and follow the installation instructions
  • An (less popular) alternative IDE is Jupyter Notebook, which also enables Python and SAS. To install:
    • Download the Anaconda for R 3.x from: www.anaconda.com
    • Select your operating system
    • Choose either the 32bit or 64bit option
    • Go through the installation prompts. Click on "Add Anaconda to my PATH environment variable. [...]"
    • After the installation, search for Anaconda Navigator in the Start menu. Here you will find the RStudio application for installation
    • Open in Anaconda Prompt and install R by changing the path to the R_execution_path and type "R.exe". For example: "cd 'C:\Program FilesR\R-4.1.0\bin\x64\R.exe"
    • Now run "install.packages("IRkernel")", then "IRkernel::installspec()", then "q()"
    • Open Jupyter Notebook, make sure the kernel is set to R (default may be Python) and you are ready to start
Get R
Get R Studio
Get Jupyter Notebook

2. How to get data and code:

  • Download pressing the button below;
  • Consider saving data and code in the same folder;
  • Extract file dcr.py.
Get Data & Code

3. How to use R for Deep Credit Risk:

  • Open R Studio
  • Create R file and save in the same location as data and code
  • For a quick and efficient intro, watch the Basic R video and work on Chapters 2: Python Literacy and 9: Default Modeling.

Continue
Copyright © 2023  |  Privacy Policy | Terms & Conditions
  • WELCOME
    • CONTENTS
    • START Python
    • START R
    • FEATURED
  • DATA & CODE
  • TRAINING
    • ONLINE
    • ZOOM MASTERCLASS
    • IN HOUSE
    • UNI
  • PAPERS
  • CONTACT
  • 中文