summary.WRI {WRI}R Documentation

Summary Function of Wasserstein Regression Model

Description

Summary Function of Wasserstein Regression Model

Usage

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

Arguments

object

an object returned by the wass_regress function

...

further arguments passed to or from other methods.

Value

a list containing the following fields:

call

function call of the Wasserstein regression

r.square

Wasserstein R^2, the Wasserstein coefficient of determination

global_wasserstein_F_stat

Wasserstein global F test statistic from the Satterthwaite method

global_F_pvalue

p value of global F test

global_wasserstein_F_df

degrees of freedom of satterthwaite approximated sampling distribution used in global F test

partial_F_table

Partial F test for individual effects

Examples

data(strokeCTdensity)
predictor = strokeCTdensity$predictors
dSup = strokeCTdensity$densitySupport
densityCurves = strokeCTdensity$densityCurve

res <- wass_regress(rightside_formula = ~., Xfit_df = predictor,
Ymat = densityCurves, Ytype = 'density', Sup = dSup)
summary(res)

[Package WRI version 0.2.0 Index]