Standard Error Calculation

114 views
Skip to first unread message

Vivek

unread,
Jul 10, 2011, 10:16:09 PM7/10/11
to Deducer
Hello Everyone,

I am a big fan of Deducer!

I am using the errorbar geom and want to calculate the standard
error. I choose summary and then custom. I am suppose to input the
'y function', the 'y-min function', 'the y-max function', 'the data
function.'

Can anyone help me with how I should input these functions? I know
the formula for Standard Error, but am not quite sure how to input a
function into Deducer to calculate these functions.

thanks,
Vivek

Ian Fellows

unread,
Jul 10, 2011, 11:08:19 PM7/10/11
to ded...@googlegroups.com
Vivek,

you will want

function(x) mean(x)

function(x) mean(x) - sd(x)/sqrt(length(x))

function(x) mean(x) + sd(x)/sqrt(length(x))

and don't put anything in the data function box.

see the attached plot for an example.


Cheers,
Ian

errorbar.ggp
Reply all
Reply to author
Forward
0 new messages