mft_test: Functional t-test for mean curves from two spline mixed...

Description Usage Arguments Value

Description

Testing hypothesis mean(grp1) = mean(grp2).

Usage

1
2
mft_test(data, group, timepoints, id, points = 500, nboot = 1000,
  ncpus = 1, ...)

Arguments

data

[vector] with the response variable, i.e. values of some blood marker

group

[vector] with grouping information. Has to be same length as data and contain two groups.

timepoints

[vector] with timepoints of measurments of the values in data

id

[vector] with index for individuals

points

[Integer] number of grid points used for discretizing the functions when integrating.

nboot

[Integer] number of Bootstrap samples to use for estimating distribution of test statistic under H0.

ncpus

[Integer] number of CPUs to use, parallelization for > 2.

Value

pvalue for group differences


erdto/TPDT documentation built on May 16, 2019, 8:24 a.m.