Learn R Programming

WRI (version 0.2.1)

summary.WRI: Summary Function of Wasserstein Regression Model

Description

Summary Function of Wasserstein Regression Model

Usage

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

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

Arguments

object

an object returned by the wass_regress function

...

further arguments passed to or from other methods.

Examples

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

Run the code above in your browser using DataLab