search for: modelp2

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

Did you mean: model2
2010 Jan 21
3
cross validation function translated from stata
...le dca`i' quietly dca `event' `prediction1' `prediction2', graphoff saving("`dca`i''") drop u set `prediction1' `prediction2' } use "`dca1'", clear forvalues i=2(1)200 { append using "`dca`i''" } collapse all none modelp1 modelp2, by(threshold) save "cross validation dca output.dta", replace twoway(line none all modelp1 modelp2 threshold, sort) ================================================================= Here is my draft of R code. cMain is my dataset. predca<-rep(0,40000) dim(predca)<-c(200,200) f...