Description Usage Arguments Details Value Examples
Extremeness of a case is calculated by the difference between a case's value on the independent variable and the variable's mean value.
1 | extreme_on_x(lmobject = NULL, ind_var = NULL)
|
lmobject |
Object generated with |
ind_var |
Independent variable for which extremeness values should be calculated. Has to be entered as a character. |
Calculating the absolute value of the difference between the cases' values and the variable's mean value is proposed by Seawright, Jason (2016): The Case for Selecting Cases That Are Deviant or Extreme on the Independent Variable. Sociological Methods & Research 45 (3): 493-525. (https://doi.org/10.1177/0049124116643556)
A dataframe with
- all variables in the linear model,
- absolute extremeness (absolute value of difference between variable score and mean value of variable),
- extremeness (difference between variable score and mean value of variable), which can be useful when the direction of extremeness is relevant.
The rows are ordered in decreasing order of the absolute extreme values.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.