Description Usage Arguments Value Author(s)
View source: R/predictAttention.R
Estimate a linear regression in which attention is the outcome, and the user defines the characteristics used to predict attention.
1 2 3 4 5 6 7 8 9 |
dataframe |
Dataframe from which you will select attention, predictors for attention, etc. for the regression model. |
k |
The penalty that you want to set for down-weighting inattentive respondents. Lower levels of k down-weight low attention participants more severely. |
up_down_weight |
Do you want to up-weight or down-weight? Default="down". |
attention_predictors |
Symbolic representation of the model to be estimated. This is written in "typical" R language (i.e. x1 + x2). Do not need to specify y or outcome variable, it's assigned internally. |
Object containing instrumental variable regression call, data, results, etc.
Jeffrey Ziegler (<jeffrey.ziegler[at]emory.edu>)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.