get_mnpp.rtree: Get the MNPP for a Regression Tree

View source: R/permute.R

get_mnpp.rtreeR Documentation

Get the MNPP for a Regression Tree

Description

Finds the lowest complexity parameter for a null regression tree fit

Usage

get_mnpp.rtree(z, data, Trt, Y)

Arguments

z

a numeric vector of estimated CATEs from Step 1

data

a data frame containing a response, binary treatment indicators, and covariates.

Trt

a string specifying the name of the column of data contains the treatment indicators.

Y

a string specifying the name of the column of data contains the response.

Value

the MNPP


jackmwolf/tehtuner documentation built on June 10, 2025, 10:32 p.m.