The long-run tendency of government expenditure: a semi-parametric modelling approach