Statistical Parametric and Non-Parametric Tests

Have you ever run an A/B test and wondered whether you should use a t-test or a Wilcoxon test? The choice matters: using the wrong test can cause you to miss a significant result — or, worse, make you think a result is significant when it’s not.

Statistical tests fall into two broad families: parametric and non-parametric. The fundamental difference? Parametric tests assume the data follow a known distribution (usually the normal); non-parametric tests make no such assumption. This is not a technical detail — it determines which tests you can use, how powerful they are, and how much you can trust the results.

In this article we’ll look at the differences, when to use each, and how the choice impacts the analysis of your site’s data.

Continue reading “Statistical Parametric and Non-Parametric Tests”

Multiple Regression Analysis, Explained Simply

Does content length help ranking? Do backlinks bring traffic? Do faster pages convert better?
Taken one at a time, these questions almost always get the same lazy answer: “yes, a bit”. The trouble is that in the real world factors never arrive one at a time. Long pages also tend to attract more links; pages with more links are often the most carefully made, and maybe the slowest too. Everything moves together, and the question that really matters is a different one: *which of these factors weighs on traffic net of the others?*

We saw, talking about correlation, that we can measure how much two variables move together; and with simple linear regression that we can use one to predict the other.
But one correlation at a time is blind to the tangle: it risks handing the same medal to a factor and to its companion, without being able to tell them apart. It is the doorway to a trap we already know, Simpson’s paradox: an association that flips sign or vanishes as soon as we account for a third variable. Multiple regression is the tool that tackles precisely this head-on — many causes together, each measured while holding the others fixed.

Continue reading “Multiple Regression Analysis, Explained Simply”

The Data: The 4 Scales of Measurement

A question: how many times have we seen — or made — the mistake of calculating the average SERP position for a set of keywords and then using that number as if it were any other piece of data?
The average position is 4.3, keyword A is at 3 and keyword B at 7, “on average we are fourth”.
The problem is that a ranking position is not a number: it is ordinal data. The distance between position 1 and position 3 is not the same as between 3 and 5, and averaging numbers that do not have an interpretable distance — that is truly a meaningless operation.

Before performing any calculation on data, we must ask ourselves: what type of data is this? The answer determines everything we can — and cannot — do downstream. The answer comes from a classification that, although dating back to 1946, remains the foundation of every respectable statistical analysis: the 4 scales of measurement by Stanley Smith Stevens.

The scale of measurement does not serve to describe data: it serves to establish which operations are meaningful on that data. The more information a scale contains, the greater the number of statistical analyses we can apply. This is the criterion that makes Stevens’ classification so powerful and enduring in practice.

Continue reading “The Data: The 4 Scales of Measurement”

Simple Linear Regression: Correlation, R² and a Case Study in R

In previous posts, we have examined concepts such as the mean and standard deviation, which are capable of describing a single variable. These statistics are of great importance; however, in daily practice, it is often necessary to investigate the relationships between two or more variables. This is where new key concepts emerge: correlation and regression analysis.

Correlation and regression analysis are tools widely used during the analysis of our datasets.
They involve estimating the relationship between a dependent variable and one or more independent variables.

Continue reading “Simple Linear Regression: Correlation, R² and a Case Study in R”

Time Series Analysis and Forecasting in R

What is meant by a time series?

A time series consists of values observed over a set of sequentially ordered periods. This, for those who do SEO, is already an element of utmost interest.

Website traffic data, considered over a time sequence, is in fact an example of a time series.

Time series analysis is a set of methods that allow us to derive significant patterns or statistics from data with temporal information.

In very general terms, we can say that a time series is a sequence of random variables indexed in time.

The purpose of analyzing a time series can be descriptive (consider decomposing the series to remove seasonality elements or to highlight underlying trends) or inferential, with the latter including forecasting values for future time periods that have not yet occurred.

Continue reading “Time Series Analysis and Forecasting in R”