Hi all! I 'm beginner and i develop a bio-application with VB and i need some statistic functions! could i calculate StdError, CoeffOfVariance, SumSquared with R langage? if yes, what are functions to use? I need also to use ANOVA and t-test... Thanks for your help! Laurent Houdusse Analyste Programmeur
Have you read "An Introduction to R" and "The R Language
Definition" that comes with the R installation? Try
"help.start()".
Also, there are several good introductions downloadable from
"www.r-project.org". I suggest you also consider "lm" =
linear model, e.g.,
fit <- lm(y~x, dataFrame) # where "y" and "x" are
columns of the
data.frame "dataFrame"
fit
summary(fit)
anova(fit)
Also, try "help.search('t test')". A more specific
question may
yield a more specific answer, especially if accompanied by a few lines
of R code providing a toy example that you've tried and couldn't make
work.
hope this helps.
spencer graves
Laurent Houdusse wrote:
>Hi all!
>
>I 'm beginner and i develop a bio-application with VB and i need some
>statistic functions!
>could i calculate StdError, CoeffOfVariance, SumSquared with R langage? if
>yes, what are functions to use?
>
>I need also to use ANOVA and t-test...
>
>Thanks for your help!
>
>
>
>Laurent Houdusse
>Analyste Programmeur
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
Adaikalavan RAMASAMY
2003-Dec-10 09:52 UTC
[R] How to calculate standard error for a vector?
sd <- sqrt(var(x)) # standard deviation cv <- sd / mean(x) # coefficient of variation ss <- mean( x^2 ) # sum of squares - definitions vary ! If these are the statistics you are going to be using, it might be more efficient to code it directly. -- Adaikalavan Ramasamy -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Laurent Houdusse Sent: Wednesday, December 10, 2003 4:57 PM To: 'r-help at stat.math.ethz.ch' Subject: [R] How to calculate standard error for a vector? Hi all! I 'm beginner and i develop a bio-application with VB and i need some statistic functions! could i calculate StdError, CoeffOfVariance, SumSquared with R langage? if yes, what are functions to use? I need also to use ANOVA and t-test... Thanks for your help! Laurent Houdusse Analyste Programmeur ______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Thanks for this formulae For stdError, i found this: stdError <- sd(x)/sqrt(length(x)) Laurent Houdusse Analyste Programmeur -----Message d'origine----- De : Adaikalavan RAMASAMY [mailto:ramasamya at gis.a-star.edu.sg] Envoy? : mercredi 10 d?cembre 2003 10:52 ? : Laurent Houdusse; r-help at stat.math.ethz.ch Objet : RE: [R] How to calculate standard error for a vector? sd <- sqrt(var(x)) # standard deviation cv <- sd / mean(x) # coefficient of variation ss <- mean( x^2 ) # sum of squares - definitions vary ! If these are the statistics you are going to be using, it might be more efficient to code it directly. -- Adaikalavan Ramasamy -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Laurent Houdusse Sent: Wednesday, December 10, 2003 4:57 PM To: 'r-help at stat.math.ethz.ch' Subject: [R] How to calculate standard error for a vector? Hi all! I 'm beginner and i develop a bio-application with VB and i need some statistic functions! could i calculate StdError, CoeffOfVariance, SumSquared with R langage? if yes, what are functions to use? I need also to use ANOVA and t-test... Thanks for your help! Laurent Houdusse Analyste Programmeur ______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help