Re: Beginner question about sqrt()



Jeremy <Jeremy@xxxxxxxxxxxx> wrote in
news:fhtop113555i3gnhk6u73m8p57pnlrdnsa@xxxxxxx:

> I am trying to calculate the standard deviation with my program, but I
> ran into a small problem with squaring negative value's. Which cannot
> be done..

Huh?

> Ehm let me explain

Please do.

> score=8 mean=9.67 and deviation=-1.67
>
> now I want to square the deviation with sqrt

sqrt is for taking the square root of a number.

> but that doesn't really
> work anymore since the value is negative, what function could I use
> from the math.h to obtain the correct squared deviation value of 2.79?

You seem to be confused between "standard deviation" and z-score.

Sinan
--
A. Sinan Unur <1usa@xxxxxxxxxxxxxxxxxxx>
(reverse each component and remove .invalid for email address)
.



Relevant Pages

  • Re: Standard Deviation
    ... differences from the mean is there, but the main information is in the most significant digits, rather than being computed as the difference between two very large numbers, i.e. in the least significant digits. ... standard deviation to prove your point, but the opposite can easily be ... squared deviations from the mean) OR the variance (the SS divided by N ... point was simply that with the "wrong kind of data" the square of SumX ...
    (borland.public.delphi.non-technical)
  • Re: Square root of a negative rral value
    ... data set that went with this, crashes on trying to take the square ... square root operation before terminating correctly with a final table. ... When the standard deviation is zero, ...
    (comp.lang.fortran)
  • Re: negative adjusted r square
    ... > I am reciving a negative adjusted R square when running my regerssion. ... also find that the residual standard deviation is greater than the original ... Whatever statistics you care to look at you can be pretty confident ...
    (sci.stat.math)
  • For Raja, odds of a 4+ slam champ being >6ft 3 = 2.72%
    ... Also for the sake of statistical analysis 'n' is always considered ... The cumulative mean of the H values, & the standard deviation. ... The Sum of all the means of cumulative frequencies of H = ... then square rooted, which gives. ...
    (rec.sport.tennis)
  • Re: A Gambling Math Question
    ... The standard deviation is approximately sqrt. ... comes from the well-known normal approximation to the binomial ... The variance, which is the square of the standard deviation, can be ...
    (sci.math)