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
Conducting Principal Component Analysis on STATAHello everyone. I'm trying to create a wealth index on STATA using principal component analysis, and…
Categorising consecutivelyI am trying to generate a new variable which consecutively categorises an existing category. I am no…
Block regressions using foreach loop on global macrosHello Listers! I am trying to run multiple block regressions. I have put a set of explanatory varia…
Gini indexHello How do I calculate the Gini coefficient with the equivalent scale method in stata ? Please ex…
Set an if condition before loopDear Statalist, I have a dataset with duplicate observations (marked by duplicateID). I want to che…
Subscribe to:
Post Comments (Atom)
0 Response to Interpreting trended and de-trended data
Post a Comment