Displaying posts tagged with

“predicted value”

Estimation of confidence interval and predicted values of the dependent variable in a linear equation

Here provides a user-defined function to estimate predicted values of the dependent variable and corresponding confidence interval for a given dataset with linear relationship. The function definition is the following: yhat(Y, X, XNew, CI, alpha) Where, Y includes values of the dependent variable; X includes values of independent variables (can includes multiple columns (variables)); XNew [...]

  • Share/Bookmark