# Articles by R Tutorials

### R Interface to COVID-19 Data Hub

June 5, 2020 |

Built with R, available in any language, COVID-19 Data Hub provides a worldwide, fine-grained, unified dataset helpful for a better understanding of COVID-19. The user can instantly download up-to-date, structured, historical daily data across several official sources. The data are hourly crunched and made available in csv format on a ...

### How to Build COVID-19 Data-Driven Shiny Apps in 5mins

May 23, 2020 |

Many databases exist in connection with COVID-19, but no virtual platform currently integrates a significant proportion of these sources. It then becomes difficult to make a global analysis, and to make connections between this often-medical information and external factors, notably socio-political. With this in mind, COVID-19 Data Hub aims to ... [Read more...]

### Basic Linear Regressions for Finance

May 21, 2020 |

Linear Regression In statistics, linear regression is a linear approach to modeling the relationship between a scalar response (or dependent variable) and one or more explanatory variables (or independent variables). The relationships are modeled using linear basis functions, essentially replacing each input with a function of the input. This is ...

### Basic Linear Regressions for Finance

May 21, 2020 |

Linear Regression In statistics, linear regression is a linear approach to modeling the relationship between a scalar response (or dependent variable) and one or more explanatory variables (or independent variables). The relationships are modeled using linear basis functions, essentially replacing each input with a function of the input. This is ...

### Basic Statistical Concepts for Finance

May 21, 2020 |

Returns VS Log-Returns Load the quantmod package to retrieve financial data (see tutorial on Data Acquisition in R). # load the "quantmod" package require('quantmod') Get Apple stock quotes (daily). # get quotes AAPL

### Basic statistical concepts for Finance

May 21, 2020 |

Returns VS Log-Returns Load the quantmod package to retrieve financial data (see tutorial on Data Acquisition in R). # load the "quantmod" package require('quantmod') Get Apple stock quotes (daily). # get quotes AAPL

### Data Acquisition in R

May 16, 2020 |

Files A comma-separated values (CSV) file is a delimited text file that generally uses a comma to separate values. A CSV file stores tabular data (numbers and text) in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by ...

### Data Acquisition in R

May 16, 2020 |

Files A comma-separated values (CSV) file is a delimited text file that generally uses a comma to separate values. A CSV file stores tabular data (numbers and text) in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by ...

### Performance Optimization in R: Parallel Computing and Rcpp

May 15, 2020 |

The ‘parallel’ package Reference: https://bookdown.org/rdpeng/rprogdatascience/parallel-computation.html Many computations in R can be made faster by the use of parallel computation. Generally, parallel computation is the simultaneous execution of different pieces of a larger computation across multiple computing processors or cores. The parallel package can be ... [Read more...]

### Performance Optimization in R: Parallel Computing and Rcpp

May 15, 2020 |

The ‘parallel’ package Reference: https://bookdown.org/rdpeng/rprogdatascience/parallel-computation.html Many computations in R can be made faster by the use of parallel computation. Generally, parallel computation is the simultaneous execution of different pieces of a larger computation across multiple computing processors or cores. The parallel package can be ... [Read more...]

### Introduction to Time Series in R

May 15, 2020 |

Time Index A time series is a series of data points indexed in time order. In R, all data types for which an order is defined can be used to index a time series. If the operator [Read more...]

### Introduction to Time Series in R

May 15, 2020 |

Time Index A time series is a series of data points indexed in time order. In R, all data types for which an order is defined can be used to index a time series. If the operator [Read more...]

### Introduction to R

May 15, 2020 |

Quickstart Installation Download and install R at this link Download and install Rstudio (free version) at this link Comments All text after the sign # within the same line is considered a comment. # this is a comment this is NOT a comment Variables Values can be assigned to variables with the ... [Read more...]

### Introduction to R

May 15, 2020 |

Quickstart Installation Download and install R at this link Download and install Rstudio (free version) at this link Comments All text after the sign # within the same line is considered a comment. # this is a comment this is NOT a comment Variables Values can be assigned to variables with the ... [Read more...]

### Overview of the yuima and yuimaGUI R packages

May 14, 2020 |

The YUIMA Project is an open source academic project aimed at developing a complete environment for estimation and simulation of Stochastic Differential Equations and other Stochastic Processes via the R package called yuima and its Graphical User Interface yuimaGUI. Quickstart # install the package install.packages('yuima') # load the package require(...

### Overview of the yuima and yuimaGUI R packages

May 14, 2020 |

The YUIMA Project is an open source academic project aimed at developing a complete environment for estimation and simulation of Stochastic Differential Equations and other Stochastic Processes via the R package called yuima and its Graphical User Interface yuimaGUI. Quickstart # install the package install.packages('yuima') # load the package require(...

### Paper Replication Petersen 2009

April 14, 2020 |

Quickstart The goal of this exercise is to replicate some of the results in Petersen (2009) using the R programming language. # load required packages library(lfe) Estimating Standard Errors with a Firm Effect OLS and Rogers Standard Errors In Petersen (2009), the author simulated a panel data set and then estimated the ... [Read more...]

### Paper Replication Petersen 2009

April 14, 2020 |

Quickstart The goal of this exercise is to replicate some of the results in Petersen (2009) using the R programming language. # load required packages library(lfe) Estimating Standard Errors with a Firm Effect OLS and Rogers Standard Errors In Petersen (2009), the author simulated a panel data set and then estimated the ... [Read more...]