From d2433117cebdd25fe6d9649de573830ad7ff531f Mon Sep 17 00:00:00 2001 From: acp29 Date: Sat, 27 Apr 2024 09:45:06 +0100 Subject: [PATCH] added some additional info to two of the demos --- inst/bootlm.m | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/inst/bootlm.m b/inst/bootlm.m index 8ba04318..641644a8 100755 --- a/inst/bootlm.m +++ b/inst/bootlm.m @@ -2111,6 +2111,13 @@ %! %! % Two-sample paired test on dependent or matched samples equivalent to a %! % paired t-test. +%! % +%! % IMPORTANT: We are interested here in the statistics for the predictor +%! % 'treatment', which we have fitted, and interpreted as, a fixed effect. We +%! % cannot interpret the statistics here for 'subject' since we are treating +%! % it as a fixed effect when it really should be a random effect. This doesn't +%! % affect our statistics for 'treatment' since there is no interaction between +%! % the two predictors in our model. %! %! score = [4.5 5.6; 3.7 6.4; 5.3 6.4; 5.4 6.0; 3.9 5.7]'; %! treatment = {'before' 'after'; 'before' 'after'; 'before' 'after'; @@ -2183,6 +2190,13 @@ %! % One-way repeated measures design. The data is from a study on the number %! % of words recalled by 10 subjects for three time condtions, in Loftus & %! % Masson (1994) Psychon Bull Rev. 1(4):476-490, Table 2. +%! % +%! % IMPORTANT: We are interested here in the statistics for the predictor +%! % 'seconds', which we have fitted, and interpreted as, a fixed effect. We +%! % cannot interpret the statistics here for 'subject' since we are treating +%! % it as a fixed effect when it really should be a random effect. This doesn't +%! % affect our statistics for 'seconds' since there is no interaction between +%! % the two predictors in our model. %! %! words = [10 13 13; 6 8 8; 11 14 14; 22 23 25; 16 18 20; ... %! 15 17 17; 1 1 4; 12 15 17; 9 12 12; 8 9 12];