Giter Site home page Giter Site logo

datascience_interactive_python's Introduction

I'm Michael Pyrcz (a.k.a. GeostatsGuy), a professor working in Data Analytics, Geostatistics and Machine Learning at The University of Texas at Austin, Austin, Texas, USA and a Ukrainian Canadian. I share all of my university content to support my students, potential students and working professionals interested to learn about data science. I have a lot of well-documented workflows in Python, R (and even Excel) in my repositories, including all of the hands-on exercises and demonstrations for all of my lectures shared freely on my YouTube channel. Follow me on Twitter, where I share resources and positivity daily.

website twitter youtube linkedin linkedin

datascience_interactive_python's People

Contributors

geostatsguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datascience_interactive_python's Issues

"Ordinary Least Squares Fitting" and "Maximum Likelihood Fitting" bullets are identical

In https://github.com/GeostatsGuy/DataScience_Interactive_Python/blob/main/Interactive_Model_Fitting.ipynb
the bullets (near the top) for "Ordinary Least Squares Fitting" and "Maximum Likelihood Fitting" are identical and equation (1) is the same as (2) - both calculate variable Beta-hat^OLS.

So I asked ChatGPT; feel free to use its response.

User
What is the difference between "Ordinary Least Squares Fitting" and "Maximum Likelihood Fitting"

ChatGPT
"Ordinary Least Squares (OLS) fitting" and "Maximum Likelihood (ML) fitting" are both methods used in statistics and econometrics to estimate the parameters of a model based on observed data. While they share some similarities, they differ in their underlying principles and assumptions.

Principle:
OLS: OLS fitting aims to minimize the sum of the squared differences between the observed values and the values predicted by the model.
ML: ML fitting aims to maximize the likelihood function, which is a measure of how likely the observed data are given the parameter values of the model.

Assumptions:
OLS: OLS assumes that the errors (the differences between the observed values and the predicted values) are normally distributed with a mean of zero and constant variance.
ML: ML makes fewer assumptions about the distribution of errors and instead focuses on maximizing the likelihood of observing the actual data under the assumed distribution.

Application:
OLS: OLS is commonly used in linear regression models, where the relationship between the independent variables and the dependent variable is assumed to be linear.
ML: ML is more general and can be applied to a wider range of models, including models with non-linear relationships and models with different distributions of errors.

Efficiency:
ML: ML estimation tends to be more efficient than OLS estimation when the assumptions of the ML method are met. This means that ML estimators often have smaller variances and are closer to the true parameter values.
OLS: OLS estimation can be less efficient if its assumptions are violated, leading to biased and inconsistent parameter estimates.

In summary, while both OLS and ML fitting are methods used for parameter estimation in statistical modeling, they differ in their underlying principles, assumptions, and applications. OLS is more restrictive in its assumptions and application but is simpler and easier to implement, while ML is more flexible and efficient but requires fewer assumptions and can handle a wider range of models.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.