python - statsmodels - simple regression

www.statsmodels.org/stable/in...

Пікірлер: 1

  • @tonycardinal413
    @tonycardinal413 Жыл бұрын

    Thank you for the video. But why are you adding a column of constants to the dataframe. Cant you just predeict demand by entering a price? Why can't you do this? After all it is just plugging a demand number into an equation? I'm so confused why you are adding a column of 1s constants? thanks