y_hat: Calculates the predicted y values (y_hat) by the model

Description Usage Arguments Value Examples

Description

Takes in x and y vectors and returns the predicted y values (y_hat) by the model

Usage

1
y_hat(x, y)

Arguments

x

a numeric vector

y

a numeric vector that should not contain 0 values

Value

predicted y values (y_hat) by the model

Examples

1
 x = c(1:14) ; y = c(1880,813,376,161,100,61,31,9,8,2,7,4,3,2)

JannadiM/AdvandeNonLinearSquared documentation built on May 17, 2019, 3:13 a.m.