If you are using the method of least square for fitting trends in an annual time series containing 25 consecutive yearly values, what coded value do you assign to X for the most recent recorded year in the series?
1 answer
If the series contains 25 consecutive yearly values, and you are using least squares to fit trends, then you can assign coded values to X starting from 1 for the first recorded year and increment by 1 for each subsequent year. Therefore, for the most recent recorded year in the series, you would assign X a value of 25.