help
help > RE: error running permutation tetsting
May 17, 2017 12:05 PM | Hua Yu
RE: error running permutation tetsting
Hi Jeffery,
I already past the code in the gui mat file. It seems work a little, but still errors showing in Matlab. The following is my running result.
>> GTG
Running permutation analyses for contrast/F-test 1 ...
ans =
67 1
ans =
67 2
Error using regstats (line 124)
The design matrix has more predictor variables than observations.
Error in GTG_runpermanalyses_GUI>GTG_GLM (line 4263)
temp = regstats(DV,full_desmat,eye(size(full_desmat,2)),{'tstat'});
Error in GTG_runpermanalyses_GUI>Start_pushbutton_Callback (line 1979)
eval(['[out.thrAUC.',curr_short_name,'_pos.beta(con,:),out.thrAUC.',curr_short_name,'_pos.test_stat(con,:),out.thrAUC.',curr_short_name,'_pos.crit_val(con,:),out.thrAUC.',curr_short_name,'_pos.p_1tail(con,:),out.thrAUC.',curr_short_name,'_pos.p_2tail(con,:),out.thrAUC.',curr_short_name,'_pos.hadNaN(con,:),out.thrAUC.',curr_short_name,'_pos.hadimag(con,:),out.thrAUC.',curr_short_name,'_pos.hadInf(con,:),permdis,out.thrAUC.',curr_short_name,'_pos.nonperm_p(con,:)]
=
GTG_GLM(out.AUC_thrmat_graph_meas.',curr_short_name,'_pos,curr_full_desmat,currcovars_desmat,out.Contrast_or_F,perms,out.HLA_reg_type,use_parfor,within_perms,out.alpha,out.MC_corr);']);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in GTG_runpermanalyses_GUI (line 98)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GTG_runpermanalyses_GUI('Start_pushbutton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Best,
Hua
I already past the code in the gui mat file. It seems work a little, but still errors showing in Matlab. The following is my running result.
>> GTG
Running permutation analyses for contrast/F-test 1 ...
ans =
67 1
ans =
67 2
Error using regstats (line 124)
The design matrix has more predictor variables than observations.
Error in GTG_runpermanalyses_GUI>GTG_GLM (line 4263)
temp = regstats(DV,full_desmat,eye(size(full_desmat,2)),{'tstat'});
Error in GTG_runpermanalyses_GUI>Start_pushbutton_Callback (line 1979)
eval(['[out.thrAUC.',curr_short_name,'_pos.beta(con,:),out.thrAUC.',curr_short_name,'_pos.test_stat(con,:),out.thrAUC.',curr_short_name,'_pos.crit_val(con,:),out.thrAUC.',curr_short_name,'_pos.p_1tail(con,:),out.thrAUC.',curr_short_name,'_pos.p_2tail(con,:),out.thrAUC.',curr_short_name,'_pos.hadNaN(con,:),out.thrAUC.',curr_short_name,'_pos.hadimag(con,:),out.thrAUC.',curr_short_name,'_pos.hadInf(con,:),permdis,out.thrAUC.',curr_short_name,'_pos.nonperm_p(con,:)]
=
GTG_GLM(out.AUC_thrmat_graph_meas.',curr_short_name,'_pos,curr_full_desmat,currcovars_desmat,out.Contrast_or_F,perms,out.HLA_reg_type,use_parfor,within_perms,out.alpha,out.MC_corr);']);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in GTG_runpermanalyses_GUI (line 98)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GTG_runpermanalyses_GUI('Start_pushbutton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Best,
Hua
Threaded View
Title | Author | Date |
---|---|---|
Hua Yu | May 15, 2017 | |
Hua Yu | May 17, 2017 | |
Jeffrey Spielberg | May 16, 2017 | |
Hua Yu | May 16, 2017 | |
Jeffrey Spielberg | May 16, 2017 | |
Hua Yu | May 16, 2017 | |
Jeffrey Spielberg | May 16, 2017 | |
Hua Yu | May 16, 2017 | |
Jeffrey Spielberg | May 16, 2017 | |
Hua Yu | May 17, 2017 | |
Jeffrey Spielberg | May 17, 2017 | |