July 2020

Travail collaboratif avec R

July 31, 2020 | R on Lino GALIANA

Le contenu du cours est disponible sur le site web https://gitlab.com/linogaliana/collaboratif. Le code source est disponible sur Cours pour découvrir la manière d’utiliser R dans un projet collaboratif. Pour cela, nous faisons d’abord déc... [Read more...]

Exploring Police Misconduct Data

July 30, 2020 | R on Sam Portnow's Blog

Introduction On July 26, 2020, Propublica released a dataset on police discipline records. I wanted to get a look at the data and do some exploratory analysis.
library(tidyverse)
## ── Attaching packages ──────────────────────────────────────────────────────────────────────── tidyverse 1.3.0 ──
## ✓ ggplot2 3.3.2     ✓ purrr   0.3.4
## ✓ tibble  3.0.3     ✓ dplyr   1.0.0
## ✓ tidyr   1.1.0     ✓ stringr 1.4.0
## ✓ readr   1.3.1     ✓ forcats 0.5.0
## Warning: package 'ggplot2' was built under R version 3.6.2
## Warning: package 'tibble' was built under R version 3.6.2
## Warning: package 'tidyr' was built under R version 3.6.2
## Warning: package 'purrr' was built under R version 3.6.2
## Warning: package 'dplyr' was built under R version 3.6.2
## ── Conflicts ─────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
## x dplyr::filter() masks stats::filter()
## x dplyr::lag()    masks stats::lag()
library(gt)
## Warning: package 'gt' was built under R version 3.6.2
library(here)
## here() starts at /Users/samportnow/sam-portnow-website
library(fs)
## Warning: package 'fs' was built under R version 3.6.2
library(skimr)
## Warning: package 'skimr' was built under R version 3.6.2
library(janitor)
## Warning: package 'janitor' was built under R version 3.6.2
## 
## Attaching package: 'janitor'
## The following objects are masked from 'package:stats':
## 
##     chisq.test, fisher.test
Read in Data
data = read_csv(here::here('content', 'post_data', 'allegations_20200726939.csv'))
{{...
[Read more...]

I like to MVO it!

July 30, 2020 | R on OSM

In our last post, we ran through a bunch of weighting scenarios using our returns simulation. This resulted in three million portfolios comprised in part, or total, of four assets: stocks, bonds, gold, and real estate. These simulations relaxed the allocation constraints to allow us to exclude assets, yielding a ...
[Read more...]

I like to MVO it!

July 30, 2020 | R on OSM

In our last post, we ran through a bunch of weighting scenarios using our returns simulation. This resulted in three million portfolios comprised in part, or total, of four assets: stocks, bonds, gold, and real estate. These simulations relaxed the allocation constraints to allow us to exclude assets, yielding a ...
[Read more...]

Handling R6 objects in C++

July 30, 2020 | Rcpp Gallery

Introduction When we are using R6 objects and want to introduce some C++ code in our project, we may also want to interact with these objects using Rcpp. With this objective in mind, the key to interacting with R6 objects is that they are essentially... [Read more...]

I like to MVO it!

July 30, 2020 | R on OSM

In our last post, we ran through a bunch of weighting scenarios using our returns simulation. This resulted in three million portfolios comprised in part, or total, of four assets: stocks, bonds, gold, and real estate. These simulations relaxed the allocation constraints to allow us to exclude assets, yielding a ...
[Read more...]

Spatial GLMM(s) using the INLA Approximation

July 30, 2020 | Corey S. Sparks, Ph.D.

The INLA Approach to Bayesian models The Integrated Nested Laplace Approximation, or INLA, approach is a recently developed, computationally simpler method for fitting Bayesian models [(Rue et al., 2009, compared to traditional Markov Chain Monte Carlo (MCMC) approaches. INLA fits models that are classified as latent Gaussian models, which are applicable ...
[Read more...]

rfm 0.2.2

July 30, 2020 | Rsquared Academy Blog - Explore Discover Learn

We’re excited to announce the release of rfm 0.2.2 on CRAN! rfm provides tools for customer segmentation using Recency Frequency Monetary value analysis. It includes a Shiny app for interactive segmentation. You can install rfm with:
install.packages("rfm")
In this blog post, we will summarize the changes implemented in the current (0.2.2) ...
[Read more...]

UComp released!

July 30, 2020 | DIEGO JOSE PEDREGAL TERCERO

It is my pleasure to tell you all that I have recently released UComp (at last!), a R package or MATLAB/Octave toolbox to run Unobserved Components models AUTOMATICALLY. That means that you do not have to assume any model because UComp suggests one to you based on information criteria (... [Read more...]

FNN-VAE for noisy time series forecasting

July 29, 2020 | Sigrid Keydana

") training_loop_vae(ds_train) test_batch % iter_next() encoded % round(5)) } ``` Experimental setup and data The idea was to add white noise to a deterministic series. This time, the Roessler system was chosen, mainly for the prettiness of its attractor, apparent even in its two-dimensional projections: (#fig:unnamed-chunk-1)Roessler attractor, ...
[Read more...]

Online R trainings

July 29, 2020 | eoda GmbH

You want to use the R programming language to transform data into strategic knowledge? You are looking for the optimal introduction to work with R? You would like to participate in a training that really helps you despite your home office and limited travel possibilities? Then register for our online ...
[Read more...]
1 2 3 14

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)