Shiny is a very handy platform when it comes to designing web applications through R. This has the advantage of allowing users who are not familiar with R to benefit from using its capabilities in a more intuitive way. Here […]
Continue reading »Tag: r
Poisson and Cumulative Binomial Probabilities
A Poisson Distribution is a probability distribution which calculates the probability of a set of independent occurrences within a fixed time or space. e.g. Let us suppose that a prestigious college receives 1000 applications in a particular time interval. On […]
Continue reading »Variance-Covariance Matrix in R (corpcor, covmat)
The following tutorial demonstrates how to calculate a variance-covariance matrix in R, along with shrinkage estimate of covariance and the calculation of a covariance into a correlation matrix. The purpose of a variance-covariance matrix is to illustrate the variance of […]
Continue reading »Cross-Correlation Function In R (ccf)
When working with a time series, one important thing we wish to determine is whether one series “causes” changes in another. In other words, is there a strong correlation between a time series and another given a number of lags? […]
Continue reading »Machine Learning and Statistics: Recommended Texts
For learning the latest machine learning and statistics techniques, I’ve found certain guides to be much more useful than others. The two main languages that I currently rely on are R and Python. I’ve found that R comes out on […]
Continue reading »kmeans and wss: Find optimal number of clusters (k)
A K-Means Clustering algorithm allows us to group observations in close proximity to the mean. This allows us to create greater efficiency in categorising the data into specific segments. Here is how the wss command is used to firstly determine […]
Continue reading »Statistical Power Calculation Using R (power.t.test)
The statistical power of a test allows us to determine the minimum sample size that would be expected to yield significant results for a test. In R, this can be calculated by using the power.t.test command. We have already discussed […]
Continue reading »Cumulative Binomial Probability Plot
In conducting probability analysis, the two variables that take account of the chance of an event happening are N (number of observations) and λ (lambda – our hit rate/chance of occurrence in a single interval). Read more about this topic […]
Continue reading »