十一城

跬步千里,小流江海。

Home Linux ML Python Java Thoughts KmKg BookCan Links About

2018-01-31
机器学习-广义线性模型-Differences-Between-OLS-and-MLE

• 分类: ml • 标签:

摘自http://www.differencebetween.net/science/mathematics-statistics/differences-between-ols-and-mle/

中文相关讨论参照

Least-Squares-Method

OLS vs MLE

We often try to vanish when the topic is about statistics. For some, dealing with statistics is like a terrifying experience. We hate the numbers, the lines, and the graphs. Nevertheless, we need to face this great obstacle in order to finish schooling. If not, your future would be dark. No hope and no light.

To be able to pass statistics, we often encounter OLS and MLE. “OLS” stands for “ordinary least squares” while “MLE” stands for “maximum likelihood estimation.” Usually, these two statistical terms are related to each other. Let’s learn about the differences between ordinary least squares and maximum likelihood estimations.

The ordinary least squares, or OLS, can also be called the linear least squares. This is a method for approximately determining the unknown parameters located in a linear regression model. According to books of statistics and other online sources, the ordinary least squares is obtained by minimizing the total of squared vertical distances between the observed responses within the dataset and the responses predicted by the linear approximation. Through a simple formula, you can express the resulting estimator, especially the single regressor, located on the right-hand side of the linear regression model.

For example, you have a set of equations which consists of several equations that have unknown parameters. You may use the ordinary least squares method because this is the most standard approach in finding the approximate solution to your overly determined systems. In other words, it is your overall solution in minimizing the sum of the squares of errors in your equation. Data fitting can be your most suited application. Online sources have stated that the data that best fits the ordinary least squares minimizes the sum of squared residuals. “Residual” is “the difference between an observed value and the fitted value provided by a model.”

Maximum likelihood estimation, or MLE, is a method used in estimating the parameters of a statistical model, and for fitting a statistical model to data. If you want to find the height measurement of every basketball player in a specific location, you can use the maximum likelihood estimation. Normally, you would encounter problems such as cost and time constraints. If you could not afford to measure all of the basketball players’ heights, the maximum likelihood estimation would be very handy. Using the maximum likelihood estimation, you can estimate the mean and variance of the height of your subjects. The MLE would set the mean and variance as parameters in determining the specific parametric values in a given model.

To sum it up, the maximum likelihood estimation covers a set of parameters which can be used for predicting the data needed in a normal distribution. A given, fixed set of data and its probability model would likely produce the predicted data. The MLE would give us a unified approach when it comes to the estimation. But in some cases, we cannot use the maximum likelihood estimation because of recognized errors or the problem actually doesn’t even exist in reality.

For more information regarding OLS and MLE, you can refer to statistical books for more examples. Online encyclopedia Websites are also good sources of additional information.

Summary:

  1. “OLS” stands for “ordinary least squares” while “MLE” stands for “maximum likelihood estimation.”
  2. The ordinary least squares, or OLS, can also be called the linear least squares. This is a method for approximately determining the unknown parameters located in a linear regression model.
  3. Maximum likelihood estimation, or MLE, is a method used in estimating the parameters of a statistical model and for fitting a statistical model to data.

dzzxjl

Home Linux ML Python Java Thoughts KmKg BookCan Links About