/usr/share/psychtoolbox-3/Psychometric/NormLogLikelyRatio.m is in psychtoolbox-3-common 3.0.11.20140816.dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | function [loglikelyr,loglikelys,loglikelyn] = ...
NormLogLikelyRatio(x,un,varn,us,vars)
% [loglikelyr,loglikelys,loglikelyn] = ...
% NormLogLikelyRatio(x,un,varn,us,vars)
%
% Compute log of the likelyhood ratio l(x) for univariate.
% Normally distributed signal and noise distributions.
%
% xx/xx/xx dhb Wrote it.
[likelyr,likelys,likelyn] = NormLikelyRatio(x,un,varn,us,vars);
loglikelys = log( likelys );
loglikelyn = log( likelyn );
loglikelyr = log( likelyr );
|