Structural Forest for the Heterogeneous Newsvendor Model
Fit an SFHNV random forest
Prepare data for SFHNV trees and forests
Fit a Structural Forest Heterogeneous Newsvendor tree
Predict SFHNV random forest conditional CDF values
Predict conditional CDF values from an SFHNV tree
Predict SFHNV random forest point estimates
Predict SFHNV tree point estimates
Internal helper utilities
Implements the structural forest methodology for the heterogeneous newsvendor model. The package provides tools to prepare data, fit honest newsvendor trees and forests, and obtain point and distributional predictions for demand decisions under uncertainty.