# statsmodels.stats.multivariate.test_mvmean¶

statsmodels.stats.multivariate.test_mvmean(data, mean_null=0, return_results=True)[source]

Hotellings test for multivariate mean in one sample

Parameters
dataarray_like

data with observations in rows and variables in columns

mean_nullarray_like

mean of the multivariate data under the null hypothesis

return_resultsbool

If true, then a results instance is returned. If False, then only the test statistic and pvalue are returned.

Returns
resultsinstance of a results class with attributes

statistic, pvalue, t2 and df

(statistic, pvalue)tuple

If return_results is false, then only the test statistic and the pvalue are returned.
{"ft_lang_label":"__label__en","ft_lang_prob":0.5258854,"math_prob":0.9149434,"size":701,"snap":"2021-04-2021-17","text_gpt3_token_len":172,"char_repetition_ratio":0.14490674,"word_repetition_ratio":0.044444446,"special_character_ratio":0.19686162,"punctuation_ratio":0.15315315,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9516935,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-04-12T06:59:06Z\",\"WARC-Record-ID\":\"<urn:uuid:eb91276d-3436-42d7-9850-1ab48e991edf>\",\"Content-Length\":\"21796\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:35848246-8c44-4234-92d5-58ceac11ce02>\",\"WARC-Concurrent-To\":\"<urn:uuid:a7ae9f0f-c4f2-4a66-96bd-f02d2a81c638>\",\"WARC-IP-Address\":\"185.199.111.153\",\"WARC-Target-URI\":\"https://www.statsmodels.org/stable/generated/statsmodels.stats.multivariate.test_mvmean.html\",\"WARC-Payload-Digest\":\"sha1:JCLZZCI564GX6FPXJRG2INAAFK3H77VH\",\"WARC-Block-Digest\":\"sha1:6FF25HYAQRJJR3JR7CVZGAAD2UNFG7I2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-17/CC-MAIN-2021-17_segments_1618038066613.21_warc_CC-MAIN-20210412053559-20210412083559-00068.warc.gz\"}"}