Q: This isn't specifically related to this week's lab, but I'm a little confused about the best way to view/save logs. What is the purpose/benefit of the smcl format? I've been saving my logs as text files because it seems like if you save them in smcl and then open them as a text file the formatting is all wrong, so the only way you can really see them if they're saved in smcl is to use the viewer in stata. Am I doing something wrong?


A(Ted): smcl means that it saves in stata markup language. I prefer a text file becuase you can open it up in a word processor easily (I am old fashioned in this perhaps). You can open a text log file in Stata, just click on the window to change from seeing the .smcl files to the .log files. I will give an example of this in class.


(JR) Q: I have a question about the nature of the data and the meaning of the variables in the data for Lab 4, in order to make a meaningful interpretation of my regression results (I know the data is artificial, but what should I assume it is)?

1) What is the unit of analysis (whose wage am I estimating)?

2) What is the meaning of the three predictors? I thought 'fem' was a female dummy variable, but given its values, it is some aggregate of a female dummy -- if this is so, this brings me back to 1). Thank you!


A(Ted):  I put labels on the are the results from the des command.  Let me know if this answers your question.



Contains data from lab5_occdata_old.dta

  obs:           500                         

 vars:             4                          6 Feb 2008 21:37

 size:        10,000 (99.7% of memory free)   (_dta has notes)


              storage  display     value

variable name   type   format      label      variable label


fem             float  %9.0g                  proportioni female in occupation

edyrs           float  %9.0g                  average years of education in


famfrnd         float  %9.0g                  proportion of firms with family

                                                friendly policies

wage            float  %9.0g                  average occupational wage