Description Usage Arguments Details Value
Fit models to 2x2 data with autocorrelated errors
1 2 3 4 5 6 7 8 9 10 11 |
dat |
Data generated using |
cs |
Fit smooths as main effect of trial (in addition to by-subject factor smooths) for the GAMM models? |
by_subj_fs |
Include by-subject factor smooths in GAMM? |
dontfit |
If |
m |
The |
k |
The |
bam_args |
Any other arguments to be passed on to
|
fit_blocked |
Whether to fit the blocked version in addition to the randomized version. |
fit_lmem |
Whether to fit the LMEM in addition to the GAMM. |
Fits four models using bam:
A Generalized Additive Mixed Model (GAMM) for the blocked DV (Y_b);
A Linear Mixed-Effects Model (LMEM) for the blocked DV (Y_b);
A GAMM for the randomized DV (Y_r); and
A LMEM for the randomized DV (Y_r).
15x2x2 array with model statistics (or just the model
formulas if dontfit is TRUE). Second dimension is
GAMM or LMEM, third is randomized or blocked, and first dimension
is as follows.
e_intEstimated intercept.
e_AEstimated main effect of A.
e_BEstimated main effect of B.
e_ABEstimated AB interaction.
se_intStandard error for the intercept.
se_AStandard error for A.
se_BStandard error for B.
se_ABStandard error for AB.
p_intP-value for the intercept.
p_AP-value for the main effect of A.
p_BP-value for the main effect of B.
p_ABP-value for the AB interaction.
AICAkaike Information Criterion for the model.
resid_dfResidual degrees of freedom.
resid_devResidual deviance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.