Hello everyone,
I have time series data with over 1000 daily observations regarding financial assets. My dependent variable is an asset return (y) and I have 3 variables that represent risk aversion (m, n and o) and I was looking for a way of sort of "stripping" the dependent variable out of the effect of risk aversion in order to use it in other regressions later on.
I have looked at the Fama-MacBeth two step regression because it essentially regresses y on m, n and o to determine how exposed it is to each one in the first step, while in the second step y is regressed on the found factor exposures derived from m, n and o, so that y nowoffers the premium of exposure to m, n and o.
Since I have time series data, attempting to use the - asreg - or - xtfmb - commands gives me an error message of either the need to define xtset or of no observations.
Does anyone know if there's a way of using this for time series data? Or if not, an alternative to strip a variable of others to obtain the "pure effect", so to speak?
Best,
Danielle
Related Posts with Stripping a variable of another's effect (or Fama-MacBeth regressions)
Stata interpreting the same string value as different valuesI have postcodes in my dataset that I want to group together. As you can see when I type tab Postcod…
Ripley's spatial K-function: Generating clusters based on geographical information in firm-level & patent-level panel dataDear Stata users, I have firm-level panel data (merged with patent-level data) with geographical in…
How to Correctly Create a Variable to Indicate if a student Failed Grade in Stata?Hello, I have a small dataset as follows, id is student id, and gr represents grade. If a student fa…
Connect X and Y axisHi When I use scheme for twoway graph, such as white_tableau, etc, X axis is separated from Y axis.…
Two-way scatter plot title and axis titleDear All, I am trying to do a two way scatter plot from my analysis. The code which i am running in…
Subscribe to:
Post Comments (Atom)
0 Response to Stripping a variable of another's effect (or Fama-MacBeth regressions)
Post a Comment