How to Run a Regression in Python

Поделиться
HTML-код
  • Опубликовано: 27 дек 2020
  • Just getting started with using Python for econometrics or data science?
    We walk through the process from importing the necessary Python packages, gathering example data from the Federal Reserve, to estimating a simple ordinary least squares regression to viewing the output table.
    Getting Started with Python:
    • A First Look at Using ...
    Federal Reserve Economic Database:
    fred.stlouisfed.org

Комментарии • 33

  • @user-hu7ov6fi9y
    @user-hu7ov6fi9y 3 года назад +1

    Mike, Thanks a lot for sharing your knowledge with us. Your contribution to econometrics and data science is much appreciated. Keep going!

  • @rizgarpetekkaya879
    @rizgarpetekkaya879 3 года назад +4

    thank you for your works, we will be watching till you stop.

  • @mahatmaalimibrahim6631
    @mahatmaalimibrahim6631 3 года назад +2

    Great as usual. Thank you a lot.

  • @empowercode
    @empowercode 3 года назад +9

    Hey! I just found your channel and subscribed, love what you're doing! Particularly, I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your RUclips Journey and can't wait to watch your next upload. Cheers, happy holidays, and keep up the great work :)

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  3 года назад +1

      Thank you very much for the kind words! I just checked out your channel, and really like your walk-through of scraping news articles - I'll recommend it to my students, for sure. Happy holidays to you, as well!

    • @empowercode
      @empowercode 3 года назад

      @@mikejonaseconometrics1886 Wow, thank you so much! I really appreciate it :)

  • @Hotdog-ro8of
    @Hotdog-ro8of 10 месяцев назад

    I just started using python and was struggling on this and this video cleared everything up!

  • @Godsplan45
    @Godsplan45 2 года назад

    Great job waiting for more

  • @markejon4408
    @markejon4408 3 года назад +3

    Always a great video! Thank you so much!!!!

  • @mowahedeconomicslectures8941
    @mowahedeconomicslectures8941 2 года назад

    It was great lecture for me, thanks!

  • @viciwo3396
    @viciwo3396 Год назад

    Great tutorial! Thanks alot!

  • @SlowBurnHotWheels
    @SlowBurnHotWheels 2 года назад +1

    Thank you ever so much sir!

  • @sidaliseghiri1655
    @sidaliseghiri1655 2 года назад

    Thank you, you are the best

  • @Meisam10524282
    @Meisam10524282 3 года назад +2

    thank you, this is extremely helpful.

  • @aditya-dixit
    @aditya-dixit 3 года назад +2

    Amazing Video and great to know how python can be used for statistical analysis!

  • @ralphnestorpadero950
    @ralphnestorpadero950 3 года назад

    Very informative video. May I ask how to perform a Variance Inflation Factor in Python?

  • @tylerbarrett8787
    @tylerbarrett8787 2 года назад

    Great video. I am curious if you can import more than 5 years of data from FRED. I am working on a project that requires at least 15 years of data. Thanks.

  • @watchmerise8608
    @watchmerise8608 3 года назад +2

    Thank you, Mike, for your effort! Would you please consider creating a playlist for Python programming as you did for R and STATA?

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  3 года назад +1

      You are very welcome, glad it was helpful. I am working on adding more Python videos, hopefully soon. Thank you!

  • @anonymousduckling3820
    @anonymousduckling3820 Год назад

    How would I describe the data set with an if statement? FOr example at 4:31 where Mike does ~~ fed_data1.describe() ~~ os there a way to include an if statement, such as for another data set with earnings schooling and male, describe if male =1?

  • @nickmishkin4162
    @nickmishkin4162 Год назад

    Great video! Once I create my regression model, how do I add inputs and predict the output?

  • @xxGamerKidx
    @xxGamerKidx 2 года назад +1

    How would I do this for bitcoin ?

  • @richardosborn3810
    @richardosborn3810 2 года назад

    I got stuck on the very first line :/
    I get a traceback error: pip install is a syntax error.

  • @BillusTinnus
    @BillusTinnus 3 года назад

    Nice

  • @mumar92
    @mumar92 3 года назад

    Is there a computational advantage of using Python over R or Stata?

    • @peteradam942
      @peteradam942 3 года назад +1

      Python is more parsimonious than R

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  3 года назад +2

      This is a great question. For most things, they are all comparable. Python is better at dealing with large data sets, and at web scraping. R is best for data visualization, and is the standard language of data scientists. Stata is the most user-friendly, has the best documentation, now is easier to integrate with python, and is the most common among academic economists.