Learn R Programming

TSVC (version 1.7.2)

summary.TSVC: 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 TSVC
summary(object, ...)

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

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.

Arguments

object

object of class TSVC.

...

further arguments passed to or from other methods.

x

object of class summary.TSVC.

Author

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

Run this code
# 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

if (FALSE) {
fit1 <- TSVC(participation~income+age, data=sl, family=binomial(link="logit"), 
             nperm=1000, trace=TRUE)
summary(fit1)
}


Run the code above in your browser using DataLab