summary.TSVC: Summary of Tree-Structured Varying Coefficient Models

View source: R/summary.TSVC.R

summary.TSVCR Documentation

Summary of Tree-Structured Varying Coefficient Models

Description

Summary for an object of class TSVC, with an overview of all executed splits during the fitting process.

Usage

## S3 method for class 'TSVC'
summary(object, ...)

## S3 method for class 'summary.TSVC'
print(x, ...)

Arguments

object

object of class TSVC.

...

further arguments passed to or from other methods.

x

object of class summary.TSVC.

Value

object of class "summary.TSVC". An object of class "summary.TSVC" is a list containing the following components:

stats

overview of detected varying coefficients, responsible effect modifiers and executed splits.

nosplits

total number of executed splits during the fitting process.

Author(s)

Moritz Berger <Moritz.Berger@imbie.uni-bonn.de>
https://www.imbie.uni-bonn.de/people/dr-moritz-berger/

References

Berger, M., G. Tutz and M. Schmid (2019). Tree-Structured Modelling of Varying Coefficients. Statistics and Computing 29, 217-229, https://doi.org/10.1007/s11222-018-9804-8.

See Also

TSVC, plot.TSVC, predict.TSVC

Examples

# Swiss Labour Market 
library(AER)
data("SwissLabor")

# recode factors
sl <- SwissLabor
sl$participation <- as.numeric(sl$participation)-1
sl$foreign       <- as.numeric(sl$foreign)-1

## Not run: 
fit1 <- TSVC(participation~income+age, data=sl, family=binomial(link="logit"), 
             nperm=1000, trace=TRUE)
summary(fit1)

## End(Not run)



TSVC documentation built on Oct. 17, 2023, 5:12 p.m.