Good day everyone
I was kindly requesting assistance
I am doing research using firm-level data, that has an unbalanced panel of 1 445 042 firms and around 6 million observations, the firm ID or identifier is (FID) and the time period is annual data from the years 2008 to 2014. I am trying to generate a variable which contains the correlation of operating cash flow (Op_cash) and the repo rate (int_rate) from my data set. I would like to use this correlation variable in my panel regression.
The Op_cash variable does have both missing (.) and zeros (0) observations.
I’ve tried different methods that I’ve seen on this forum but I think I am not doing something right as I get error messages or my programs run continuously without any output. I’d really appreciate assistance. Thanks.
Here is an example of the data set :
I was kindly requesting assistance
I am doing research using firm-level data, that has an unbalanced panel of 1 445 042 firms and around 6 million observations, the firm ID or identifier is (FID) and the time period is annual data from the years 2008 to 2014. I am trying to generate a variable which contains the correlation of operating cash flow (Op_cash) and the repo rate (int_rate) from my data set. I would like to use this correlation variable in my panel regression.
The Op_cash variable does have both missing (.) and zeros (0) observations.
I’ve tried different methods that I’ve seen on this forum but I think I am not doing something right as I get error messages or my programs run continuously without any output. I’d really appreciate assistance. Thanks.
Here is an example of the data set :
year | FID | int_rate | Op_cash |
2008 | 1 | 8.6 | . |
2009 | 1 | 8.2 | 641671 |
2010 | 1 | 6.5 | 697992 |
2011 | 1 | 5.6 | 671114 |
2012 | 1 | 5.4 | 737932 |
2013 | 1 | 5.1 | 745722 |
2014 | 1 | 5.9 | 157756 |
2008 | 2 | 8.6 | . |
2009 | 2 | 8.2 | . |
2013 | 2 | 5.1 | 0 |
2008 | 3 | 8.6 | . |
2009 | 3 | 8.2 | . |
2010 | 3 | 6.5 | . |
2010 | 4 | 6.5 | . |
2011 | 4 | 5.6 | . |
2012 | 4 | 5.4 | . |
2013 | 4 | 5.1 | . |
2014 | 4 | 5.9 | . |
2015 | 4 | 6.2 | . |
2008 | 5 | 8.6 | . |
2009 | 5 | 8.2 | 1250708 |
2010 | 5 | 6.5 | 1545442 |
2011 | 5 | 5.6 | 1311604 |
2012 | 5 | 5.4 | 1103661 |
2013 | 5 | 5.1 | 1411393 |
Comment