Linear and Polynomial Regression in MATLAB

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • Data regression is an empirical method to develop correlations. This tutorial demonstrates how to use MATLAB to fit a line and polynomial functions along with plotting the results and performing a basic statistical analysis.

КОМЕНТАРІ • 30

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

    Straight up deserve a subscribe and a like. Thank you so much good sir. I wish you the very best and I hope you live a long and fulfilling life. God bless.

  • @yashrajkanaskar2452
    @yashrajkanaskar2452 2 роки тому +2

    Thanks a lot sir for this awesome tutorial!
    Pls also make a video on how to calculate the standard error of estimate in MATLAB.

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

      I don’t have it in Matlab, but here is something similar in Python: apmonitor.com/che263/index.php/Main/PythonRegressionStatistics

  • @TanveshDabholkar
    @TanveshDabholkar Рік тому +2

    how to find the multivariate regression equation for a regression model trained in regression toolbox?

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

      Here is more information on regression: apmonitor.com/pds/index.php/Main/RegressionOverview

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

    How would I go about adding a linear, power, and exponential curve to fit each third of a data set?

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

      You could break up the data set and then perform three separate regressions. Here is information on nonlinear regression: apmonitor.com/che263/index.php/Main/MatlabDataRegression

  • @usamakhan8375
    @usamakhan8375 8 років тому +2

    Helped a lot, thanks!

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

      +Usama Khan I'm glad that this video helped. There are many others on Python and MATLAB at the open course on Computational Tools for Engineers: apmonitor.com/che263

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

    Respected viewer
    I am having a system for which I have to regress 3 unknown parameters and also the function value(temperature dependent) basically NRTL model . May I please get some help.

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

      This tutorial may help: apmonitor.com/me575/index.php/Main/NonlinearRegression

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

    really good tutorial...thanks

  • @slim590
    @slim590 Рік тому +2

    what is SStotal?

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

      Total Sum of Squares

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

    Thanks for the tutorial. I have similar data points along with standard deviation (errorbar). So how do I show the deviation of slope ?

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

      Here is information on showing the prediction band and 95% confidence interval. uolab.groups.et.byu.net/files/Statistics%20Review%20Harding.pptx See slide 9 in particular.

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

    thanks a lot professor for the nice video. but, I want to ask something about regression. does regression has a strong correlation with numerical method, and is numerical method distinctively different with optimization? or even optimization is the part of numerical method? thank you.

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

      Regression is a type of optimization where parameters are adjusted to minimize a measure of how close the prediction aligns to data.

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

      Most regression methods use a numerical approach. Here is more information: apmonitor.com/che263/index.php/Main/PythonDataRegression (Python) or apmonitor.com/che263/index.php/Main/MatlabDataRegression (MATLAB)

  • @thanotoast.5468
    @thanotoast.5468 3 роки тому +1

    How can we generate quadratic equation from given data

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

      The coefficients of the quadratic equation are available with disp(p2) at 2:40 in the video.

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

    Awesome thank you :)

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

    Hello Sir, How do we calculate correlation for polynomials...?

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

    Do you have any Matlab based source code for multivariate linear regression?

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

      Yes, here are some tutorials: apmonitor.com/do

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

    thank you ^^

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

    Can u help me dude ? I have a problem with my matlab question

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

      Here are additional resources for regression: apmonitor.com/che263/index.php/Main/MatlabDataRegression unfortunately I can't help with all user specific questions but I can point to resources. Maybe you could post to StackOverflow or to Mathworks to get a community of users to help with your problem as well.

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

    i cant see anything blur

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

      +Qurrat Hyder, all videos are available in 1080p (1960px x 1080px). UA-cam automatically scales back the video resolution for slow Internet connections. I'd recommend switching to 1080p in the options at the bottom right and wait for the video to load. Let me know if this does not fix the blurry issue.