An automatic report for the dataset : Microsoft Corporation (MSFT)
Abstract
This report was produced by the Automatic Bayesian Covariance Discovery (ABCD) algorithm.
1 Executive summary
The raw data and full model posterior with extrapolations are shown in figure 1.
The structure search algorithm has identified five additive components in the data. The first 3 additive components explain 98.3% of the variation in the data as shown by the coefficient of determination (${R}^{2}$) values in table 1. The 5 additive components explain 100.0% of the variation in the data. After the first 3 components the cross validated mean absolute error (MAE) does not decrease by more than 0.1%. This suggests that subsequent terms are modelling very short term trends, uncorrelated noise or are artefacts of the model or search procedure. Short summaries of the additive components are as follows:

•
A very smooth monotonically decreasing function.

•
A very smooth function. This function applies from 12 Sep 2001 until 14 Sep 2001.

•
A smooth function. This function applies until 12 Sep 2001 and from 14 Sep 2001 onwards.

•
Uncorrelated noise.

•
An approximately periodic function with a period of 4.1 weeks. This function applies until 12 Sep 2001 and from 14 Sep 2001 onwards.
#  ${R}^{2}$ (%)  $\mathrm{\Delta}{R}^{2}$ (%)  Residual ${R}^{2}$ (%)  Cross validated MAE  Reduction in MAE (%) 

        22.49   
1  13.0  13.0  13.0  1.73  92.3 
2  82.5  69.5  79.8  0.86  50.1 
3  98.3  15.8  90.3  0.81  5.9 
4  98.8  0.5  29.2  0.81  0.0 
5  100.0  1.2  100.0  0.83  2.6 
Model checking statistics are summarised in table 2 in section 4. These statistics have revealed statistically significant discrepancies between the data and model in component 3.
The rest of the document is structured as follows. In section 2 the forms of the additive components are described and their posterior distributions are displayed. In section 3 the modelling assumptions of each component are discussed with reference to how this affects the extrapolations made by the model. Section 4 discusses model checking statistics, with plots showing the form of any detected discrepancies between the model and observed data.
2 Detailed discussion of additive components
2.1 Component 1 : A very smooth monotonically decreasing function
This component is a very smooth and monotonically decreasing function.
This component explains 13.0% of the total variance. The addition of this component reduces the cross validated MAE by 92.3% from 22.5 to 1.7.
2.2 Component 2 : A very smooth function. This function applies from 12 Sep 2001 until 14 Sep 2001
This component is a very smooth function. This component applies from 12 Sep 2001 until 14 Sep 2001.
This component explains 79.8% of the residual variance; this increases the total variance explained from 13.0% to 82.5%. The addition of this component reduces the cross validated MAE by 50.05% from 1.73 to 0.86.
2.3 Component 3 : A smooth function. This function applies until 12 Sep 2001 and from 14 Sep 2001 onwards
This component is a smooth function with a typical lengthscale of 2.8 days. This component applies until 12 Sep 2001 and from 14 Sep 2001 onwards.
This component explains 90.3% of the residual variance; this increases the total variance explained from 82.5% to 98.3%. The addition of this component reduces the cross validated MAE by 5.94% from 0.86 to 0.81.
2.4 Component 4 : Uncorrelated noise
This component models uncorrelated noise.
This component explains 29.2% of the residual variance; this increases the total variance explained from 98.3% to 98.8%. The addition of this component reduces the cross validated MAE by 0.00% from 0.81 to 0.81. This component explains residual variance but does not improve MAE which suggests that this component describes very short term patterns, uncorrelated noise or is an artefact of the model or search procedure.
2.5 Component 5 : An approximately periodic function with a period of 4.1 weeks. This function applies until 12 Sep 2001 and from 14 Sep 2001 onwards
This component is approximately periodic with a period of 4.1 weeks. Across periods the shape of this function varies smoothly with a typical lengthscale of 4.5 weeks. The shape of this function within each period has a typical lengthscale of 18.0 hours. This component applies until 12 Sep 2001 and from 14 Sep 2001 onwards.
This component explains 100.0% of the residual variance; this increases the total variance explained from 98.8% to 100.0%. The addition of this component increases the cross validated MAE by 2.61% from 0.81 to 0.83. This component explains residual variance but does not improve MAE which suggests that this component describes very short term patterns, uncorrelated noise or is an artefact of the model or search procedure.
3 Extrapolation
Summaries of the posterior distribution of the full model are shown in figure 11. The plot on the left displays the mean of the posterior together with pointwise variance. The plot on the right displays three random samples from the posterior.
Below are descriptions of the modelling assumptions associated with each additive component and how they affect the predictive posterior. Plots of the pointwise posterior and samples from the posterior are also presented, showing extrapolations from each component and the cuulative sum of components.
3.1 Component 1 : A very smooth monotonically decreasing function
This component is assumed to continue very smoothly but is also assumed to be stationary so its distribution will eventually return to the prior. The prior distribution places mass on smooth functions with a marginal mean of zero and a typical lengthscale of 5.1 years. [This is a placeholder for a description of how quickly the posterior will start to resemble the prior].
3.2 Component 2 : A very smooth function. This function applies from 12 Sep 2001 until 14 Sep 2001
This component is assumed to stop before the end of the data and will therefore be extrapolated as zero.
3.3 Component 3 : A smooth function. This function applies until 12 Sep 2001 and from 14 Sep 2001 onwards
This component is assumed to continue smoothly but is also assumed to be stationary so its distribution will return to the prior. The prior distribution places mass on smooth functions with a marginal mean of zero and a typical lengthscale of 2.8 days. [This is a placeholder for a description of how quickly the posterior will start to resemble the prior].
3.4 Component 4 : Uncorrelated noise
This component assumes the uncorrelated noise will continue indefinitely.
3.5 Component 5 : An approximately periodic function with a period of 4.1 weeks. This function applies until 12 Sep 2001 and from 14 Sep 2001 onwards
This component is assumed to continue to be approximately periodic. The shape of the function is assumed to vary smoothly between periods but will return to the prior. The prior is entirely uncertain about the phase of the periodic function. Consequently the pointwise posterior will appear to lose its periodicity, but this merely reflects the uncertainty in the shape and phase of the function. [This is a placeholder for a description of how quickly the posterior will start to resemble the prior].
4 Model checking
Several posterior predictive checks have been performed to assess how well the model describes the observed data. These tests take the form of comparing statistics evaluated on samples from the prior and posterior distributions for each additive component. The statistics are derived from autocorrelation function (ACF) estimates, periodograms and quantilequantile (qq) plots.
Table 2 displays cumulative probability and $p$value estimates for these quantities. Cumulative probabilities near 0/1 indicate that the test statistic was lower/higher under the posterior compared to the prior unexpectedly often i.e. they contain the same information as a $p$value for a twotailed test and they also express if the test statistic was higher or lower than expected. $p$values near 0 indicate that the test statistic was larger in magnitude under the posterior compared to the prior unexpectedly often.
ACF  Periodogram  
#  min  min loc  max  max loc  max  min 
1  0.701  0.379  0.183  0.512  0.407  0.555 
2  0.529  0.479  0.170  0.472  0.569  0.302 
3  0.508  0.705  0.082  0.210  0.029  0.037 
4  0.517  0.504  0.481  0.520  0.500  0.515 
5  0.419  0.493  0.230  0.286  0.144  0.142 
The nature of any observed discrepancies is now described and plotted and hypotheses are given for the patterns in the data that may not be captured by the model.
4.1 Moderately statistically significant discrepancies
4.1.1 Component 3 : A smooth function. This function applies until 12 Sep 2001 and from 14 Sep 2001 onwards
The following discrepancies between the prior and posterior distributions for this component have been detected.

•
The qq plot has an unexpectedly large positive deviation from equality ($x=y$). This discrepancy has an estimated $p$value of 0.029.

•
The qq plot has an unexpectedly large negative deviation from equality ($x=y$). This discrepancy has an estimated $p$value of 0.037.
The positive deviation in the qqplot can indicate heavy positive tails if it occurs at the right of the plot or light negative tails if it occurs as the left. The negative deviation in the qqplot can indicate light positive tails if it occurs at the right of the plot or heavy negative tails if it occurs as the left.
4.2 Model checking plots for components without statistically significant discrepancies
4.2.1 Component 1 : A very smooth monotonically decreasing function
No discrepancies between the prior and posterior of this component have been detected
4.2.2 Component 2 : A very smooth function. This function applies from 12 Sep 2001 until 14 Sep 2001
No discrepancies between the prior and posterior of this component have been detected
4.2.3 Component 4 : Uncorrelated noise
No discrepancies between the prior and posterior of this component have been detected
4.2.4 Component 5 : An approximately periodic function with a period of 4.1 weeks. This function applies until 12 Sep 2001 and from 14 Sep 2001 onwards
No discrepancies between the prior and posterior of this component have been detected
5 MMD  experimental section
#  mmd 

1  0.000 
2  0.000 
3  0.000 
4  0.016 
5  0.000 