Hi,
I am working on some data containing 1400 observations over a 7 year period, whereas the observations is for weekdays.
I am looking at historical price data on both Bitcoin and the S&P500 index, meaning I have 2 variables. I have understood that Pearsons correlation coefficient is the most common and that logarithmic returns is the most common for prices over time. We wish to find evidence that the two variables are uncorrelated over the 7 year period, and that the two variables are negatively correlated when examining sub-periods from the 7 year period.
While reading on the Internet I find that trustworthy economists say that the historical correlation between these two variables should be ´uncorrelated" (close to 0), which means from the start of Bitcoin being traded in higher volumes from 2013.
When doing a Pearson correlation coefficient in Stata, after generating logarithmic variables, for the whole period I find that the correlation is 0.580, statistically significant at a 5 % level. Meaning the value is way too high according to what economists say.
In contrast, when I am not using logarithmic variables I get that the Pearsons correlation coefficient is 0.041, which is a number I really wish to want. This coefficient is in contrast not statistically significant at any level.
So my question is, is it in this case wrong generating logarithmic variables in this case? Or am I better off eventually using another correlation method? Generally I am wondering if logarithmic returns is the right path for me here or not, also regarding what correlation coefficient to use.
Thank you in advance.
Tor Magne
Related Posts with Correlation Coefficient and logarithmic variables
Marginal effects for count data models from interval data: intcountHi, I am using intcount to estimate a count data model with interval data, i. e. the dependent vari…
Panel subgraph colourI cannot change the colour of the titles of subgraphs in my panel data graph. I have created a MWE f…
xtreg with fe - cluster by time (nesting error)Hi, I have a balanced panel with a firmid variable and a time variable. I want to run a regression …
Factor AnalysisHow do I extract a communalities table (refer to picture-1), in stata when I perform factor analysis…
Eaalogit: Attribute non-attendance within classesHello Statalist, I am trying to control for attribute non-attendance in a choice experiment. The ch…
Subscribe to:
Post Comments (Atom)
0 Response to Correlation Coefficient and logarithmic variables
Post a Comment