Once precipitation fall into surface it affects surface soil moisture and after infiltration occurs, subsurface SM. Thus, I assume that both layers are always correlated, but with some shifts in time.
I calculated cross-correlation between two time series of surface and subsurface SM in R. Now I have information about average number of days (lag time) which when used to shift one time series, gives me the greatest linear correlation coefficient value between them.
However I wonder if:
http://stackoverflow.com/questions/10369109/finding-lag-at-which-cross-correlation-is-maximum-ccf