Search found 2 matches

by NeweyWest
Mon Jan 06, 2025 11:14 am
Forum: Data Manipulation
Topic: Moving average with panel data
Replies: 1
Views: 33963

Moving average with panel data

How do I calculate moving averages with panel data, so I get a series for each cross-section? thanks.
by NeweyWest
Mon Dec 30, 2024 6:54 pm
Forum: Data Manipulation
Topic: Generating lagged variables for panel data
Replies: 5
Views: 50539

Re: Generating lagged variables for panel data

In panel data, if I use series Y=X(-1), many cross-sections have missing data. If I try frml Y=X(-1), the first observation of each cross-section should be missing but it's not.

Go to advanced search