# meanT

0th

Percentile

##### Mean t-Statistic Between Two Groups of Growth Curves

The mean-t statistic of the distance between two groups of growth curves.

Keywords
regression
##### Usage
meanT(y1, y2)
##### Arguments
y1
matrix of response values for the first group, with a row for each individual and a column for each time. Missing values are allowed.
y2
matrix of response values for the second group. Must have the same number of columns as y1. Missing values are allowed.
##### Details

This function computes the pooled two-sample t-statistic between the response values at each time, and returns the mean of these values weighted by the degrees of freedom. This function is used by compareGrowthCurves.

##### Value

• numeric vector of length one containing the mean t-statistic.

compareGrowthCurves, compareTwoGrowthCurves

• meanT
##### Examples
y1 <- matrix(rnorm(4*3),4,3)
y2 <- matrix(rnorm(4*3),4,3)
meanT(y1,y2)

data(PlantGrowth)
compareGrowthCurves(PlantGrowth$group,as.matrix(PlantGrowth$weight))
# Can make p-values more accurate by nsim=10000
Documentation reproduced from package statmod, version 1.4.13, License: LGPL (>= 2)

### Community examples

Looks like there are no examples yet.
{"ft_lang_label":"__label__en","ft_lang_prob":0.77562463,"math_prob":0.97627604,"size":1033,"snap":"2020-34-2020-40","text_gpt3_token_len":266,"char_repetition_ratio":0.11953353,"word_repetition_ratio":0.05263158,"special_character_ratio":0.2303969,"punctuation_ratio":0.10471204,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99219835,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-08-12T12:37:57Z\",\"WARC-Record-ID\":\"<urn:uuid:62657bb3-e88e-4277-b024-63fc21d42760>\",\"Content-Length\":\"14644\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:b90da03d-401e-4325-b655-c9ccbd2bb2cd>\",\"WARC-Concurrent-To\":\"<urn:uuid:d3fa65f8-89b1-4a04-a037-9037afc7c1bc>\",\"WARC-IP-Address\":\"3.211.91.203\",\"WARC-Target-URI\":\"https://www.rdocumentation.org/packages/statmod/versions/1.4.13/topics/meanT\",\"WARC-Payload-Digest\":\"sha1:O2PHI6DUYX5JTTLP244BMLNBWP7LNDGW\",\"WARC-Block-Digest\":\"sha1:KO2MHDDJ3U5LHTZLIVGYP57RZRUQFPET\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-34/CC-MAIN-2020-34_segments_1596439738892.21_warc_CC-MAIN-20200812112531-20200812142531-00095.warc.gz\"}"}