Use the data _RR_ps1.dta. Write a script that:
i. Contains a for loop which:
A. For each country calculates the mean and standard error of GDP growth (variable: dRGDP) for the following debt/GDP buckets: 0-30, 31-60, 61-90, 90+. (Hint: use the stata com-mandci for standard errors. Summarize only provides standard deviations).
B. Puts these results in a 5 column table with countries in column 1, and the results for the debt buckets in columns 2-5.
Include the standard error in parentheses underneath the mean.
Use first principles and try to make use of matrix command for table. Include comments on what part of the code did what.
Attachment:- Assignment.zip