May 2021

Showing a difference in mean between two groups, take 2

May 9, 2021 | mrtnj

A couple of years ago, I wrote about the paradoxical difficulty of visualising a difference in means between two groups, while showing both the data and some uncertainty interval. I still feel like many ills in science come from our inability to interpret as simple comparison of means. Anything with ...
[Read more...]

Bayesian Linear Regression with Gibbs Sampling using R code

May 8, 2021 | sang-heon lee

Sang-Heon Lee This article explains how to estimate parameters of the linear regression model using the Bayesian inference. Our focus centers on user-friendly intuitive understanding of Bayesian estimation. From some radical point of view, we regard the Bayesian model as the average of multiple models generated with slightly different parameter ...
[Read more...]

Black Lognormal model for Swaption with R code

May 8, 2021 | sang-heon lee

Sang-Heon Lee This article derives the swaption pricing formula using Black model, which is a lognormal model. We present the detailed calculation example using R code. This work is a prerequisite for the calibratiion of Hull-White or LGM (Linear Gaussian Markov) model. The calibration of parameters of no-aritrage term structure ...
[Read more...]

Getting started in #rtistry

May 8, 2021 | %>% dreams

Artists in the R community have been using the #rtistry hashtag to demonstrate their gorgeous, dynamic art using only the R programming language. Their creations are amazing and they inspired me to try out generative art this dreary Sunday. I ...
[Read more...]

IAIS DNS Shock Generating Algorithm with R code

May 8, 2021 | sang-heon lee

Sang-Heon Lee This article explains how to calculate DNS shock scenarios based on IAIS (2019). We implement DNS shock generating algorithm using R code with some modification. IAIS DNS Shock Generating Algorithm Risk-based Global Insurance Capital Standard is for the regulatory capital requirements against the unexpected loss of insurance companies. Especially ...
[Read more...]

Dynamic Nelson-Siegel model with R code

May 8, 2021 | sang-heon lee

Sang-Heon Lee This article explains how to estimate parameters of the dynamic Nelson-Siegel (DNS) model (Diebold and Li;2006, Diebold, Rudebusch, and Aruoba;2006) using Kalman filter. We estimate not only parameters but also filtered latent factor estimates such as level, slope, and curvature using R code. Dynamic Nelson-Siegel model 1. DNS modelThe ...
[Read more...]

Arbitrage-free Nelson Siegel model with R code

May 8, 2021 | sang-heon lee

Sang-Heon Lee This article explains how to estimate parameters of the Arbitrage-Free dynamic Nelson-Siegel (AFNS) model (Christensen, Diebold, and Rudebusch; 2009, Christensen, Diebold, and Rudebusch; 2011) using Kalman filter. We estimate not only parameters but also filtered latent factor estimates such as level, slope, and curvature using R code. 1. AFNS modelAFNS model ...
[Read more...]

Getting started in #rtistry

May 8, 2021 | %>% dreams

Getting started in #rtistry Artists in the R community have been using the #rtistry hashtag to demonstrate their gorgeous, dynamic art using only the R programming language. Their creations are amazing and they inspired me to try out generative art ...
[Read more...]

Power analysis in Statistics with R

May 7, 2021 | finnstats

Power analysis in Statistics, there is a probability of committing an error in making a decision about a hypothesis. Hence two types of errors... The post Power analysis in Statistics with R appeared first on finnstats. [Read more...]

One-way ANOVA by hand

May 7, 2021 | A Hugo website

One-way ANOVA is a test used to assess whether there is a statistically significant difference between the mean of groups. There is 1 response numeric variable and 1 explanatory categorical variable with more than 1 level. ANOVA considers the probabili...
[Read more...]

Dockerizing Shiny Applications

May 7, 2021 | Peter Solymos

Docker provides isolation to applications. Images are immutable. Running multiple instances of the same image can serve many users at the same time. All these general advantages of containerized applications apply to Shiny apps too.
[Read more...]

Principal component analysis (PCA) in R

May 7, 2021 | finnstats

PCA is used in exploratory data analysis and for making decisions in predictive models. PCA commonly used for dimensionality reduction by using each data... The post Principal component analysis (PCA) in R appeared first on finnstats.
[Read more...]

EdOptimize – An Open Source K-12 Learning Analytics Platform

May 7, 2021 | Tirth Shah

Important Links Open-source code of our platform –  https://github.com/PlaypowerLabs/EdOptimize Live Platform Analytics Dashboard – https://playpowerlabs.shinyapps.io/edopt_platform_analytics/ Live Curriculum Analytics Dashboard – https://playpowerlabs.shinyapps.io/edopt_curriculum_analytics/ Live Implementation Analytics Dashboard – https://playpowerlabs.shinyapps.io/edopt_implementation_analytics/ Introduction Data from EdTech platforms ...
[Read more...]

Booleans & NAs

May 6, 2021 | R on Data & The World

Missing values are inevitable in data science, and handling them is a constant issue. In the case of Boolean logic, it can behave fairly differently depending on the order of arguments and exactly how it is set up, unlike a lot of other data types. Whether this is useful or ... [Read more...]
1 6 7 8 9 10

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)