I am new to Bayesian estimation and was trying to implement Bayesian estimation. I have collected data, applied log-transformation, but when I use one-sided HP filter from https://git.dynare.org/Dynare/dynare/-/blob/master/matlab/one_sided_hp_filter.m, I see almost no difference between the data before and after filter application, however I am expecting to arrive at fluctuations around the zero. It seems that I miss something. I have read guide by Professor Pfeifer, but still puzzled with the result. For example, I try to detrend consumption (C), but results are strange. Please see the data I use in the file attached.
final_data.mat (3.8 KB)