Last week I talked about objects including scalars, vectors, matrices, dataframes, and lists. This post will show you how to use the objects (and their corresponding classes) you create in R to your advantage.First off, it's important to remember...

The headlines have been buzzing with the “triumph” of statistics and math in this election. But before I jump into how well statistics served us, let’s do a little primer on the margin of error. Whenever we measure less than the whole population we’ll have some variability in the sample. Chances are good that the

I have been traveling during the last two weeks. I visited Fred Hutchinson Cancer Research Center on Oct 16 and the Department of Biostatistics at Johns Hopkins at the invitation of Simply Statistics on Oct 23. Today Christian Robert was visiting our department at Iowa State, and I also talked to him. It is really cool...

Welcome to the last part of the series on predicting user’s revisit to the website. In the first part of series, I generated the logistic regression model for prediction problem whether a user will come back on website in next 24 hours. In the second part, I discussed about model improvement and seen the model accuracy.

The merge of two insurance companies enables to curb the probability of ruin by sharing the risk and the capital of the two companies. For example, we can consider two insurance companies, A and B. A is a well known insurance company with a big capital and is dealing with a risk with a low variance. We will assume...