怎么在matlab回归结果中显示 显著性水平
答案:1 悬赏:70 手机版
解决时间 2021-03-26 01:25
- 提问者网友:欺烟
- 2021-03-25 07:32
怎么在matlab回归结果中显示 显著性水平
最佳答案
- 五星知识达人网友:蓝房子
- 2021-03-25 08:45
function output = lprintf(prtdat,crtdat,info,file)
% PURPOSE: Prints a matrix of data with a criteria-based symbol next
% to each element. Data are formatted globally or column-wise,
% as specified. Designed for indicating significance levels of
% parameter estimates.
%-----------------------------------------------------------------
% USAGE: output = lprintf(prtdat,crtdat,info,fid)
% where:
% prtdat (R,C) matrix of data to print
% crtdat (R,C) matrix of data to use as criteria for symbols
% info structure variable (all optional): [default]
% info.crit vector of criteria, largest first [10%,5%,1%]
% info.symb vector of symbols (strings) [c,b,a]
% info.fmt scalar or C-vector of format strings ['%7.4f']
% info.lnnum vector indexing rows with horiz. lines [none]
% info.rname R-vector of strings with row names [none]
% info.cname C-vector of strings with column names [none]
% info.head vector of strings to put as header [none]
% info.tail vector of strings to put as footer [none]
%
% fid 'filename' for output. Screen if missing, none if file = 0
%-----------------------------------------------------------------
% RETURNS: output a string matrix with the results
%----------------------------------------------------------------
% NOTES:
% Symbol(i) assigned when crtdat(r,c) <= info.crit(i)
% The number of criteria is flexible. Default is 10%,5%,1% with
% corresponding symbols of \superscript c,b,a
%-----------------------------------------------------------------
% SEE ALSO: lprintf_d, lprint, mprint
%-----------------------------------------------------------------
% PURPOSE: Prints a matrix of data with a criteria-based symbol next
% to each element. Data are formatted globally or column-wise,
% as specified. Designed for indicating significance levels of
% parameter estimates.
%-----------------------------------------------------------------
% USAGE: output = lprintf(prtdat,crtdat,info,fid)
% where:
% prtdat (R,C) matrix of data to print
% crtdat (R,C) matrix of data to use as criteria for symbols
% info structure variable (all optional): [default]
% info.crit vector of criteria, largest first [10%,5%,1%]
% info.symb vector of symbols (strings) [c,b,a]
% info.fmt scalar or C-vector of format strings ['%7.4f']
% info.lnnum vector indexing rows with horiz. lines [none]
% info.rname R-vector of strings with row names [none]
% info.cname C-vector of strings with column names [none]
% info.head vector of strings to put as header [none]
% info.tail vector of strings to put as footer [none]
%
% fid 'filename' for output. Screen if missing, none if file = 0
%-----------------------------------------------------------------
% RETURNS: output a string matrix with the results
%----------------------------------------------------------------
% NOTES:
% Symbol(i) assigned when crtdat(r,c) <= info.crit(i)
% The number of criteria is flexible. Default is 10%,5%,1% with
% corresponding symbols of \superscript c,b,a
%-----------------------------------------------------------------
% SEE ALSO: lprintf_d, lprint, mprint
%-----------------------------------------------------------------
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯