Firm Sector Quarter TradePayable
TMPO Communication Services 2013Q1 .0500968
ISAT Communication Services 2013Q1 .007206
BMTR Communication Services 2013Q1 .0521027
CENT Communication Services 2013Q1 .0966917
MNCN Communication Services 2013Q1 .0504886
EMTK Communication Services 2013Q1 .0307749
TLKM Communication Services 2013Q1 .0614018
ABBA Communication Services 2013Q1 .1307011
MSKY Communication Services 2013Q1 .1275893
FORU Communication Services 2013Q1 .2096529
BHIT Communication Services 2013Q1 .0429413
KBLV Communication Services 2013Q1 .0902451
BMTR Communication Services 2013Q2 .049237
FORU Communication Services 2013Q2 .279485
KBLV Communication Services 2013Q2 .0697843
EMTK Communication Services 2013Q2 .0304034
MSKY Communication Services 2013Q2 .1236343
BHIT Communication Services 2013Q2 .0359511
TMPO Communication Services 2013Q2 .0403681
TLKM Communication Services 2013Q2 .0746017
ISAT Communication Services 2013Q2 .0077352
CENT Communication Services 2013Q2 .0351647
MNCN Communication Services 2013Q2 .0707349
IBST Communication Services 2013Q2 .0029691
ABBA Communication Services 2013Q2 .1269866
Here is a piece of my data. I have a problem where I am trying to calculate the mean for "TradePayable" in each quarter
Before I've tried the egen IndTP = mean(TradePayable), by(Quarter), even though the format is right, the results (mean average) were all awfully wrong, since I do double check on the calculations by summing up tradepayables for 2013Q1 only and divide it by 12.
Does the error have to do with stata's different method of calculating the mean? Appreciate the help!
TMPO Communication Services 2013Q1 .0500968
ISAT Communication Services 2013Q1 .007206
BMTR Communication Services 2013Q1 .0521027
CENT Communication Services 2013Q1 .0966917
MNCN Communication Services 2013Q1 .0504886
EMTK Communication Services 2013Q1 .0307749
TLKM Communication Services 2013Q1 .0614018
ABBA Communication Services 2013Q1 .1307011
MSKY Communication Services 2013Q1 .1275893
FORU Communication Services 2013Q1 .2096529
BHIT Communication Services 2013Q1 .0429413
KBLV Communication Services 2013Q1 .0902451
BMTR Communication Services 2013Q2 .049237
FORU Communication Services 2013Q2 .279485
KBLV Communication Services 2013Q2 .0697843
EMTK Communication Services 2013Q2 .0304034
MSKY Communication Services 2013Q2 .1236343
BHIT Communication Services 2013Q2 .0359511
TMPO Communication Services 2013Q2 .0403681
TLKM Communication Services 2013Q2 .0746017
ISAT Communication Services 2013Q2 .0077352
CENT Communication Services 2013Q2 .0351647
MNCN Communication Services 2013Q2 .0707349
IBST Communication Services 2013Q2 .0029691
ABBA Communication Services 2013Q2 .1269866
Here is a piece of my data. I have a problem where I am trying to calculate the mean for "TradePayable" in each quarter
Before I've tried the egen IndTP = mean(TradePayable), by(Quarter), even though the format is right, the results (mean average) were all awfully wrong, since I do double check on the calculations by summing up tradepayables for 2013Q1 only and divide it by 12.
Does the error have to do with stata's different method of calculating the mean? Appreciate the help!

Comment