inverse of 'predict' function

后端 未结 5 625
有刺的猬
有刺的猬 2021-02-08 07:33

Using predict() one can obtain the predicted value of the dependent variable (y) for a certain value of the independent variable (x) for a

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-08 07:44

    For just a quick view (without intervals and considering additional issues) you could use the TkPredict function in the TeachingDemos package. It does not do this directly, but allows you to dynamically change the x value(s) and see what the predicted y-value is, so it would be fairly simple to move x until the desired Y is found (for given values of additional x's), this will also show possibly problems with multiple x's that would work for the same y.

提交回复
热议问题