search for: limitsalpha

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

2008 May 04
1
Residual resampling for non linear reg model
...ere I am going wrong? Would greatly appreciate it!Mary manpower<-read.table("http://www.creem.st-and.ac.uk/len/classes/mt3607/data/manhours_surgical.dat", header=TRUE)#attach dataattach(manpower)B<-999#number of data pointsn<-dim(manpower)[1]#alpha level to use for the confidence limitsalpha<-0.05#matrix that's going to contain the bootstrap coefficientsboot.coef<-matrix(NA, B+1, 2)#fit the initial modelinit.values<-c(alpha=20,beta=0)model<-nls(manhours~cases/(alpha+(beta*cases)), start=init.values, trace=TRUE)pred<-predict(model)resid<-resid(model)#do the bootstr...