Description Usage Arguments Details Value Author(s) See Also
Predicted values based on an TDboost Tweedie regression model object
1 2 3 4 5 6 7 
object 
Object of class inheriting from ( 
newdata 
Data frame of observations for which to make predictions 
n.trees 
Number of trees used in the prediction. 
single.tree 
If 
type 
type of prediction required.

... 
further arguments passed to or from other methods 
predict.TDboost
produces predicted values for each observation in newdata
using the the first n.trees
iterations of the boosting sequence. If n.trees
is a vector than the result is a matrix with each column representing the predictions from TDboost models with n.trees[1]
iterations, n.trees[2]
iterations, and so on.
The predictions from TDboost
do not include the offset term. The user may add the value of the offset to the predicted value if desired.
If object
was fit using TDboost.fit
there will be no
Terms
component. Therefore, the user has greater responsibility to make
sure that newdata
is of the same format (order and number of variables)
as the one originally used to fit the model.
Returns a vector of predictions. By default the predictions are on the scale of f(x).
Yi Yang [email protected], Wei Qian [email protected] and Hui Zou [email protected]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.