Learn R Programming

EffectLiteR (version 0.5-1)

effectLite_iht: Informative hypothesis tests for effectLite

Description

Informative hypothesis tests for effectLite

Usage

effectLite_iht(object, constraints = NULL, test = "default")

Value

list with test statistics and p-value.

Arguments

object

effectlite. Fitted model of class effectlite estimated with effectLite using method="sem".

constraints

character. Specification of constraints for the ordered hypothesis test.

test

character. Statistical test to be used for the ordered hypothesis test. Can be one of c("default", "Fbar", "Wald").

Examples

Run this code
m1 <- effectLite(y="dv", x="x", k="k1", z="z1", method = "sem", 
                 fixed.cell=TRUE, fixed.z=TRUE, data=example01)
test <- effectLite_iht(object = m1, 
                       constraints = 'adjmean2 > adjmean1
                                      adjmean1 > adjmean0')
print(test)

Run the code above in your browser using DataLab