Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
In linear models and particularly in ANOVA, a contrast is a linear combination of parameters with coefficients summing up to zero. It is used to test the corresponding null hypothesis. Contrasts are especially often used with categorical predictors (factors) to make comparisons among the groups (categories). [See also tag 'categorical-encoding']
2
votes
1
answer
838
views
emmeans - change reference level of contrast
Good day
I need some help, I used the following code:
EMM <- emmeans(model1, ~ A | B)
PRS <- contrast(EMM, "pairwise")
summary(PRS, type = "response", infer = c(TRUE, TRUE))
VarCorr(model1) # to calcu …
1
vote
emmeans - change reference level of contrast
@Russ Lenth informed me that "revpairwise" instead of "pairwise" works, and it did, like a charm.
0
votes
0
answers
206
views
emmeans - joint effects of interaction terms
I would like to see the joint effects of an interaction term. I tried joint_tests() but it gives f ratios. However, I would prefer Incidence Rate Ratios (IRR) because the rest of my results section us …