Multiple Linear Regression using R ( All about it )

Поделиться
HTML-код
  • Опубликовано: 15 июл 2024
  • Regression is a popular predictive algorithm especially for numerical continuous variables. In this video, we will see how to create a regression model and analyse the results using R step by step.
    R Program installation steps:-
    Please install R framework in your system. It is available for Linux,Windows and Mac systems below.
    cran.utstat.utoronto.ca/
    Also, after you install R framework, install the IDE(Integrated Development Environment), i.e R studio Desktop from below link.
    www.rstudio.com/products/rstu...
    Data dictionary:
    www.cs.toronto.edu/~delve/dat...
    Logistic Regression: Check this out for the Stratified Random sampling
    • Logistic Regression us...
  • НаукаНаука

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

  • @feyzanuronal2598
    @feyzanuronal2598 10 месяцев назад

    Such a great and clear video! I watched so many videos but couldn't find something which clearly explains linear and multiple regression on R so clearly. Thanks a lot!

  • @arunasaravanapandian3294
    @arunasaravanapandian3294 Год назад +1

    Thanks for the explanation, it was really helpful ☺️

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

    Good content on contionus predictions

  • @divyasukumar7324
    @divyasukumar7324 4 года назад +1

    Thanks for the detailed and clean explanation

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

    Thank you very much! You helped me so much

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

    Thank for the video. Can we find whether the error is homoskedastic using your table with coefficients? if the standard deviations for two variables are close to each other?

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

    thank u for this. how would you plot the regressed variable recommendation coded in 0 and 1, and other variables in values ranging from 1-16????

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

      Looks like you need to do categorization by probability of occurrence. This should follow the regression analysis..

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

      @@dataexplained7305 would you be able to explain how this would be done? appreciate your feedback

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

      Sorry for delay.. I haven't done this myself.. can check and make a video soon..

  • @pandemonium7617
    @pandemonium7617 4 года назад +1

    I like your video

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

    thank you so much! no where else on the internet could i find an answer to my question

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

    how can I prove that Residual standard error is equal to the square root of MSE? can i find this information using the linear regression?

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

      Calculate the error( i.e., PredictedY-ActualY) -> square that difference for each row -> then get the Mean of that whole column -> Square root of it. This will give you the Root Mean Square Error. When you stop before making the square root, it will give you the Mean Square Error. Now, you can show this in the script by using two functions RMSE(y_pred, y_true) and MSE(y_pred, y_true). Hope this helps !! Let me know

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

      Thank you so much!!!

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

    Hi. Is there any way to perform multiple linear regression on raster time series images?

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

    Well Explained, simplified... but am having a doubt is this multiple regression or curvilinear regression.. Can you clear my doubt..

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

    Please can you tell me how to use very large amounts of variables?

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

    How can we code this: rent price= b0+ b1sqrft+b2bdrms+b3sqrft^2+u
    Can we code it like: MLRhouseregression=lm(price~sqrft+bdrms+sqrft^2, data=hprice1)?

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

      I suggest try the predictor variables in different combinations by adding/dropping them and which ever gets best measures make the decision based on that..

  • @qamarshahzad3413
    @qamarshahzad3413 Год назад +1

    Your video screen is not visible, could you please check it?

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

    Can we find the R skript of the codes somewhere? Btw: Very good video

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

      Thanks.. you might have to scrape it from the video only..

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

      Thank you, and may I ask if I can use the f-stat with only 1 restriction (q=number of restrictions=1?)

  • @HarpreetKaur-bx1ej
    @HarpreetKaur-bx1ej 2 года назад +1

    I am getting r squared value 0.008569 which is about 0.9% and f stat value is 19.62. getting 0.9% squared values is good or bad please help. As i am confused in this

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

      Thanks for the Q..looks like there is very less correlation between your predictor and target .. try switching the features/variables.. and see if the Rsq.value Improves ?

    • @HarpreetKaur-bx1ej
      @HarpreetKaur-bx1ej 2 года назад

      @@dataexplained7305 sorry i tried but not getting any good value. i am working on Parkinson's dataset

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

      I can take a look if you can send me the details to my email..
      dataandyou@gmail.com

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

    how can i download these dataset?

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

    bro why is the data partitioned and a testing data set is created ? @DataExplained