The F-test for relevance of a least-squares fit can be used to test if there is a drift in a time series, e.g. a time-dependent variable generated by a simulation that is supposed to produce stationary fluctuating quantities. Generate 100 random numbers from a normal distribution $N(0,1)$. Perform a least-squares fit to $f_i=a i+b$, yielding the best estimates $\hat{a}$ and $\hat{b}$, and compute the standard inaccuracy in $a$. There are two ways to check if the drift you find is significant. First you can assess the probability that $a$ differs from zero, i.e., the two-sided probability that $|a| \leq|\hat{a}|$. Although Student's t-distribution is the appropriate distribution, you can also use a normal distribution because with a large number of degrees of freedom the t-distribution is nearly equivalent to a normal distribution. The second method is using an F-test. Compute SSR and SSE and assess the significance of the linear regression model with an F-test. Do all this for a few fresh series of random samples and compare the two results. In order to get significant results you may add a drift term to the data.