This function does the chi square two sample test for continuous data in two dimensions
chisq2D_test_cont(
dta_x,
dta_y,
Ranges = matrix(c(-Inf, Inf, -Inf, Inf), 2, 2),
nbins = c(5, 5),
minexpcount = 5
)
a list with statistics and p values
a matrix of numbers
a matrix of numbers
=matrix(c(-Inf, Inf, -Inf, Inf),2,2) a 2x2 matrix with lower and upper bounds
=c(5,5) number of bins in x and y direction
=5 minimum counts required per bin