Description Usage Arguments Value References Examples
Probe moderation effect using the Pick-A-Point technique
1 2 | pickapoint(model, dv, iv, mod, points, method = "meansd", alpha = 0.05,
yas = "none")
|
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: |
alpha |
Alpha level to use (numeric). |
yas |
Show y (or conditional effect) as: |
A list with the elements
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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.