larf.predict function

Predictions Based on the Estimated LARF

Predictions Based on the Estimated LARF

Predict new outcomes based on the model fitted by larf.

## S3 method for class 'larf' predict(object, newCov, newTreatment, ...)

Arguments

  • object: an object of class larf as fitted by larf.
  • newCov: A matrix containing the new covariates.
  • newTreatment: A vector containing the new binary treatment.
  • ...: currently not used.

Details

Predicted outcomes are based on the estimated coefficients and new covariates and/or new treatment. The predicted outcomes are probabilities when the outcome is binary.

Returns

  • predicted.values: The function returns a vector of the predicted outcomes.

Author(s)

Weihua An and Xuefu Wang, Departments of Statistics and Sociology, Indiana University Bloomington

See Also

larf, larf.fit

  • Maintainer: Weihua An
  • License: GPL-3
  • Last published: 2016-07-26

Useful links