Project

General

Profile

Support #1380

Calendar month analysis [item 11, weighting FAQ] not making sense to recreate January 2014

Added by Abigail Dumalus 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
High
Start date:
07/16/2020
% Done:

90%


Description

Hello Alita,

I tried following item 11 for doing January 2014 as an example. When I filtered interviews from wave 5, sample month 1 (if wave==22 & month==1) using the data editor on Stata, istrtdaty indicated 2013, istrtdatm ranged from 1 to 6. I am confused why interviews that started in 2013 have to be added under “January 2014” monthly average. Am I doing the filtering in a completely wrong way? It would be helpful if an illustration of January 2014 can be provided, along with the appropriate weighting variable for this month. In order for me to generate 3-month rolling averages/variances, I would need to “create” a period variable that would uniquely identify each pidp within a wave period but in terms of calendar months or years. The command I am trying to do is rangestat on Stata:

rangestat (mean) monthmean_lfsat_3ma = monthmean_lfsat, by(panel_id) interval(panel_month -2 0) —> 3-month moving average of life satisfaction

Also available in: Atom PDF