interaction_reg: Perform the traditional single equation regression approach...

Description Usage Arguments Value See Also

Description

Perform the traditional single equation regression approach under the assumption that x1, x2 are randomly chosen.

Usage

1
interaction_reg(dat, method = "traditional")

Arguments

dat

A simulated dataset with 5 columns.

method

'traditional' for the typical model with interaction and 'augmented' for the model with interaction and quadratic effects. 'moderation' takes into account the moderation effect of z1 on y. The 'moderationaugmented' option takes into account both moderation and 'augmented' effects.

Value

A list with the regression object and the name of the method

See Also

match_reg run_regression format_reg

Other tests: cond_reg, match_reg, run_regression, sur_reg


stijnmasschelein/simcompl documentation built on May 30, 2019, 5:43 p.m.