RStudio: how to make predictions with multiple linear regression models

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024

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

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

    Helped me with my stats project. Thanks!

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

    Your videos are so helpful, thanks!

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

    This video is crazy good. So clean and helpful. Thank you
    If you want to put the prediction data back into the data, what do you use?

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

    so i am trying to do this but i actually need the first term in the factor/character variable. is there a way i can include this in my coef of the lm

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

    hi, trying to do a prediction for couple of alternate days for sales data project. wonder if you could shed some light on this

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

    Sir, can u give me an example how to do the predict automatically to all observation data with same independent variable from the model we got before?

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

      If you want to get the predicted values from the model for each X variables in the data you use fitted.values which is explained in #3.1b of the video

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

      @@PhilChanstats i mean, automatically all observed data are predicted. Not one by one. Im sorry if my english is bad, hope u understand it well

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

    Oh, a time when 36K house was overpriced....