## 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.

I could be wrong, but...

Best regards,
ElMaestro

R's base package has 274 reserved words and operators, along with 1761 functions. I can use 18 of them (about 14 of them properly). I believe this makes me the Donald Trump of programming.

21,068 posts in 4,392 threads, 1,465 registered users;
online 15 (0 registered, 15 guests [including 9 identified bots]).
Forum time: Saturday 17:56 CEST (Europe/Vienna)

The purpose of models is not to fit the data,
but to sharpen the questions.    Samuel Karlin

The Bioequivalence and Bioavailability Forum is hosted by
Ing. Helmut Schütz