Skip to content

Michael Grogan

  • Facebook
  • Twitter
  • LinkedIn
  • Google Plus
  • Home
  • Work With Me
  • Data Science
    • mySQL
    • Python
    • R
  • Terms and Conditions
  • Contact Me

Category: Uncategorized

Calculate lags using the diff() function in R

December 2, 2016 Michael Grogan

When it comes to doing time series analysis, often times it is necessary to calculate lags for a specific variable. To do this in R, we use the diff() function. Click here to read my updated post (Example No. 8) […]

Continue reading »

Normal Distributions and the Law of Large Numbers – An Illustration Using Python

April 21, 2016 Michael Grogan

Like any phenomenon with a statistical distribution, trading is often influenced by the “law of large numbers”; meaning that the more observations we have across any particular dataset, the more that the data will resemble a normal distribution where the […]

Continue reading »

Return Analysis and Histogram Generation

March 26, 2016 Michael Grogan

This particular program analyses returns contained in a csv file to generate a histogram graphing the same in order to analyse return distributions. As we saw previously, the import csv function is what allows us to analyse data in a […]

Continue reading »

Using NUMPY and SCIPY libraries to conduct regression analysis

March 10, 2016 Michael GroganLeave a comment

The numpy, scipy, and statsmodels libraries are frequently used when it comes to generating regression output. While these libraries are frequently used in regression analysis, it is often the case that a user might choose different libraries depending on the […]

Continue reading »

Kruskal-Wallis Test: Nonparametric One-Way ANOVA

July 31, 2015 Michael Grogan
kruskal

The Kruskal-Wallis Test is a popular nonparametric test to examine whether two samples originate from an identical distribution or not. A normal distribution is not assumed, and the groups in question may have different sample sizes. Thus, this test is […]

Continue reading »

glm: Construct a Binomial Logistic Regression in R

July 31, 2015 Michael Grogan

The purpose of a binomial logistic regression is to regress a dependent variable that can only take on finite values. In this instance, we wish to calculate an odds ratio for our regression – i.e. what is the probability that […]

Continue reading »

Momentum Forex Trading Using The R Quantmod Library

February 7, 2015 Michael Grogan

We have already seen the basics of setting up quantmod in R to be able to obtain information on financial securities. The quantmod library is also able to obtain information on currencies, and R can be quite useful when it […]

Continue reading »

Is A Low R-Squared Statistic A Bad Thing?

May 16, 2014 Michael Grogan

If you have never gotten a low R-Squared statistic when conducting regression analysis, I would hazard that you have never run a regression before. Finding a low R-Squared is one of the classic dilemmas of all researchers that attempt to […]

Continue reading »

Search

Recent Posts

  • Creating functions in R
  • Poisson and Cumulative Binomial Probabilities
  • Creating maps in R using ggplot2 and maps libraries
  • Python: Implementing a K-Means Algorithm With sklearn
  • Variance-Covariance Matrix in R (corpcor, covmat)
  • Linear Models in R: OLS and Logistic Regressions
  • Cross-Correlation Function In R (ccf)
  • Machine Learning and Statistics: Recommended Texts
  • Implement an ARIMA model using statsmodels (Python)
  • Chow Test For Structural Breaks in Time Series

Michael Grogan

My name is Michael Grogan, I am a data science consultant with a passion for statistics and machine learning. My educational background is a Master's degree in Economics, and as such I have a particular interest in the application of data science to implementing business solutions.

My clients have included individuals, startup firms, as well as larger corporate clients. I have worked on projects across a range of industries, including finance, sales and marketing, healthcare, and government policy.

I also provide a host of data science tutorials through my website, and my work has also been published on leading data outlets such as Data Science Central and Sitepoint.

You can get in touch with me at [email protected]. Alternatively, you can give me a call at either of the following numbers depending on where you are based:

US/Canada: +1 424 644 6743
Europe:        +44 208 144 7926

Subscribe to my mailing list, and receive my free R and Python course!

©2017 Michael Grogan