pickapoint: Pick-A-Point Technique

Description Usage Arguments Value References Examples

Description

Probe moderation effect using the Pick-A-Point technique

Usage

1
2
pickapoint(model, dv, iv, mod, points, method = "meansd", alpha = 0.05,
  yas = "none")

Arguments

model

Regression model (lm, glm, list).

dv

Dependent variable (character).

iv

Independent variable (character).

mod

Moderator variable(s) (character or character vector).

points

List of points to test for each moderator variable (list).

method

Method to use. Possible values are: "meansd", "percentiles", method="meansd" by default.

alpha

Alpha level to use (numeric).

yas

Show y (or conditional effect) as: "none", "ratio","probability","percentage", yas="none" by default.

Value

A list with the elements

References

Spiller, S. A., Fitzsimons, G. J., Lynch, J. G., Jr, & McClelland, G. H. (2013). Spotlights, floodlights, and the magic number zero: Simple effects tests in moderated regression. Journal of Marketing Research, 50(2), 277-288.

Aiken, L. S., & West, S. G. (1991). Multiple regression: Testing and interpreting interactions. Thousand Oaks, CA: Sage Publications.

Examples

1
2
3
4
5
6
7
8
## Not run: 
myModel <- lm('dv ~ iv + mod', data=someData)
pickapoint(myModel, dv='DV', iv='IV', mod='MOD')
pickapoint(myModel, dv='DV', iv='IV', mod='MOD', alpha=.01)
pickapoint(myModel, dv='DV', iv='IV', mod='MOD', method='percentiles')
pickapoint(myModel, dv='DV', iv='IV', mod='MOD', points=c(1,2,3))

## End(Not run)

probemod documentation built on May 1, 2019, 10:11 p.m.