[R] Programming Statistical Functions

stephen sefick ssefick at gmail.com
Fri Jul 30 14:25:57 CEST 2010


Maybe and r site search would help?  Try and figure out how to
calculate these yourself.  If you need help send a minimal,
reproducible example to this list, and you will probably recieve help.
 If you need a starting place for programming functions look at an
introduction to R.

#coefficient of variation
CV <- function(x){mean(x)/sd(x)}

 My $0.02.

Stephen

On Fri, Jul 30, 2010 at 7:53 AM, hector <hector at ceam.es> wrote:
>
> Hello,
> I'm new in R. I'm meteorological modeller and i will calculate some
> statistics for my model results.
> These statistis are the follow:
>
> ANB: Average Normalized Absolute BIAS
> MNB: Mean Normalized BIAS
> MNE: Mean Normalised Error
> STDE: Standard Deviation of Error
> FB: Fractional BIAS
> MG: Geometric Mean BIAS
> VG: Geometric Variance
> SKVAR: Skill Variance
> RMSE: Root Mean Square Error
> NMSE: Normalized Mean Square Error
> r: Correlation Coefficient
> CV: Coeficient of Variation
> FAC2: Fractional Predictions within a factor of two of observations
> Hc: Hit Rate
> IOA: Index of Agreement
> Au: Unpaired Peak Concentration Accuracy
> As: Spatially-paired Peak Concentration Accuracy
>
> And their expressions are in the upload file:
> http://r.789695.n4.nabble.com/file/n2307880/Statistics.doc Statistics.doc
>
> I think that someone was developed this statistical functions for use in R,
> but if don't exist, someone help me to programme it? Thank you!
>
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Programming-Statistical-Functions-tp2307880p2307880.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Stephen Sefick
____________________________________
| Auburn University                                   |
| Department of Biological Sciences           |
| 331 Funchess Hall                                  |
| Auburn, Alabama                                   |
| 36849                                                    |
|___________________________________|
| sas0025 at auburn.edu                             |
| http://www.auburn.edu/~sas0025             |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

                                -K. Mullis



More information about the R-help mailing list