[R] what is the cost in cv.glm?

mael henriksson.anna at live.se
Fri Nov 30 16:01:15 CET 2012


Hi,

I have a question regarding the cv.glm function in the package boot. What is
exactly the cost? Is it the threshold value for an estimated value to be
classified as either 0 or 1? I have troubles understanding the explanation
in R. Lets say I want all estimations >0.65 to be classified as 1s and <0.35
as 0s, how do I write that? And if the cost is something else, how do I set
the threshold value?

Thanks in advance!
Anna



--
View this message in context: http://r.789695.n4.nabble.com/what-is-the-cost-in-cv-glm-tp4651435.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list