Visualizing Protests for Racial Justice with ggplot and gganimate

July 10, 2020 | 0 Comments

On May 25, 2020, George Floyd, an African American man, was killed by a White police officer in Minneapolis, Minnesota. His murder came shortly after the homicide of two other African Americans: Ahmaud Arbery, on February 23, 2020, and Breonna Taylor, on March 13, 2020. These horrible crimes sparked a movement and a wave of protest, ...
[Read more...]

3D route visualisation – Kilimanjaro

July 10, 2020 | 0 Comments

I will present here the code for creation of an interactive 3D visualisation of geospatial data, using rgl library, that allows export of the results into html. The dataset to visualize, is a 7 day track to Kilimajaro mountain (5895) in Tanzania.  Dataset contains latitude, longitude and elevation at sequence of timestamps. ...
[Read more...]

R code for removing Bias in Covid-19 data Using Econometric Tools

July 10, 2020 | 0 Comments

by H D Vinod and K Theiss A version of our detailed paper with all the theory is submitted to a journal called Econometrica. It is entitled “A Novel Solution to Biased Data in Covid-19 Incidence Studies” and is available at vinod/virus1.pdf and also at ssrn.com/abstract=3637682 ... [Read more...]

A Look at PAN-OS Versions with a Bit of R

July 10, 2020 | 0 Comments

The incredibly talented folks over at Bishop Fox were quite generous this week, providing a scanner for figuring out PAN-OS GlobalProtect versions. I’ve been using their decoding technique and date-based fingerprint table to keep an eye on patch status (over at $DAYJOB we help customers, organizations, and national cybersecurity ... [Read more...]

Basic data analysis with palmerpenguins

July 10, 2020 | 0 Comments

Introduction In June 17, nice article for introducing new trial dataset were uploaded via R-bloggers. iris, one of commonly used dataset for simple data analysis. but there is a little issue for using it.  Too good. Every data has well-structured and most of analysis method works with iris very well. In ...
[Read more...]

Automatically Build Data Tables from US Census Survey!

July 9, 2020 | 0 Comments

Brief Background on US Census Surveys Preparation Getting your API Key Setting up the Key Calling Census API to Get Tract Household Income Limitations of this Code Overcoming the Limitations Making the state name input flexible Adding fall back capability in the year input Adding a column for data and ... [Read more...]

Testing expectations

July 9, 2020 | 0 Comments

In our last post, we analyzed the performance of our portfolio, built using the historical average method to set return expectations. We calculated return and risk contributions and examined changes in allocation weights due to asset performance. We briefly considered whether such changes warranted rebalancing and what impact rebalancing might ...
[Read more...]

deterministic moves in Metropolis-Hastings

July 9, 2020 | 0 Comments

A curio on X validated where an hybrid Metropolis-Hastings scheme involves a deterministic transform, once in a while. The idea is to flip the sample from one mode, ν, towards the other mode, μ, with a symmetry of the kind μ-α(x+μ) and ν-α(x+ν) with α a positive coefficient. Or the reciprocal, ...
[Read more...]

Universal inference in R

July 8, 2020 | 0 Comments

Universal inference in R When we perform a statistical test we’d like to have confidence what the Type I error rate is what we say it is (rate of false positive findings). Often scientists choose a rate (AKA ‘alpha’) of 0.05 for rejecting the nu... [Read more...]

Pointers/shortcuts in R with the ‘pointr’ package

July 8, 2020 | 0 Comments

Overview R's built-in copy-on-modify behavior prevents the user from having two symbols always pointing to the same object. Because pointers, as they are common in other programming languages, are essentially symbols (variable) related to an object that has already another symbol attached to it, it is clear that pointers do ... [Read more...]

Writing Functions to Automate Repetitive Plotting Tasks in ggplot2

July 7, 2020 | 0 Comments

Introduction Making Multiple Plots on the Same Subject Preparing the Data Writing Functions to Generate Multiple Plots Making Custom Plot Themes Updating Plot Themes Introduction There are often situations when you need to perform repetitive plotting tasks. For example, you’d like to plot the same kind of data (e....
[Read more...]

R Package Integration with Modern Reusable C++ Code Using Rcpp

July 7, 2020 | 0 Comments

Daniel Hanson is a full-time lecturer in the Computational Finance & Risk Management program within the Department of Applied Mathematics at the University of Washington. His appointment followed over 25 years of experience in private sector quantitative development in finance and data science. One of the most time-consuming, tedious, and thankless tasks ...
[Read more...]

How I Taught Scientific Blogging with R Markdown, Online

July 7, 2020 | 0 Comments

Last week I had the pleasure to lead an online course about “Scientific Blogging with R Markdown”, invited by Najko Jahn and Anne Hobert from SUB Göttingen. To follow the example set by the incredible Alison Hill, I’ll write a summary of what I’ve learnt and would ... [Read more...]
1 2 3 1,663