help > covariates
Oct 24, 2017  10:10 PM | Heena Manglani - The Ohio State University
covariates
Hello,

I am getting an error when entering covariates for density calculations in the calcproperties GUI. My covariates are two variables in the MATLAB workspace with one number per variable for each participant. The error i'm getting is pasted below. Thank you in advance for your help!

Error using horzcat
Dimensions of matrices being concatenated are not consistent.

Error in GTG_calcproperties_GUI>Start_pushbutton_Callback (line 2431)
if
rank([out.denscalc_varmat,out.denscalc_covarmat,ones(size(out.denscalc_varmat,1),1)])==(size([out.denscalc_varmat,out.denscalc_covarmat],2)+1)
% If an intercept can be added without making the design matrix rank deficient
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in GTG_calcproperties_GUI (line 126)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)GTG_calcproperties_GUI('Start_pushbutton_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback

Best,
Heena

Threaded View

TitleAuthorDate
covariates
Heena Manglani Oct 24, 2017
Jeffrey Spielberg Oct 25, 2017
Heena Manglani Oct 25, 2017
Jeffrey Spielberg Oct 25, 2017
Heena Manglani Oct 25, 2017
Jeffrey Spielberg Oct 26, 2017
Heena Manglani Nov 3, 2017
Jeffrey Spielberg Nov 4, 2017
Heena Manglani Nov 4, 2017
Heena Manglani Nov 6, 2017
Heena Manglani Nov 16, 2017
Jeffrey Spielberg Nov 17, 2017
Heena Manglani Nov 17, 2017