From the course: Data, Economic Modeling, and Forecasting with Stata

Unlock the full course today

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

Correlation

Correlation - Stata Tutorial

From the course: Data, Economic Modeling, and Forecasting with Stata

Start my 1-month free trial

Correlation

- [Narrator] One of the goals of using the mean and summarize commands is to get familiar with your data. Another way to get familiar with your data before you begin regression analysis and forecasting, is to look for correlations. The command for this in Stata is C-O-R-R-E-L, correl. And let's take a look at some of the data we have. For example, let's look at those aluminum closing prices, one month out and compare it to that sum of the PMIs. We see here that there's a statistically significant and positive correlation. In fact, this is a correlation of almost 0.5 and because it's positively correlated, it means that when PMIs go up, aluminum prices, generally will go up as well. If this had been an inverse correlation the number would've been negative, and that would mean that, for example when the PMIs go up, aluminum prices would go down. But this is a positive correlation. Let's take a look at some of the other data…

Contents