search for: all_failur

Displaying 1 result from an estimated 1 matches for "all_failur".

Did you mean: all_failures
2006 Sep 23
1
Fitdistr() versus nls()
...Smirnov test, which for nls has values of probability around 0 (not a good score huh?). Can u please tell me if there's a major mistake in the code? Thanks in advance, Luca ------ BEGINNING OF CODE ---------------------------------------------------------------- cdf.all=read.table("all_failures.cdf", header=FALSE, col.names=c ("ttr", "cdf"), sep=":" ) allvals.x=array(t(cdf.all[1])) allvals.y=array(t(cdf.all[2])) library(MASS) bestval.exp.nls=bestval.exp.fit=-1 plot(allvals.x, allvals.y) for(it in 1:100){ #extract random samples random=sort(sample(...