Hi Statalist team,
I have detrended dataon malaria contraction rates to see the seasonal fluctuations. The patterns emerging from the de-trended data are strong, with strong peak in the rainy season as expected. However, I am not sure how to interpret the trend data itself.
I ran the following:
regress u5s_malaria_per date2
predict malaria_detrended, resid
predict malaria_trend, xb
I assumed the "malaria_trend" would just be the average across time or the sum of detrended and trended would amount to the raw data, but this is not the case. The trend data is far higher than the average. What is the appropriate way to interpret the trend?
Apologies for the no doubt obvious questions
Related Posts with Interpreting trended and de-trended data
Loop with consecutive numbersHello Stata community, I am trying to replace multiple id of a data set, where the ids are consecut…
Format regression coefficients using file writeI am outputting non-standard tables to TeX and using file write following this example: https://gith…
Pasting the data from Excel to Stata converts values of the variableDear Stata Members I am dealing with some financial data like income, total assets, etc. Many of the…
Adding 4 arguments in setstars() of asdoc / asdocxI seem to experience an issue with the setstars() arguments using asdoc or asdocx. It seems that it …
Selecting all dates within groups that are within one week of each other and creating a sub-group idHello all, I'm a new Stata user and new to Statalist; I'm currently using StataMP 14. Purpose: I'm…
Subscribe to:
Post Comments (Atom)
0 Response to Interpreting trended and de-trended data
Post a Comment