Articles by Mic

Linear programming in R

August 16, 2018 | Mic

Linear programming is a technique to solve optimization problems whose constraints and outcome are represented by linear relationships. Simply put, linear programming allows to solve problems of the following kind: Maximize/minimize $\hat C^T \hat X$ Under the constraint $\hat A \hat X \leq \hat B$ And the constraint $\...
[Read more...]

Linear programming in R

August 16, 2018 | Mic

Linear programming is a technique to solve optimization problems whose constraints and outcome are represented by linear relationships. Simply put, linear programming allows to solve problems of the following kind: Maximize/minimize $\hat C^T \hat X$ Under the constraint $\hat A \hat X \leq \hat B$ And the constraint $\...
[Read more...]

PCA revisited

August 12, 2018 | Mic

Principal component analysis (PCA) is a dimensionality reduction technique which might come handy when building a predictive model or in the exploratory phase of your data analysis. It is often the case that when it is most handy you might have forgot it exists but let’s neglect this aspect ...
[Read more...]

Resizing spatial data in R

March 5, 2017 | Mic

Here I am after a short break, writing again about R!In december I worked on a project that required me to work on spatial data. This led me to learn about how R deals with this kind of data and to look around for ways to make my “spatial ...
[Read more...]

7th MilanoR meeting + talks live streaming

October 25, 2016 | Mic

On 27th of October I’m going to attend the 7th MilanoR meeting featuring the following two talks: 1. Interactive big data analysis with R: SparkR and MongoDB: a friendly walkthrough  by  Thimoty Barbieri and Marco Biglieri 2. Power consumption prediction based on statistical learning techniques by Davide Pandini This is my ... [Read more...]

My first Shiny App: control charts

September 24, 2016 | Mic

After having carefully followed the online official Shiny tutorial, I decided to make a quick try at making my very first Shiny App. I should say that I found myself very well with the explanation given and Shiny was definitely one of the libraries tha...
[Read more...]

Predicting creditability using logistic regression in R (part 1)

September 2, 2015 | Mic

As I said in the previous post, this summer I’ve been learning some of the most popular machine learning algorithms and trying to apply what I’ve learned to real world scenarios. The German Credit dataset provided by the UCI Machine Learning Repository is another great example of application.... [Read more...]

Simple regression models in R

August 1, 2015 | Mic

Linear regression models are one the simplest and yet a very powerful models you can use in R to fit observed data and try to predict quantitative phenomena. Say you know that a certain variable y is somewhat correlated with a certain variable x and you can reasonably get an ...
[Read more...]

Estimating arrival times of people in a shop using R

July 30, 2015 | Mic

Since the first time I was taught the Poisson and Exponential distributions I have been wondering how to apply them to model a real world scenario such as arrivals of people in a shop. Last week I was in a big shopping center and I thought that was the perfect ...
[Read more...]

Estimating data parameters using R

July 11, 2015 | Mic

Say we have some data and we are pretty confident that it comes from a random variable which follows a Normal distribution, now we would like to estimate the parameters of that distribution. Since the best estimator for the population mean is the sampl...
[Read more...]
1 2

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)