| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

lab4

Page history last edited by Mike Brown 10 years, 6 months ago

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 variables...here are the results from the des command.  Let me know if this answers your question.

 

des

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

                                                occupation

famfrnd         float  %9.0g                  proportion of firms with family

                                                friendly policies

wage            float  %9.0g                  average occupational wage

 

 

 

Comments (0)

You don't have permission to comment on this page.