Hi again,
If I hava time series data with say for instance 1500 numeric observations reflecting price development for 1500 days on Bitcoin, variable called bitc.
Lets say I want to look at the correlation coefficient for only day 50 - 88, day 250 - 350, day 750 - 900 and so on. Meaning I do not want the correlation coefficient for the whole period as a whole, only for sub-periods.
Will I have to create new variables for the respective periods? Or may I code a command so I ask for correlation coefficient for the preferred periods?
Or which way is the easiest for a newbie. How may I code this?
Thank you in advance.
/Tor Magne
Related Posts with Time series data
datetime 2012-04-24 08:00:01Hello, I am trying to import "2012-04-24 08:00:01" as a datetime, but it shows as "2012-04-24 07:59…
Problem - Use 2 datasets in one do file (single run)Hi all ! I need help on stata I am trying to create one do file in Stata (mandatory) using 2 diff…
Filtering quality variablesI am having s panel data on macro variables for 72 countries (I. e. ;gdp, inflation etc) and a conti…
Panel Regression with a Moderator Variable*Please forgive my lack of Stata/Statistics knowledge or basic questions, I'm fairly new to Stata an…
Calculate number of "common friends" in the past five yearsDear fellow Statalisters, For a large panel data set on alliances, I want to calculate the number o…
Subscribe to:
Post Comments (Atom)
0 Response to Time series data
Post a Comment