Skip to content

Commit

Permalink
Update bootknife.m
Browse files Browse the repository at this point in the history
  • Loading branch information
acp29 committed Jan 10, 2024
1 parent 9725fbd commit 70598a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions inst/bootknife.m
Original file line number Diff line number Diff line change
Expand Up @@ -1154,11 +1154,11 @@ function print_output (stats, nboot, alpha, l, m, bootfun_str, strata)
%! % so we will use it's logistic_regression function for fitting ordinal
%! % models instead.
%! function [B, DEV] = mnrfit (X, Y, varargin)
%! % Note that the if the outcome has more than two levels, the
%! % logistic_regression function is only suitable when the outcome
%! % is ordinal, so we would need to use append 'model', 'ordinal'
%! % as a name-value pair in MATLAB when executing it's mnrfit
%! % function (see below)
%! % Note that if the outcome has more than two levels, the
%! % logistic_regression function is only suitable when the
%! % outcome is ordinal, so we would need to use append 'model',
%! % 'ordinal' as a name-value pair in MATLAB when executing
%! % it's mnrfit function (see below)
%! [INTERCEPT, SLOPE, DEV] = logistic_regression (Y - 1, X, false);
%! B = cat (1, INTERCEPT, SLOPE);
%! end
Expand Down

0 comments on commit 70598a4

Please sign in to comment.