المشاركات

عرض المشاركات من فبراير, 2022

Working in CRAN’s World

Part of the deal of having a package up on CRAN is: at any time one may be sent an automated email like the following. Dear maintainer, Please see the problems shown on URL. Please correct before TODAY+14DAYS to safely retain your package on CRAN. The CRAN Team If ... Continue reading: Working in CRAN’s World http://dlvr.it/SKr2BK

Portable, Reproducible R Content — YakData SmartDesktop with RStudio Desktop

صورة
Post Views: 1 There are many benefits to using RStudio Desktop from the YakData SmartDesktop repository. Speed, portability, a complete reproducible R environment, built on the Rocker project and all under your control with Docker! 🕶️ Watch it now 🔥 Resources Ready to try it? Get it on GitHub at https://github.com/... Continue reading: Portable, Reproducible R Content — YakData SmartDesktop with RStudio Desktop http://dlvr.it/SKqLfr

Meta-Learning: Boosting and Bagging for Time Series Forecasting

صورة
I am always struggled to model the changes in gasoline prices as a categorical variable, especially in a small amount of time-series data. The answer to improving the performance of modeling such a dataset can be to combine more than one model. This method of combining and aggregating the predictions ... Continue reading: Meta-Learning: Boosting and Bagging for Time Series Forecasting http://dlvr.it/SKpslg

Hyperbolic gircope – using ‘cxhull’ and ‘gyro’

صورة
This post is a demonstration of the cxhull and gyro packages. I will use these packages (and others) to draw an hyperbolic version of the stereographic projection of a convex 4D polytope, the gircope or ... Continue reading: Hyperbolic gircope – using ‘cxhull’ and ‘gyro’ http://dlvr.it/SKpKyS

Experimenting with multi-level and hierarchical splines in PyMC

صورة
Table of Contents Introduction Setup One group Two groups: single set of weights Two groups: separate spline bases and per-group weights Two groups: single spline basis and per-group weights Two groups: per-group weights with hierarchical prior One group: multivariate-normal prior on weights Two group: multivariate normal prior on weights Session ... Continue reading: Experimenting with multi-level and hierarchical splines in PyMC http://dlvr.it/SKlpr0

Regime Switching State Space Model with R code

صورة
This post explains a Markov regime switching state space model. The bottom line is two-fold: 1) expanding states by each regime transitions and 2) collapsing each updated estimates for the next state prediction. The step 2) is necessary to fix t... Continue reading: Regime Switching State Space Model with R code http://dlvr.it/SKlRq0

Automatic website with the Geocomputation with R solutions

Geocomputation with R is a book on geographic data analysis, visualization, and modeling. Each chapter1 ends with a set of exercises allowing the readers to test how well they understand each presented concepts and approaches. However, exercises are often not enough without their solutions, which provides a way to compare ... Continue reading: Automatic website with the Geocomputation with R solutions http://dlvr.it/SKkJ7k

A Journey to gghdr

صورة
They may forget what you said, but they will never forget how you made them feel. Carl W. Buehner This was how being a newcomer to rOpenSci OzUnconf 2019 felt. It was incredible to be a part of such a diverse, welcoming and inclusive environment. I thought it would be fun ... Continue reading: A Journey to gghdr http://dlvr.it/SK2kXn

How to use R Markdown (part two): for learning R!

صورة
Welcome to part two of my blog series on R Markdown. In the first part, I went over how to create a basic R Markdown document and how to use R Markdown syntax. In this post, I’m going to talk about how you can use R Markdown to learn ... Continue reading: How to use R Markdown (part two): for learning R! http://dlvr.it/SK1h6w

Calculating the probability for both teams to score in R

I recently read an interesting paper that was published last year, by Igor Barbosada Costa, Leandro Balby Marinho and Carlos Eduardo Santos Pires: Forecasting football results and exploiting betting markets: The case of “both teams to score. In the paper … Continue reading → Continue reading: Calculating the probability for both teams to score in R http://dlvr.it/SJzhVv

PyMC3 MCMC performance with and without Theano’s NumPy BLAS warning

صورة
Introduction PyMC3 is a Python-based probabilistic programming language used to fit Bayesian models with a variety of cutting-edge algorithms including NUTS MCMC1 and ADVI2. It is not uncommon for PyMC3 users to receive the following warning: WARNING ... Continue reading: PyMC3 MCMC performance with and without Theano’s NumPy BLAS warning http://dlvr.it/SJysMb

Rafa 21 Grand Slams and gganimate

صورة
I’ve been a Nadal fan for a long time – right back to the days of the pirate-pants so yeah, really a long time. In all this time, Rafa has never been ahead in the grand slam race vs his biggest rivals… but that finally changed after the 2022 Austra... Continue reading: Rafa 21 Grand Slams and gganimate http://dlvr.it/SJwSC8

Best Courses For Data Visualization Online

The post Best Courses For Data Visualization Online appeared first on finnstats. If you want to read the original article, click here Best Courses For Data Visualization Online. Best Courses For Data Visualization, Data visualization is fast becoming an important must-learn talent in this age and time of Technology and ... Continue reading: Best Courses For Data Visualization Online http://dlvr.it/SJw9pb

Data Analytics Courses for Beginners-Certifications

The post Data Analytics Courses for Beginners-Certifications appeared first on finnstats. If you want to read the original article, click here Data Analytics Courses for Beginners-Certifications. Data analytics courses for beginners, there has never been a better moment to broaden your data analytics knowledge. Experts are increasingly concerned about the ... Continue reading: Data Analytics Courses for Beginners-Certifications http://dlvr.it/SJvVb2

New version of nnetsauce — various quasi-randomized networks

صورة
New version of nnetsauce, a package implementing various quasi-randomized networks Continue reading: New version of nnetsauce — various quasi-randomized networks http://dlvr.it/SJtNqF

ICESat-2 Altimeter Data using R

صورة
This blog post (which is a slight modification of both package Vignettes) explains the functionality of the IceSat2R R package and shows how to use the OpenAltimetry API from within R. It consists of three parts, OpenAltimetry IceSat-2 ... Continue reading: ICESat-2 Altimeter Data using R http://dlvr.it/SJsbyk

Best SQL Courses Online-Free Course List

The post Best SQL Courses Online-Free Course List appeared first on finnstats. If you want to read the original article, click here Best SQL Courses Online-Free Course List. Best SQL Courses Online, Are you looking for the best free SQL courses available on the internet? If you answered yes, this ... Continue reading: Best SQL Courses Online-Free Course List http://dlvr.it/SJqkmX

Nice DT filters

صورة
I am not a big fan of the built-in filters of DT. I prefer the ones below, made with the help of the JavaScript library select2. First, download the files sele... Continue reading: Nice DT filters http://dlvr.it/SJpxNR

Notion of non-dominated solutions

صورة
Cover photo by Mehdi Sepehri on Unsplash Go to R-bloggers for R news and tutorials contributed by hundreds of R bloggers. Introduction This article is part of the series (Swarm) Portfolio Optimization. I assume you have read the Nonparametric VaR artic... Continue reading: Notion of non-dominated solutions http://dlvr.it/SJmfc0

Recent Advancements in Applied Instrumental Variable Methods

صورة
Recent Advancements in Applied Instrumental Variable Methods Instrumental variables (IV) is one of most important and widespread research designs in economics and statistics, as it can identify causal effects in the presence of unobserved confounding.... Continue reading: Recent Advancements in Applied Instrumental Variable Methods http://dlvr.it/SJcb2K

Simulating survival outcomes: setting the parameters for the desired distribution

صورة
The package simstudy has some functions that facilitate generating survival data using an underlying Weibull distribution. Originally, I added this to the package because I thought it would be interesting to try to do, and I figured it would be use... Continue reading: Simulating survival outcomes: setting the parameters for the desired distribution http://dlvr.it/SJZZqs

Accessing Snowflake with R

صورة
Snowflake is a well known cloud-based database. It’s used for Data Warehouses and other big data applications. In this article and the following ones I want to show how to setup and access a snowflake database from various clients such as R, Tableau and PowerBI. So let’s start ... Continue reading: Accessing Snowflake with R http://dlvr.it/SJZ0dR

SEM Stochastic Simulation and Optimal Control

صورة
Andrea Luciani is a Technical Advisor for the Directorate General for Economics, Statistics and Research at the Bank of Italy, and co-author of the bimets package. Introduction In this post, I show how to analyze the forecast error for a Structural Equation Model (SEM) by means of a stochastic simulation, ... Continue reading: SEM Stochastic Simulation and Optimal Control http://dlvr.it/SJYfZf

The Causal Representation of Panel Data: A Comment On Xu (2022)

صورة
NB: An earlier version of this post critiqued Victor Chernozhukov’s approach to directed a-cyclic graphs and fixed effects, but made some critical errors in interpreting his approach. These errors were entirely mine, and I apologize to Victor for d... Continue reading: The Causal Representation of Panel Data: A Comment On Xu (2022) http://dlvr.it/SJXjHG

Risk Assessment Shiny App – Update from R Validation Hub

Recent update by Marly Cormar on the Risk Assessment Shiny App. Marly is an executive committee member of the R Validation Hub where she advocates for the use of R... The post Risk Assessment Shiny App – Update from R Validation Hub appeared first on R Consortium. Continue reading: Risk Assessment Shiny App – Update from R Validation Hub http://dlvr.it/SJWfR7

Simulating shared segments between relatives

A few months ago I saw this nice figure from Amy Williams of the number of DNA segments that are expected to be shared between relatives. I thought it would be fun to simulate segment sharing with AlphaSimR. Because DNA comes in chromosomes that don’t break up and recombine ... Continue reading: Simulating shared segments between relatives http://dlvr.it/SJVP8H

Carter-Kohn algorithm for State Space Models in R : Univariate Case

صورة
This post implements a R code for Carter-Kohn algorithm in a simple univariate state space model. For clear understanding of this backward sampling algorithm, only Gibbs sampling for state estimates is considered with other parameters being fixe... Continue reading: Carter-Kohn algorithm for State Space Models in R : Univariate Case http://dlvr.it/SJV4PC

Nonparametric Value-at-Risk (VaR)

صورة
Cover photo by Chris Liverani on Unsplash Go to R-bloggers for R news and tutorials contributed by hundreds of R bloggers. Introduction This is the first of a series of articles explaining how to apply multi-objective particle swarm optimization* (MOPS... Continue reading: Nonparametric Value-at-Risk (VaR) http://dlvr.it/SJTlcK

11 New Books added to Big Book of R

صورة
06 February 2022 Welcome to a very special edition of Big Book of R updates. For the past week, my kid has been asking to help me out with Big Book of R and created this amazing featured image. It’s an outer-space theme complete with a space-monkey (holding a banana) … The ... Continue reading: 11 New Books added to Big Book of R http://dlvr.it/SJTQ0k

Comparing the Bradley Terry model to betting odds

صورة
In this previous post, I described the Bradley-Terry model and showed how we could use it to predict game outcomes in the NBA 2018-19 regular season. After ffitting the Bradley-Terry model on the first half of the regular season (with … Continue reading → Continue reading: Comparing the Bradley Terry model to betting odds http://dlvr.it/SJSPj9

Decision tree regression and Classification

The post Decision tree regression and Classification appeared first on finnstats. If you want to read the original article, click here Decision tree regression and Classification. Decision tree regression and Classification, Multiple linear regression can yield reliable predictive models when the connection between a group of predictor variables and a ... Continue reading: Decision tree regression and Classification http://dlvr.it/SJRWCS

Gyrotriangle (aka hyperbolic triangle) with moving colors

صورة
My package gyro has been freshly released on CRAN. I implemented the ideas given in this blog post in this package. It has a short vignette. The gyrodemos function provides s... Continue reading: Gyrotriangle (aka hyperbolic triangle) with moving colors http://dlvr.it/SJR8P7

Walmart’s (WMT) 7-Year Nonlinear Market Trend at ‘Critical Juncture’

صورة
This is a brief market update from my earlier post on October 28, 2021, Walmart’s 7-Year Nonlinear Market Trend using ‘Stealth Curves.’ The prior post indicated the then current nonlinear market structure for Walmart (WMT) stock. October 28, 2021 Market View Fast forward to today … This market is now resting on its multi-year ... Continue reading: Walmart’s (WMT) 7-Year Nonlinear Market Trend at ‘Critical Juncture’ http://dlvr.it/SJNqDY

Build and Share Jupyter Notebooks on RStudio Team

Photo by Justin W on Unsplash Jupyter Notebooks are interactive documents for code, outputs, and text. However, they’re often stuck in data scientists’ local computing environments. Collaborating can be difficult and sharing can be tedious. To live up ... Continue reading: Build and Share Jupyter Notebooks on RStudio Team http://dlvr.it/SJM2w2

EMLAR 2022 tutorial on Bayesian methods

 At EMLAR 2022 I will teach two sessions that will introduce Bayesian methods. Here is the abstract for the two sessions:EMLAR 2022: An introduction to Bayesian data analysisTaught by Shravan Vasishth (vasishth.github.io)Session 1. 19 April 2022 (... Continue reading: EMLAR 2022 tutorial on Bayesian methods http://dlvr.it/SJLmD4

Some simple RStudio addins

صورة
In this blog post I introduce three small RStudio addins I did. ‘bracketify’ I prefer subsetting with the double brackets than with the dollar in R, because this is more readable in RS... Continue reading: Some simple RStudio addins http://dlvr.it/SJLPdg

Random forest machine learning Introduction

صورة
The post Random forest machine learning Introduction appeared first on finnstats. If you want to read the original article, click here Random forest machine learning Introduction. Random forest machine learning, we frequently utilize non-linear approaches to represent the relationship between a collection of predictor factors and a response variable when ... Continue reading: Random forest machine learning Introduction http://dlvr.it/SJKxd3

Google Summer of Code and mlr3

Our Org is currently thinking about participating in GSOC 2022 again. We are considering which projects to propose and would also like to collect input. This year’s Google Summer of Code is not only directed at students but at a broader audience of... Continue reading: Google Summer of Code and mlr3 http://dlvr.it/SJJsXX

Degree-minute-second to decimal coordinates

The ‘dms2dec’ function, posted here a while ago to convert longitude-latitude coordinates from degree-minute-second to decimal format, has recently been updated to accomodate more cases that I and my course participants run into. The function is pasted below and is … Continue reading → Continue reading: Degree-minute-second to decimal coordinates http://dlvr.it/SJHZHX

RStudio Community Monthly Events Roundup – February 2022

Photo by Nick Morrison on Unsplash Welcome to RStudio Community Monthly Events Roundup, where we update you on upcoming events happening at RStudio this month. Missed the great talks and presentations from last month? Find them listed under ICYMI: 20... Continue reading: RStudio Community Monthly Events Roundup – February 2022 http://dlvr.it/SJHHbs

Wordle Algos, Fight!

Designing The Problem As of January 2022 it’s all Wordle, all the time in certain corners of the internet. If you are unfamiliar with the game a quick Google search will fill you in so I won’t waste space here. As I mentioned in an earlier post I like ... Continue reading: Wordle Algos, Fight! http://dlvr.it/SJDvbL

Introduction to missing data (NAs) in R

صورة
As many of us know, science is not a perfect process. Maybe you can’t get out in the field on a certain day. Maybe you can only sample a portion of what needs to get done. Or maybe you’re downloading public data sets and they aren’t l... Continue reading: Introduction to missing data (NAs) in R http://dlvr.it/SJD8nr

What’s New on RStudio Cloud – February 2022

Whether you want to do, share, teach, or learn data science, RStudio Cloud is a cloud-based solution that allows you to do so online. The RStudio Cloud team has rolled out new features and improvements since our last post in September 2021. So what’s n... Continue reading: What’s New on RStudio Cloud – February 2022 http://dlvr.it/SJCvHj

pkgcheck now available as a GitHub action!

صورة
What is pkgcheck? The pkgcheck package has been developed by rOpenSci to automate the process of checking all packages on submission. The ropensci-review-bot automatically runs pkgcheck on all submissions, and checks can also be called at any time by... Continue reading: pkgcheck now available as a GitHub action! http://dlvr.it/SJC8k6