## Linear Regression in STATA

In STATA one can estimate a linear regression using the command  regress. In this post I will present how to use the STATA function regress to run OLS on the following model

$y = \alpha + \beta_{1} x_{1}$

## How to compute the Lorenz Curve

In contrast to our previous post, that is the post that summarized the Lorenz Curve in general terms, this post details how to construct the Lorenz Curve and provides a hypothetical example in R.

## The Lorenz Curve

The Lorenz Curve displays the actual income or wealth distribution of an economy. The concept was brought up by the American economist Max O. Lorenz in 1905. The curve represents a graphical representation of the income or wealth distribution of an economy or country. That is, it shows the proportion of income earned or wealth possessed by any given percentage of the population. In the case that everyone has approximately the same wealth, we have a very equal society. While in a case where few own the majority of wealth, we have high inequality. The following figure depicts the Lorenz curve for three economies with varying degrees of inequality.

Posted in Macroeconomics | Tagged , | 1 Comment

## Cluster Robust Standard Errors in Stargazer

In a previous post, we discussed how to obtain clustered standard errors in R. While the previous post described how one can easily calculate cluster robust standard errors in R, this post shows how one can include cluster robust standard errors in stargazer and create nice tables including clustered standard errors.

Posted in Computing and Others, Econometrics | | 1 Comment

## Robust Standard Errors in Stargazer

In a previous post, we discussed how to obtain robust standard errors in R. While the previous post described how one can easily calculate robust standard errors in R, this post shows how one can include robust standard errors in stargazer and create nice tables including robust standard errors.

Posted in Computing and Others, Econometrics | | 3 Comments

## Omitted Variable Bias

The omitted variable bias is a common and serious problem in regression analysis. Generally, the problem arises if one does not consider all relevant variables in a regression. In this case, one violates the third assumption of the assumption of the classical linear regression model. The series of seven post explains the omitted variable bias in great detail.

Posted in Econometrics, Statistic | | 7 Comments

## Omitted Variable Bias: What can we do about it?

To deal with an omitted variables bias is not easy. However, one can try several things.

First, one can try, Continue reading

Posted in Econometrics, Statistic | | 7 Comments