Rank: 50 based on 1016 downloads (last 30 days) and 61 files submitted
photo

Giuseppe Cardillo

E-mail
Company/University
MeriGen Research
Lat/Long
40.86195755004883, 14.21667289733887

Personal Profile:

I'm a biochemist with a PhD in Biotechnologies


 

Watch this Author's files

 

Files Posted by Giuseppe Cardillo View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Oct 2014 Screenshot PrimeSpiral Play into the world of prime numbers! Author: Giuseppe Cardillo sacks spiral, vogel spiral, prime numbers 13 0
07 Oct 2014 Screenshot Clinical Test Performance The test calculate the performance of a clinical test based on the Bayes theorem Author: Giuseppe Cardillo pharmaceutical, biotech, bayes theorem, clinical test perform..., sensibility, specificity 22 7
  • 4.71429
4.7 | 7 ratings
06 Oct 2014 Screenshot Youden's Plot plot a Youden's Plot Author: Giuseppe Cardillo plot, specialized, youden 15 0
06 Oct 2014 Screenshot ROCout=roc(varargin) compute a ROC curve Author: Giuseppe Cardillo statistics, probability, curve, roc, receiver operating ch..., by definition 110 50
  • 4.0
4.0 | 26 ratings
12 Feb 2014 MyFisher23 A very compact routine for Fisher's exact test on 2x3 contingency table Author: Giuseppe Cardillo statistics, probability, fishers exact test 2x... 15 11
  • 4.0
4.0 | 4 ratings
Comments and Ratings by Giuseppe Cardillo View all
Updated File Comments Rating
10 Oct 2014 Logrank Comparing survival curves of two groups using the log rank test Author: Giuseppe Cardillo

Thank you Jacob.
For the first question, kmplot shows confidence intervals and median time. If I add these lines on Logrank it became too difficult to understand.
For the second question, you can use "text" or "gtext" matlab function to add on to the plot whatever you want.
Feel free to modify the code.

30 Sep 2014 Four parameters logistic regression - There and back again Fit data points with a four points logistic regression or interpolate data. Author: Giuseppe Cardillo

I don't know. I should see your data points

15 May 2014 Variable Precision Integer Arithmetic Arithmetic with integers of fully arbitrary size. Arrays and vectors of vpi numbers are supported. Author: John D'Errico

Dear John,
I saw that you use the Miller-Rabin algorithm to test primality. considering that are known the strong pseudoprimes to the first 9 prime bases (http://arxiv.org/pdf/1207.0063.pdf), I suggest a little implementation to speed up your Miller-Rabin algorithm:

if N<2047
witnesses=2;
elseif N<1373653
witnesses=[2 3];
elseif N<25326001
witnesses=[2 3 5];
elseif N<3215031751
witnesses=[2 3 5 7];
elseif N<2152302898747
witnesses=[2 3 5 7 11];
elseif N<3474749660383
witnesses=[2 3 5 7 11 13];
elseif N<341550071728321
witnesses=[2 3 5 7 11 13 17 19];
elseif N<3825123056546413051
witnesses=[2 3 5 7 11 13 17 19 23];
else
witnesses=[2 3 5 7 11 13 17 19 23 29 31 37];
end

Regards

03 Apr 2014 MyFisher23 A very compact routine for Fisher's exact test on 2x3 contingency table Author: Giuseppe Cardillo

For negative values, gammaln would return INF so that table is not added to computation. Maybe in previous version of gammaln this is not allowed and it calls error. So rows in Tables matrix with negative values must be erased before to give it to gammaln.
[I J]=find(Tables<0); Tables(I,:)=[];
will do this

03 Apr 2014 MyFisher23 A very compact routine for Fisher's exact test on 2x3 contingency table Author: Giuseppe Cardillo

try to add this line before line 108
[I ~]=find(Tables<0); Tables(I,:)=[];

Comments and Ratings on Giuseppe Cardillo's Files View all
Updated File Comment by Comments Rating
05 Dec 2014 MyFisher23 A very compact routine for Fisher's exact test on 2x3 contingency table Author: Giuseppe Cardillo Douglas Crawford

Hi, Posted the same problem, without looking at the solution posted in April.
"
try to add this line before line 108
[I ~]=find(Tables<0); Tables(I,:)=[];
"
which solved the problem.

dlc

18 Nov 2014 Jonckheere-Terpstra test on trend A nonparametric Test for Trend Author: Giuseppe Cardillo Hasan Hüseyin GÜL

10 Oct 2014 Logrank Comparing survival curves of two groups using the log rank test Author: Giuseppe Cardillo Giuseppe Cardillo

Thank you Jacob.
For the first question, kmplot shows confidence intervals and median time. If I add these lines on Logrank it became too difficult to understand.
For the second question, you can use "text" or "gtext" matlab function to add on to the plot whatever you want.
Feel free to modify the code.

09 Oct 2014 Logrank Comparing survival curves of two groups using the log rank test Author: Giuseppe Cardillo Jacob Scott

One more thought - could you make it so that the hazard ratios and p-value are reported in the figure?

thanks so much for this

08 Oct 2014 Logrank Comparing survival curves of two groups using the log rank test Author: Giuseppe Cardillo Jacob Scott

I've found that the plots that come out of kmplot are much prettier (and contain more information) than the plots that are generated by logrank. Is there a way that I'm missing to plot two survival curves on the same axis using kmplot? or to make the plots from logrank more similar to those of kmplot?

Thanks, great tool.

Contact us