Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

calculate standard deviation 1

Status
Not open for further replies.

ee1

Programmer
May 31, 2011
25
0
0
IL
Hi,
how do i calculate standard deviation in tcl?
i have a list i want to calculate for.

thanks.
 
i have tried, but i dont realy familiar with how using packages..
 
thanks man.
this page really does have lots of matematics programs :)

just another question - the stddev proc in that page is really nice, and works great, for next time, how should i use the packges? (like statistics ect..)

thanks.
 
Hi

[ul]
[li]Download the latest tcllib.[/li]
[li]Unpack it.[/li]
[li]Read and follow INSTALL.txt's advices to install it.[/li]
[li]Use it in your scripts :
Code:
[b]package[/b] require math[teal]::[/teal]statistics

[b]set[/b] deviation [teal][::[/teal]math[teal]::[/teal]statistics[teal]::[/teal]stdev [navy]$list[/navy][teal]][/teal]
[/li]
[/ul]
Theoretically. Practically I never installed it.


Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top