Skip to content

Commit

Permalink
added some additional info to two of the demos
Browse files Browse the repository at this point in the history
  • Loading branch information
acp29 committed Apr 27, 2024
1 parent 08f3252 commit d243311
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions inst/bootlm.m
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit d243311

Please sign in to comment.