Dear all,
I am new to Stata. and I am seeking help from experienced users. I am looking for evidence of herd behavior in a specific real estate market. This is performed using cross-sectional absolute deviation (CSAD) as a measure of dispersion. (Similar to Chang et al. (2000))
see below the formula from Chang et al 2000
Array
I obtained monthly data on residential housing prices index for 9 location over 10 years.
Rit is the return of a location i at time t
Rt = ln(It / It–1), Using normal log
Ri and Rm are computed as ln returns based on housing price index.
Each of 9 columns contains the data of a location (price index)
Is it possible to run the calculations with the data in this format? Each line represents a period of the year (example mar 2015, April 2015 ....) I wasn't sure about formatting the date, so I did not create a date variable.
See the dataex- below
Array .
I would be grateful for any suggestions on the commands for this analysis of data.
Thanks
coelho
Related Posts with CSAD and herding
Shading in GraphsI am trying to plot a single time series on a graph, with dates on the x axis. I would like to shade…
Converting Numeric to String without changes the numbers.How can I change ID numbers "11222333 11222334 11122245" to string variables without them being chan…
How can I multiply two category variables by another category variable to create a new variable? Hi All, I want to create a new variable which is (Age * Education levels). But the problem is that…
How to create a variable representing the max length of consecutively same numbers in a row?I am trying to find a way to caculate the max length of consectively same numbers in each row . For …
Change last 4 digits in String type How can I change last 4 digits of co_end_variable to finyear ? For the data below, for example, 01…
Subscribe to:
Post Comments (Atom)
0 Response to CSAD and herding
Post a Comment