From the course: Introduction to Stata 15

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Bivariate correlation and regression

Bivariate correlation and regression - Stata Tutorial

From the course: Introduction to Stata 15

Start my 1-month free trial

Bivariate correlation and regression

- In a previous session, we explored the measures of association for categorical variables. In this session, we'll do the same for continuous and binary variables. For example, are wages and education related? If so, what way? And with how much strength? In this session, we'll explore one of the most famous measurements in statistics, Pearson's correlation coefficient, often known as bivariate correlation. The commands I want to introduce are the correlate command and the pairwise correlate command. The difference between the two is that correlate will use listwise deletion and eliminate all missing observations for all variables. In other words, the correlation matrix you obtain from correlate is computed only for those cases which do not have any missing values in any of the variables in your list. In contrast, pairwise correlate uses pairwise deletion. Here, each correlation is computed for all cases that do not have missing values for that specific pair of variables. To explain…

Contents