ECO375F - 1.0 - Derivation of the OLS Estimator

Поділитися
Вставка
  • Опубліковано 23 вер 2015
  • This is the 1st tutorial for ECO375F.
    We cover the derivation of the Ordinary Least Squares Estimator.
    1) Review: Linear model
    2) OLS Minimization Problem
    3) First Order Conditions and Implications (Sum of residuals = 0)
    4) Derivation of the OLS Estimators b0 and b1

КОМЕНТАРІ • 111

  • @Joe_Rogan_HindiUrdu
    @Joe_Rogan_HindiUrdu 4 роки тому +14

    i havent seen anyone teaching Econometrics with this ease and grip on the subject ..

  • @anushkabhosale5680
    @anushkabhosale5680 8 місяців тому +2

    Bro have an exam tomorrow and you made it super simple to revise...! thank you

  • @ItsMattOK
    @ItsMattOK 3 роки тому +4

    you are an absolute legend for posting this. It was so helpful! You organised the video and the results in such an great way the results became iterative. Thank you!

  • @clara___3374
    @clara___3374 4 роки тому +2

    Such a great video. We can get so many conclusions from an equation.

  • @nayantaraah
    @nayantaraah 7 років тому +7

    Thank you so much for these - not from UofT but watching these tutorials for 2 hours has helped me more than 6 weeks of lectures at my uni!

    • @RemiDav
      @RemiDav 7 років тому

      Hey Nayantara, I am glad it helped you.
      I hope it can help as many people as possible. Maybe I should change the name of the channel to remove UofT haha. Actually most of the viewers are not even from Canada.

  • @shia_seed_
    @shia_seed_ 2 роки тому +1

    Thank you for taking the time and making this video.

  • @AkbarningrumF_
    @AkbarningrumF_ 3 роки тому

    Great! thanks for sharing such remarkable knowledge... May God bless you

  • @amosouma3236
    @amosouma3236 Рік тому

    This has contributed a lot to my understanding. Thank you

  • @bigfriki
    @bigfriki 7 років тому +18

    This was fucking awesome!!! Thanks so much for taking the time, bro!

  • @loveconomics
    @loveconomics 3 роки тому +1

    You are an absolute beast. Thanks for your help!

  • @cristinacordero125
    @cristinacordero125 8 років тому +9

    thank you. :) this is well explained.

  • @ruochenli5978
    @ruochenli5978 2 роки тому

    Thanks for showing this derivation step by step!

  • @rafaellemos2478
    @rafaellemos2478 Рік тому +1

    You teach really well! Thanks a lot!

  • @theodoreduring6733
    @theodoreduring6733 4 місяці тому

    Thank you so much! Merci infiniment pour votre clarté absolue.

  • @simonmoos7576
    @simonmoos7576 5 років тому +2

    Merci beaucoup c'était vraiment bien expliqué!

  • @alyanilatifah8447
    @alyanilatifah8447 7 місяців тому

    Good explanation and video!!

  • @sudarmantosudarmanto1759
    @sudarmantosudarmanto1759 3 роки тому

    Good explanation. Congratulation sir. Teach me a lot

  • @akinnuoyesamuel9082
    @akinnuoyesamuel9082 3 роки тому

    The best on UA-cam!! I rarely comment on UA-cam. But for this I have to.

  • @shahzad5675
    @shahzad5675 2 роки тому

    Excellent Tutorial.

  • @kofiansahdarko7557
    @kofiansahdarko7557 3 роки тому

    You're the best of best. Thanks a lot

  • @jacobfewings4068
    @jacobfewings4068 Рік тому

    Thank you so much for this, much easier to understand than my lecturer 👍

  • @MrAbhijyot
    @MrAbhijyot 4 роки тому +1

    You are awesome! Thank you for the help

  • @jgenert
    @jgenert Рік тому

    You legend, I hope you're still teaching.

  • @neharana746
    @neharana746 3 роки тому

    Quite helpful. Thank you!

  • @williamsacquah2438
    @williamsacquah2438 6 років тому

    waw, awesome tutorial. thank you

  • @motorbikemichael
    @motorbikemichael 8 місяців тому

    this is top tier explanation

  • @sophiechen6677
    @sophiechen6677 4 роки тому

    This is so great!! I hope you come back and teach again

    • @RemiDav
      @RemiDav 4 роки тому

      Thanks a lot ! (^_^)

  • @baiqriniadekayanti3077
    @baiqriniadekayanti3077 4 роки тому

    Thank you so much. It's help me a lot...

  • @abdulbasithassan4634
    @abdulbasithassan4634 Рік тому

    Its a good presentation

  • @ruthmeilianna2736
    @ruthmeilianna2736 2 роки тому

    thank you, really helpful

  • @gabrielfaria7841
    @gabrielfaria7841 7 років тому

    Thank you so much!

  • @clairelolification
    @clairelolification 7 років тому +4

    thank you from York U!!!

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  7 років тому

      A pleasure to help Toronto Universities Students ;)

    • @Account2129
      @Account2129 3 роки тому

      @@EconometricsAndAnalytics 6:00 I dont understand how that simplification works, please help!

  • @christophertang45
    @christophertang45 8 місяців тому

    Thank you so much!!!!

  • @michaellucci132
    @michaellucci132 3 роки тому

    UofT alum, overseas for my masters, thanks for the help!

  • @JestoneChibuye
    @JestoneChibuye 2 дні тому

    Thank you for this

  • @vaibhav_uk
    @vaibhav_uk Рік тому

    CAN'T BELIEVE THIS WAS SO SIMPLE

  • @ronnazya298
    @ronnazya298 5 років тому +1

    Well explained, thank you .

  • @kasiditwongjarusatit4275
    @kasiditwongjarusatit4275 5 років тому +2

    Thank you :)

  • @niranjanamaheswari
    @niranjanamaheswari 2 роки тому

    Thanks a lot

  • @rayindaputri1656
    @rayindaputri1656 3 роки тому

    Thank you soooo muchhh

  • @zhengyu7694
    @zhengyu7694 3 роки тому

    Please! Make more! MOREEEE!!!

  • @hebagouda7212
    @hebagouda7212 2 роки тому

    Thank you thank yo thank you🙈

  • @torigreenaway192
    @torigreenaway192 7 років тому

    thank u soo much

  • @dinosarker4942
    @dinosarker4942 6 років тому

    Thank you :,)

  • @umiddey8714
    @umiddey8714 4 роки тому

    Regards from TU Dortmund.

  • @mertcanmutlu5949
    @mertcanmutlu5949 5 років тому

    thanks a lot

  • @ruye2254
    @ruye2254 3 роки тому

    pure gold

  • @mahmoudfaiz5624
    @mahmoudfaiz5624 3 роки тому

    Awesome Tutorial, I'm grateful for your free knowledge sharing.
    Can I get the following tutorials?
    Please Assist me.

  • @chakraacharya409
    @chakraacharya409 5 років тому +1

    systematic, Felt real environment, I am an old age student

  • @tinnesvelo882
    @tinnesvelo882 5 років тому

    In the Derivation of OLS Estimators, can i know how you simplify the n?

  • @jaybee2329
    @jaybee2329 2 місяці тому

    Is the sum of the error term the same as the expected value of the error term, since both equal zero?

  • @safiranajuba8093
    @safiranajuba8093 3 місяці тому +1

    My listening skill is not well, please adding the subtitle so that i can understand it more

  • @1UniverseGames
    @1UniverseGames 3 роки тому

    Can you please show us how we can obtain intercept and slope of B0 and B1 after shift line l to l'? Till now I understand but next part I can't solve it

  • @praveenapanwar9831
    @praveenapanwar9831 6 років тому

    Why sigma ui hat has been devided by 1/n ?

  • @some_g333
    @some_g333 7 років тому

    Thanks for these videos. Are there any equivalent lessons for advanced topics also using matrix algebra?

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  7 років тому +2

      I found there are a lot of existing videos for Matrix Algebra.
      Is there any particular topic you were interested in ?
      I particularly like this playlist that uses an intuition based approach:
      ua-cam.com/play/PLZHQObOWTQDPD3MizzM2xVFitgF8hE_ab.html

    • @some_g333
      @some_g333 7 років тому

      Thanks for the reply. The link looks useful. The course I am doing follows M. Verbeek, A Guide to Modern Econometrics. We have started with OLS estimation and moved on to maximum likelihood estimation, methods of moments estimation, and Within and Random Effects Estimation using panel data.
      Although I have been taught about OLS estimation before, it has adopted the single observation proofs/derivations, such as this video. However now everything is being taught in vector/matrix notation, which I'm finding a bit confusing.
      There is a particular example; I am struggling with seeing how one can easily go from summation notation using vectors to matrix notation, particularly when deriving the OLS estimator.
      Thanks again!

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  7 років тому

      Oh, you are doing graduate level econometrics.
      I might do a video when I go back to the office at the end of the week. Message me if I forget.
      If you want to try it by yourself. Remember that the X matrix has first a column of 1. After a few manipulations, that gives you the sum of x, or sum of y when you multiply it with the right vector.

    • @some_g333
      @some_g333 7 років тому

      Help for Economics UofT That would be great, thanks. You're videos are helpful as they go through each step of the algebra, so I would appreciate it.

  • @user-lf5ty9wn4g
    @user-lf5ty9wn4g 8 років тому +1

    3.32 you wrote minus in yi=B0 - BXi (with hats) however in picture of graph fitted value is plus yi=B0 + BXi (with hats)????

    • @RemiDav
      @RemiDav 8 років тому +3

      +Промо Код The trick here is - (B0 + BXi) = - B0 - BXi
      Since we have minus y_hat we have to put minuses everywhere (or put parentheses)

  • @barovierkevinallybose1040
    @barovierkevinallybose1040 5 років тому

    isn't the sum of expectation to actual values squared your SSE? while SSR is expectation to average

  • @mishrapaniamazingworld2147
    @mishrapaniamazingworld2147 10 місяців тому

    Why Yi hat does not include ui hat

  • @shengzhou6170
    @shengzhou6170 5 років тому

    so what's the point of getting u hat = 0, if you could just derive the estimator in the last part of the video

  • @Account2129
    @Account2129 3 роки тому +2

    6:00 I dont understand how that simplification works, please help!

    • @girgiee
      @girgiee 3 роки тому

      Grim Reaper He is taking the derivative of the equation he had above, so exponent comes down, rewrite equation and the power is what you had before '-1' so in this case it was to the power 2 but now its to the power one. After that you must multiply it by the derivative of the equation inside the brackets, thus giving him (-1). I hope this helps

  • @fethiye8114
    @fethiye8114 Рік тому

    Could you please tell me after the 9th minute?

  • @shumbaprosper
    @shumbaprosper 8 років тому

    how did you come up with nx-bar squared when you multiplied x-bar and x

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  8 років тому

      +Prosper K Shumba
      Are you talking about Sum(x.xbar) ?
      Since x.bar does not change with i, I can take it out of the sum and get xbar*sum(x).
      And sum(x)=n xbar by definition: from xbar = sum(x)/n

    • @shumbaprosper
      @shumbaprosper 8 років тому

      +Help for Economics UofT yes i was talking about Sum(x.xbar). thanks for the explanation. do you have clips on how to conduct the various tests for heteroskedasticity such as the Koenkar, Koenkar-Basset, Glejser etc using excel?

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  7 років тому

      I don't, sorry :(

    • @tahiraniaz1056
      @tahiraniaz1056 6 років тому

      thank you so much for calculating bets in such a esay way.

  • @McRandyuk
    @McRandyuk 6 років тому

    Hi thanks for the videos! Can you do a video on proving alpha hat and it's relation to gauss Markov when looking at alpha tilda star ☺️☺️

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  6 років тому

      Hi Rishi, with your question, I have no clue what alpha is. (There are about a million methods that can use an alpha hat)
      Also to prove something you need a provable statement.
      For instance "Rishi asked a question" is a statement and I can prove it.
      But I cannot prove just "Rishi". It is the same as asking me to prove "alpha hat".
      Good luck with your research !

    • @McRandyuk
      @McRandyuk 6 років тому

      Help for Economics UofT is there any way I could send you the question sheet, it's very difficult for me to express it on UA-cam

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  6 років тому +1

      I would advise to get a Tutor or ask a more senior student to help.
      As much as I would like to, it is impossible for me to answer individual questions like this.
      Good luck with your study of econometrics !

    • @mahmoudfaiz5624
      @mahmoudfaiz5624 3 роки тому

      @@EconometricsAndAnalytics please respond

  • @uppergroundec
    @uppergroundec 8 років тому

    at 16:38 you write that (xi-Xbar)=Xi uppercase ...why? it should be xi lowercase or the same xi deviation? may you explain?
    thanks.

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  8 років тому

      It is not an uppercase, just bad hand writing (-_-;) sorry for the confusion

    • @uppergroundec
      @uppergroundec 8 років тому

      ok, but it`s not clear yet for me, excuse me...I hope you understand me...then you write at 16:44 ... =SUMXi2...but how can this be able? it is a Xi uppercase times xi lowercase? could you explain please? thanks again

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  8 років тому

      Everything is lowercase

  • @ericcartman7545
    @ericcartman7545 7 років тому

    Why do you take derivatives with respect to Bo and B1 and not xi?

    • @bigfriki
      @bigfriki 7 років тому +4

      Hmm... the xi are already given. We want to know what beta0 and beta1 are so that ui^^2 is minimized. With the derivative of SSR with respect to beta0 we are basically asking "for which beta0 is SSR minimized?" and the same goes for beta1.
      Doing the derivative of SSR with respect to xi is the same as asking "for which xi is SSR minimized?" which wouldn't help us at all since the xi are given from our data set (we can't choose a random xi at will).
      Hope this helps!

  • @prashant0104
    @prashant0104 3 роки тому

    implications of first order condition - sum of error terms is zero, and covariance between error terms and x terms is zero.

  • @fethiye8114
    @fethiye8114 Рік тому

    Can you tell me between 9 and 17 minutes please

  • @sudip2818
    @sudip2818 7 років тому

    great explanation. can you help me for LASSO model ??

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  7 років тому +2

      Hey Sudip,
      To understand where the LASSO method comes from, you would have to first study Bayesian statistics. It would take me too long to make all the videos to cover that but there are already a lot of good things about it available on internet !

    • @sudip2818
      @sudip2818 7 років тому

      Ok thanks for your reply, I have an another doubt.For the linear regression model =>
      y_i = beta_0 + summation(x_i,j * beta_j )+ e_j
      . from here How I will find the values of (Beta_1,Beta_2 .... Beta_j) ??
      just help me at least this.

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  7 років тому +1

      ua-cam.com/video/OHJXFAPqiVo/v-deo.html

    • @sudip2818
      @sudip2818 7 років тому

      Thank you so much. (Y)

  • @abdalucchash5717
    @abdalucchash5717 7 років тому

    Do you have videos regrading matrix derivations of OLS for time series?

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  7 років тому

      I don't have videos for derivations in matrix form, nor for time series, sorry. :(

    • @abdalucchash5717
      @abdalucchash5717 7 років тому

      Would help if you do graduate level econometrics

  • @yilingshen7753
    @yilingshen7753 5 років тому

    Why use n not n-1, it’s sample Can somebody explain

    • @RemiDav
      @RemiDav 5 років тому

      Because it is based on the law of large numbers (requiring 1/n), so it is a bit different from the covariance based on unbiasedness.
      But here it doesn't matter much which one you use, both are at 0.

    • @yilingshen7753
      @yilingshen7753 5 років тому

      Thank you!!

  • @yesseniafonttisbeltran457
    @yesseniafonttisbeltran457 4 роки тому

    i need you :(

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  4 роки тому +1

      Here is the motivational support:
      Dont give up! You can definitely do it!

    • @yesseniafonttisbeltran457
      @yesseniafonttisbeltran457 4 роки тому

      @@EconometricsAndAnalytics
      How can I know the relationship between 2 estimators

    • @yesseniafonttisbeltran457
      @yesseniafonttisbeltran457 4 роки тому

      Suppose we estimate a consumption function
      Yi = α0 + α1Xi + ui, i = 1, ..., n,
      and a saving function
      Zi = β0 + β1Xi + vi, i = 1, ..., n,
      where: • Yi: consumption of individual i
      • Zi: saving of individual i
      • Xi: income of individual i
      Since income is equal to the sum of consumption and savings, Xi = Yi + Zi,
      ________
      What is the relationship between the MCO estimators of α0, α1 and those of β0, β1? b. Is the sum of squares of the residuals the same for the two models?
      Can the two models be compared in terms of R2?
      Abrir en Google Traductor

    • @EconometricsAndAnalytics
      @EconometricsAndAnalytics  4 роки тому +1

      @@yesseniafonttisbeltran457 substitute Xi by Yi + Zi, solve for Zi and Yi, and you have what we call a "Simultaneous equations model".
      You should find a chapter about that in most econometrics books (or online), since it is a classical problem in econometrics (for supply vs demand). You will need instrumental variables to estimate the coefficients.

    • @yesseniafonttisbeltran457
      @yesseniafonttisbeltran457 4 роки тому

      @@EconometricsAndAnalytics thank you very much

  • @clapdrix72
    @clapdrix72 6 років тому

    "Basically" in English means "more or less", so I wouldn't use it if something is exact

  • @dantewilburchang8790
    @dantewilburchang8790 Рік тому

    I still don't get it I guess I'll watch it 10 more times :(

    • @RemiDav
      @RemiDav Рік тому

      If it is not clear, maybe you can be more effective by covering the prerequisites instead of rewatching it.
      To understand it, you need 2 things: calculus and optimization.
      Maybe watch some videos about these topics first, then the video should become easy to follow.

    • @dantewilburchang8790
      @dantewilburchang8790 Рік тому

      @@RemiDav Ok thank you