mdd.t_test: An MDD-based t-Test of Mean Independence

View source: R/dCovReg.R

mdd.t_testR Documentation

An MDD-based t-Test of Mean Independence

Description

mdd.t_test tests the mean independence of Y conditional on Z using a two-sided t-test.

Usage

mdd.t_test(Y, Z)

Arguments

Y

univariate variable

Z

possibly multivariate variable

Value

t-statistic, standard error, and p-value of test

Examples

set.seed(12); X = rnorm(200)
mdd.t_test(X,abs(X)); mdd.t_test(abs(X),X)

estsyawo/bayesprdopt documentation built on April 2, 2024, 2:18 p.m.