orf0.1.4 package

Ordered Random Forests

check_discrete_Y

check if Y is discrete

check_eval

check evaluation for margins

check_honesty

check honesty

check_honesty_fraction

check honesty fraction

check_importance

check importance

check_inference

check inference

check_latex

check latex

check_min_node_size

check min.node.size

check_mtry

check mtry

check_newdata

check newdata

check_num_trees

check num.trees

check_replace

check replace

check_sample_fraction

check sample.fraction

check_type

check prediction type for predict.orf

check_window

check window size

check_X

check X data

check_Y

check Y data

get_forest_weights

Get Forest Weights

get_honest

Get Honest Predictions

get_honest_C

Get honest predictions (C++)

get_orf_variance

Get ORF Variance

get_weights_C

Get honest weights (C++)

honest_split

honest sample split

margins.orf

Marginal Effects for the Ordered Forest

margins

Marginal Effects

margins_output

Formatted output for marginal effects with inference

margins_output_latex

Formatted latex output for marginal effects with inference

mse

Mean Squared Error

orf-package

orf: Ordered Random Forests

orf

Ordered Forest Estimator

plot.orf

Plot of the Ordered Forest

pred_honest_C

Predict honest predictions (C++)

pred_orf_variance

Predict ORF Variance

pred_weights_C

Predict honest weights (C++)

predict.orf

Prediction of the Ordered Forest

predict_forest_preds_for_ME

ORF Predictions for Marginal Effects

predict_forest_weights

Predict Forest Weights

predict_forest_weights_for_ME

ORF Weight Predictions for Marginal Effects

predict_honest

Predict Honest Predictions

print.margins.orf

Print of the Ordered Forest Marginal Effects

print.orf.prediction

Print of the Ordered Forest Prediction

print.orf

Print of the Ordered Forest

rps

Ranked Probability Score

summary.margins.orf

Summary of the Ordered Forest Marginal Effects

summary.orf.prediction

Summary of the Ordered Forest Prediction

summary.orf

Summary of the Ordered Forest

An implementation of the Ordered Forest estimator as developed in Lechner & Okasa (2019) <arXiv:1907.02436>. The Ordered Forest flexibly estimates the conditional probabilities of models with ordered categorical outcomes (so-called ordered choice models). Additionally to common machine learning algorithms the 'orf' package provides functions for estimating marginal effects as well as statistical inference thereof and thus provides similar output as in standard econometric models for ordered choice. The core forest algorithm relies on the fast C++ forest implementation from the 'ranger' package (Wright & Ziegler, 2017) <arXiv:1508.04409>.

  • Maintainer: Gabriel Okasa
  • License: GPL-3
  • Last published: 2022-07-23