Quantcast
Channel: Bogumił Kamiński – R-bloggers
Browsing all 49 articles
Browse latest View live

Hexadecimal literals in GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I have used hexadecimal numbers in GNU R. The way they are parsed surprised me and is inconsistent with...

View Article


Image may be NSFW.
Clik here to view.

GNU R loop speed comparison

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I had several discussions about using for loops in GNU R and how they compare to *apply family in terms...

View Article


Image may be NSFW.
Clik here to view.

Simple Bayesian bootstrap

(This article was first published on R snippets, and kindly contributed to R-bloggers) Bootstrapping is a very popular statistical technique. However, its Bayesian analogue proposed by Rubin (1981) is...

View Article

Image may be NSFW.
Clik here to view.

Estimating continuous piecewise linear regression

(This article was first published on R snippets, and kindly contributed to R-bloggers) When talking about smoothing splines a simple point to start with is a continuous piecewise linear regression...

View Article

Missing tikzDevice

(This article was first published on R snippets, and kindly contributed to R-bloggers) I love using tikzDevice. When preparing LaTeX documents I switched to prepare all graphs in GNU R and then port...

View Article


Model fitting exam problem

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I have run an exam where the following question had risen many problems for students (here I give its...

View Article

Image may be NSFW.
Clik here to view.

Regression regularization example

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I needed a simple example showing when application of regularization in regression is worthwhile. Here...

View Article

Testing function agruments in GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I have read a nice post on ensuring that proper arguments are passed to a function using GNU R class...

View Article


Wrapper functions in GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I have been working with GNU R optimization routines a lot. Function optim has a nice trace option that...

View Article


Image may be NSFW.
Clik here to view.

Solving 9-puzzle with GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) During holiday break I have decided to solve 9-puzzle, which is 3x3 variant of a well known 15-puzzle. The...

View Article

Image may be NSFW.
Clik here to view.

Genetic drift simulation

(This article was first published on R snippets, and kindly contributed to R-bloggers) While preparing for the new teaching semester I have created an implementation of NetLogo GenDrift P local in GNU...

View Article

Image may be NSFW.
Clik here to view.

Visualizing optimization process

(This article was first published on R snippets, and kindly contributed to R-bloggers) One of the approaches to graph drawing is application of so called force-directed algorithms. In its simplest...

View Article

Image may be NSFW.
Clik here to view.

Cont model back after a year

(This article was first published on R snippets, and kindly contributed to R-bloggers) During ESSA2013 conference I had a discussion about Cont model I have commented a year ago.In original paper Cont...

View Article


Image may be NSFW.
Clik here to view.

Cont model – Part II

(This article was first published on R snippets, and kindly contributed to R-bloggers) In my last post I have investigated properties of Cont model (you can download the paper here). Today I would...

View Article

Image may be NSFW.
Clik here to view.

Calibration of p-value under variable selection: an example

(This article was first published on R snippets, and kindly contributed to R-bloggers) Very often people report p-values for linear regression estimates after performing variable selection step. Here...

View Article


Image may be NSFW.
Clik here to view.

Simulatin speed: GNU R vs Julia

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently there is a lot of noise about Julia. I have decided to test its speed in simulation tasks on my toy Cont...

View Article

Speeding up model bootstrapping in GNU R

(This article was first published on R snippets, and kindly contributed to R-bloggers) After my last post I have recurringly received two questions: (a) is it worthwhile to analyze GNU R speed in...

View Article


GNU R vs Julia: is it only a matter of devectorization?

(This article was first published on R snippets, and kindly contributed to R-bloggers) Recently I have read a post on benefits of code devectorization in Julia. The examples given there inspired me to...

View Article

Tuning optim with parscale

(This article was first published on R snippets, and kindly contributed to R-bloggers) I often get questions what is the use of parscale parameter in optim procedure in GNU R. Therefore I have decided...

View Article

RGolf

(This article was first published on R snippets, and kindly contributed to R-bloggers) Its time for some fun today - because its Friday as David Smith says :).There are many code golf sites, even some...

View Article
Browsing all 49 articles
Browse latest View live