Learn R Programming

RCBR (version 0.6.2)

predict.GK: Prediction of Marginal Effects

Description

Given a fitted model by the Gautier Kitamura procedure predictions are made at new design points given by the newdata argument.

Usage

# S3 method for GK
predict(object, ...)

Value

a vector pf predicted probabilities

Arguments

object

is the fitted object of class "GK"

...

is expected to contain an argument newdata