T.test from summary statistics in R?

In R prop.test can take a table of summary statistics (the number of cells from cross tabulation) instead of all the data (see parameter x here ):

x is the vector of success counters, a one-dimensional table with two records, or a two-dimensional table (or matrix) with 2 columns, giving counts of successes and failures , respectively.

Is there a way to give t.test (or some equivalent function) a summary of the mean, standard deviation and group size for two groups and perform the corresponding calculations?

+4
source share
1 answer

CRAN , t-, . tsum.test BSDA.

stats.SE R-, .

:

, -, htest. , , , .

, , - t.test, ( , , tsum.test ), , t.test ( var.equal=TRUE); , , , .

(, , , , , , , , , . , , .)

+1

Source: https://habr.com/ru/post/1524965/


All Articles