May 2020

another Bernoulli factory

May 17, 2020 | xi'an

A question that came out on X validated is asking for help in figuring out the UMVUE (uniformly minimal variance unbiased estimator) of (1-θ)½ when observing iid Bernoulli B(θ). As it happens, there is no unbiased estimator of this quantity and hence not UMVUE. But there exists a Bernoulli factory ...
[Read more...]

RcppArmadillo 0.9.880.1.0

May 17, 2020 | Thinking inside the box

Armadillo is a powerful and expressive C++ template library for linear algebra aiming towards a good balance between speed and ease of use with a syntax deliberately close to a Matlab. RcppArmadillo integrates this library with the R environment and... [Read more...]

Using R: setting a colour scheme in ggplot2

May 17, 2020 | mrtnj

Note to self: How to quickly set a colour scheme in ggplot2. Imagine we have a series of plots that all need a uniform colour scale. The same category needs to have the same colour in all graphics, made possibly with different packages and by different people. Instead of hard-coding ...
[Read more...]

Simple Guide To Ridge Regression In R

May 16, 2020 | datasciencebeginners

In this section, we will learn how to execute Ridge Regression in R. We use ridge regression to tackle the multicollinearity problem. Due to multicollinearity, the model estimates (least square) see a large variance. Ridge regression is a method by which we add a degree of bias to the regression ...
[Read more...]

Quick Tutorial On LASSO Regression With Example

May 16, 2020 | datasciencebeginners

LASSO regression stands for Least Absolute Shrinkage and Selection Operator. The algorithm is another variation of linear regression, just like ridge regression. We use lasso regression when we have a large number of predictor variables. Overview – Lasso Regression Lasso regression is a parsimonious model that performs L1 regularization. The L1 ...
[Read more...]

easyalluvial 0.2.3 released

May 16, 2020 | R on datistics

easyalluvial allows you to build exploratory and interactive alluvial plots (sankey diagrams) with a single line of code while automatically binning numerical variables. This release 0.2.3 ensures dplyr 1.0.0 compatibilitiy and now builds a slick pkgdown documentation website and makes better use of Travis CI using multiple builds to test compatibility with ...
[Read more...]

Data Acquisition in R

May 16, 2020 | R Tutorials

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 ...
[Read more...]

Data Acquisition in R

May 16, 2020 | R Tutorials

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 ...
[Read more...]
1 6 7 8 9 10 17

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)