Rank: 4468 based on 4 downloads (last 30 days) and 1 file submitted
photo

Fan Lin

E-mail

Personal Profile:

foxet.blogspot.com

(FOXET)

Professional Interests:
medical imaging

 

Watch this Author's files

 

Files Posted by Fan
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Jun 2008 Logrank Compare the survival distributions of two samples by performing Log-rank test Author: Fan Lin statistics, probability, log rank survival 4 3
Comments and Ratings by Fan
Updated File Comments Rating
23 Aug 2011 Snakes: Active Contour Models Implements snakes or active contour models for image segmentation. Author: Ritwik Kumar

sometimes it work,but sometimes something bad happen:

??? Subscript indices must either be real positive integers or logicals.

Error in ==> interp2>linear at 336
    F = ( arg3(ndx).*(onemt) + arg3(ndx+1).*t ).*(1-s) + ...

Error in ==> interp2 at 215
    zi = linear(ExtrapVal,x,y,z,xi,yi);

Error in ==> interate at 124
    ssx = gamma*xs - kappa*interp2(fx,xs,ys);

Error in ==> snk>pushbutton2_Callback at 531
interate(handles.smth, handles.xs, handles.ys, alpha_val, beta_val, gamma_val, kappa_val,
weline_val, weedge_val, weterm_val, inter_val);

Error in ==> gui_mainfcn at 96
        feval(varargin{:});

Error in ==> snk at 85
    gui_mainfcn(gui_State, varargin{:});

Error in ==>
@(hObject,eventdata)snk('pushbutton2_Callback',hObject,eventdata,guidata(hObject))

 
??? Error while evaluating uicontrol Callback

Comments and Ratings on Fan's Files View all
Updated File Comment by Comments Rating
26 Jun 2008 Logrank Compare the survival distributions of two samples by performing Log-rank test Author: Fan Lin Lin, Fan

John D'Errico?
Thankyou,I had updated this file.

24 Jun 2008 Logrank Compare the survival distributions of two samples by performing Log-rank test Author: Fan Lin Lin, Fan

Thanks for your suggestions. I will improve it next time.

Logrank test is a classic method to compare two populations with censored survival data
and there is an example in the The help section

23 Jun 2008 Logrank Compare the survival distributions of two samples by performing Log-rank test Author: Fan Lin x@y.z, Jos

Why zip a single m-file? And there is no penalty for using spacing and indents, which making the text so much more readable.
The help section is a little vague mentioning only two arguments for its syntax and then talk about a three more variables : "Syntax: p=logrank(x,y) Input: x and y - two groups; show -0:don't show the result ..."

And maybe you can provide an example what this test is all about: when to use it for what, and what are its advantages over other tests.

Top Tags Applied by Fan
log rank survival, probability, statistics
Files Tagged by Fan
Updated   File Tags Downloads
(last 30 days)
Comments Rating
26 Jun 2008 Logrank Compare the survival distributions of two samples by performing Log-rank test Author: Fan Lin statistics, probability, log rank survival 4 3

Contact us at files@mathworks.com