I am a new STATA user and new to this forum. I am working with daily price data of the Australian dollar (AUD/USD) against Copper futures to understand the commodity currency relationship (data excel file is attached). I am doing lag-order statistics (preestimation) to understand which lag to use in analysis. However, the number of my observations does not match the actual number of observations in excel file:
Sample: 6/10/2005 - 5/24/2019, but with gaps
Number of obs = 612
I guess it may be connected with that I am using daily data, however, there are dates missing because AUD/USD and Copper futures were not traded on the weekends and holidays (correct me if I am wrong).
How can I deal with this problem? Thanks in advance.
Related Posts with Resolving problem with day gaps in STATA
Matching observations across boundariesI am looking at houses on each side of a designated geographical boundary. Does anyone know how to …
Generate a new variable in a loop in different files and calculating the meanHi, I want to write a loop to generate a new variable called savings (income-expenditure) in two se…
Adding partner data to responding person data in a panel data fileI wish to extend my analysis of panel data to include information about the responding person's part…
how to export Summary Statistics to wordDear Sir/Madam I am working on my thesis on impact of informal credit on household welfare. I try to…
Numbering occurrences of a flag within patients.In the example below I have created OVERLAP_FLAG, which is equal to 1 where two consecutive regimens…
Subscribe to:
Post Comments (Atom)
0 Response to Resolving problem with day gaps in STATA
Post a Comment