{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

week02-2

week02-2 - – repeats a command for each of the values of...

This preview shows page 1. Sign up to view the full content.

TA session 2 Econ. 103, winter 2010 Wed., Jan. 13, 2010, 10:00 a.m. and 1:00 p.m. in PP2400E. 2 New (and old) commands used in today’s lecture 1. des des cribe reports the format of the data currently in memory, including variable labels 2. sum sum marize gives summary statistics for the data in memory ( i.e. means, std devs, min, max) e.g. sum wage – gives summary statistics only for the wage variable 3. tab tab ulates the observed values of a variable and gives frequency information. Also, if the data is discrete, it might have labels for the values of the variable, very useful! 4. by variablename:
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: – repeats a command for each of the values of a variable. • e.g. by edu: sum wage – gives summary statistics for the wage for each value of education 5. corr var1 var2 var3 – gives the Pearson linear correlation coeﬃcient for a set of variables • corr wage edu – gives the correlation coeﬃcient between wage and edu . Re-member that correlation does not imply causation. In class we went over possible explanations for a positive correlation. 6. scatter var1 var2 – gives a scatter plot of the two variables. Useful to gain intuition 1...
View Full Document

• Winter '07
• SandraBlack
• Econometrics, Correlation and dependence, Pearson product-moment correlation coefficient, Correlation does not imply causation, Covariance and correlation, Spearman's rank correlation coefficient

{[ snackBarMessage ]}

Ask a homework question - tutors are online