## and now that we are at it [Bioanalytics]

How would you calculate s:n for y3 in a series like this:

 n=1500 t=c(1:n)/100 y1=rep(0,n) for (i in 1:314) y1[400+i]=13*sin(i/100) y2=3*runif(n)*log(t+10) y3=y1+y2 plot(t ,y3, pch=20, cex=0.1) lines(t, y3) 

As usual, I am not so much asking you how you think others would do it in other contexts. I am asking you how you would do it. Let us for simplicity assume there is a peak around 5 units here and that we know nuffin about anything except y3 and t.
You are of course also welcome to eyeball it and tell me the level of s:n. Make all the assumptions you wish. Change data as you please.

Note: true chromatographic raw data are much uglier than this. Whatever you see when visualizing peaks with or without smoothing, bunching and gamma modality or whatever the heck it is called involves a lot of signal conditioning in all major packages.

Pass or fail!
ElMaestro