Introduction to R for Finance
Learn essential data structures such as lists and data frames and apply that knowledge directly to financial examples.
Comece O Curso Gratuitamente4 horas14 vídeos61 exercícios78.479 aprendizesDeclaração de Realização
Crie sua conta gratuita
ou
Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.Treinar 2 ou mais pessoas?
Tentar DataCamp for BusinessAmado por alunos de milhares de empresas
Descrição do Curso
In this finance-oriented introduction to R, you will learn essential data structures such as lists and data frames and have the chance to apply that knowledge to real-world financial examples. By the end of the course, you will be comfortable with the basics of manipulating your data to perform financial analysis in R.
Treinar 2 ou mais pessoas?
Obtenha acesso à sua equipe à plataforma DataCamp completa, incluindo todos os recursos.Nas seguintes faixas
Fundamentos de finanças em R
Ir para a trilhaAnalista quantitativo in R
Ir para a trilha- 1
The Basics
GratuitoGet comfortable with the very basics of R and learn how to use it as a calculator. Also, create your first variables in R and explore some of the base data types such as numerics and characters.
Welcome to Introduction to R for Finance!50 xpYour first R script100 xpArithmetic in R (1)100 xpArithmetic in R (2)50 xpAssignment and variables (1)100 xpAssignment and variables (2)100 xpFinancial returns50 xpFinancial returns (1)100 xpFinancial returns (2)100 xpBasic data types50 xpData type exploration100 xpWhat's that data type?50 xp - 2
Vectors and Matrices
In this chapter, you will learn all about vectors and matrices using historical stock prices for companies like Apple and IBM. You will then be able to feel confident creating, naming, manipulating, and selecting from vectors and matrices.
What is a vector?50 xpc()ombine100 xpCoerce it50 xpVector names()100 xpVisualize your vector100 xpVector manipulation50 xpWeighted average (1)100 xpWeighted average (2)100 xpWeighted average (3)100 xpVector subsetting100 xpMatrix - a 2D vector50 xpCreate a matrix!100 xpMatrix <- bind vectors100 xpVisualize your matrix100 xpcor()relation100 xpMatrix subsetting100 xp - 3
Data Frames
Arguably the most important data structure in R, the data frame is what most of your data will take the form of. It combines the structure of a matrix with the flexibility of having different types of data in each column.
What is a data frame?50 xpCreate your first data.frame()100 xpWhat goes in a data frame?50 xpMaking head()s and tail()s of your data with some str()ucture100 xpNaming your columns / rows100 xpData frame manipulation50 xpAccessing and subsetting data frames (1)100 xpAccessing and subsetting data frames (2)100 xpAccessing and subsetting data frames (3)100 xpAdding new columns100 xpPresent value50 xpPresent value of projected cash flows (1)100 xpPresent value of projected cash flows (2)100 xp - 4
Factors
Questions with answers that fall into a limited number of categories can be classified as factors. In this chapter, you will use bond credit ratings to learn all about creating, ordering, and subsetting factors.
- 5
Lists
Wouldn't it be nice if there was a way to hold related vectors, matrices, or data frames together in R? In this final chapter, you will explore lists and many of their interesting features by building a small portfolio of stocks.
Treinar 2 ou mais pessoas?
Obtenha acesso à sua equipe à plataforma DataCamp completa, incluindo todos os recursos.Nas seguintes faixas
Fundamentos de finanças em R
Ir para a trilhaAnalista quantitativo in R
Ir para a trilhacolaboradores
Lore Dirick
Ver MaisDirector of Data Science Education at Flatiron School
O que os outros alunos têm a dizer?
Junte-se a mais de 15 milhões de alunos e comece Introduction to R for Finance hoje mesmo!
Crie sua conta gratuita
ou
Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.