************************************************************** * a. Open a log file. ************************************************************** ************************************************************** * b. Explain the different types of syntax used in a .do file. * Use the correct type of syntax in your response (begin * with a *, /* */, or nothing. Answer below. ************************************************************** ************************************************************** * c. What is a .do file used for? How do you create it? What * does it mean to "run" a .do file? ************************************************************** ************************************************************** * d. What is a log file used for? How do you begin and end a * log file? ************************************************************** ************************************************************** * e. What is the most important difference between a .do file * and a log file? ************************************************************** ************************************************************** * f. Open the data editor and manually enter data into the * first two columns. Enter the number 1-9 in the cells of * column 1 and the numbers 10-18 in the cells of column 2. * Note: We can see you enter these by looking at your log * file. ************************************************************** ************************************************************** * g. Note the difference between the data editor and the * browser and how to toggle back and forth. What are the * two different modes? Answer below. ************************************************************** ************************************************************** * h. Clear the data from your Stata center. What command did * you use to clear data? Answer below. ************************************************************** ************************************************************** * i. Give proper credit below to those you worked with and/or * any texts. ************************************************************** ************************************************************** * j. Close your log and place the command that closes your * log below. ************************************************************** ************************************************************** * You are done with your first official problem. Good job! * Please print this .do file with your final answers * and print your log file by going to File>Print in the * Stata command center. **************************************************************