This exercise is optional.

 

 

1- In the do-file called “linegraph.do”, if you want to make 5, 10, 15 charts instead of 37, what change or changes would you have to make to the code to make it interactive?

 

 

2 - Write one Stata program that converts inches to centimeters and miles to kilometers

 

 

3 - Using the file cnv.dta (click here to get it) and assuming that years are companies, write a do-file that does the following:

 

1.         Creates and closes a log file for the output you get

2.         Creates the program “coefdev” that estimates the coefficient of deviation of population, imports and exports for each country

3.         Generates a summary report for each country.