Statistical Test for Google Analytics

#3.5 / 6 rate

Statistical Test for Google Analytics

610 users

2019-11-13

https://noahonnumbers....

Extension Information

5 star
50%
4 star
0%
3 star
0%
2 star
50%
1 star
0%

Supported Languages

Permissions

Description

This extension enhances Google Analytics by providing implicit statistical evaluation of data.

One very useful feature of Google Analytics is the comparison of timeframes for metrics. You can compare number of sessions, bounce rate, E-commerce transactions, AdWords cost, etc. between adjacent weeks, months, or years.

One shortcoming in this comparison feature is that the percentage change calculated by Google for these metrics is not qualified. This extension addresses this shortcoming by evaluating the change between time periods for statistical significance.

Currently, for 5 < points < 40 the Wilcoxon Signed-Rank test is used. For points > 40, the paired Student's t-test is used.

Release Notes:

Version 3.1
* Separate tab for each metric; support multiple metrics on graph
* Should support metrics from line graphs on any page
* Reload button for when extension misses capturing data
* Also show date range and percentage change for metric

Version 2.3
* Update calculation of Wilcoxon statistic (used when n<40) with port of SciPy implementation
* Styling changes
* Warnings added and other fixes

Version 2.1
* Versions 1.* were broken due to changes in Google Analytics. Updated data extraction to pull directly from Google's web requests, rather than calculating from the DOM. More accurate and robust
* When you change the dates or metric on a chart, it will automatically recalculate

Limitations:
1. Time frames to be compared should begin on the same weekday (Monday and Monday or Friday and Friday), to minimize confounding factors in the comparison. They should be the same length of time. Be careful to ensure this, especially for year-over-year monthly comparisons. This script derives its statistical power by treating metrics as paired data points (based on the day of the week).

2. Must compare at least 5 data points (days, weeks, or months). Beyond the lower limit, the statistical test lacks sufficient power.

For further documentation and description of the statistical tests, visit https://noahonnumbers.com/blog/entry/statistics-google-analytics