statistics

Statistical calculations in SQL Server

Does anyone know of any packages or source code that does simple statistical analysis, e.g., confidence intervals or ANOVA, inside a SQL Server stored procedure? ...

are there any good statistic visualization libraries for the iphone?

I wonder if every developer would have to code statistic visualization by him/herself, or if there's a lib already that can be used to draw charts, curves, stats, etc. (like in the stock app for example)? ...

Partial Least Squares Implementation for C/C++?

Does anyone know of an open-source implementation of a partial least squares algorithm in C or C++? ...

R Random Forests Variable Importance

I am trying to use the random forests package for classification in R. The Variable Importance Measures listed are: -mean raw importance score of variable x for class 0 -mean raw importance score of variable x for class 1 -MeanDecreaseAccuracy -MeanDecreaseGini Now I know what these "mean" as in I know their definitions. What I wa...

Plots without titles/labels in R

In R is there any way to produce plots which have no title and which use the space the title would otherwise have taken up? In plot(), main, sub, xlab, and ylab all default to NULL, but this just leaves blank space where they would have been, ditto for setting them to ''. It would be nice if not including them meant that the entire plo...

Are there any browser usage stats for the visually impaired?

I've done a lot of work optimizing websites for IE 6 high contrast mode and increased font sizes, with the intention of improving the experience for the visually impaired. However, it seems to me that anyone who is visually impaired would be more vigilant in upgrading because of the improved zoom features offered by advanced browsers. Ar...

Recommended Java maths/stats library

Can someone recommend a good statistics library for Java - it must include the ability to calculate the correlation of two data sets. I have been trying to compute the correlation of two ArrayLists - for some reason I am getting an incorrect answer (checked in Excel) despite what seems to be sound logic. I found one at jfree.org which ...

Correcting for outliers in a running average

We have a daemon that reads in data from some sensors, and among the things it calculates (besides simply just reporting the state) is the average time it takes for the sensors to change from one value to another. It keeps a running average of 64 datapoints, and assumes that runtime is fairly constant. Unfortunately, as demonstrated by ...

Calculating moving average in R

I'm trying to use R to calculate the moving average over a series of values in a matrix. The normal R mailing list search hasn't been very helpful though. What function in R or that is available as a package will allow me to calculate moving averages? Thanks ...

Best library for statistics in C++?

I'm looking for high performance code (needs to run in real-time), preferably open source, but if there is nothing that's free and high-perf, I'll take something well supported and of high quality for a cost. Any suggestions? These are the ones I've found so far, in no particular order: CodeCogs GSL Cephes Boost MathToolkit Blitz+...

Suppressing "null device" output with R in batch mode

I have a number of bash scripts which invoke R scripts for plotting things. Something like: #!/bin/bash R --vanilla --slave <<RSCRIPT cat("Plotting $1 to $2\n") input <- read.table("$1") png("$2") plot(as.numeric(input[1,])) dev.off() RSCRIPT The problem is that despite --slave, the call to dev.off() prints the message null device ...

Increment/decrement versus assignment?

I'm recording some statistics in my application. One of the statistics is the size of BigDataStructure. I have two options: Create a counter and increment / decrement the counter each time there is an add/remove from the BigDataStructure. Each time there is an add/remove from the BigDataStructure, set the counter to BigDataStructure....

How should I track widget renders?

I created a widget that users of my site will embed on their web sites. I want to track the amount of times a widget renders as well as the referring URL. The widget was written in flex and my back end is Rails. One obvious way to do this would be to have my widget make a service call to the back end to register a hit. However, when ...

Where to find .NET version usage statistics?

There are some technologies like LINQ and WPF which are nice, but installation of .NET 3.5 is still slow procedure. It's important to understand - among Windows users how many of them have .NET 3.5 installed? Is there any good up to date stats gathered about .NET Version availability/usage? I've searched a lot, but can't find. Update: ...

Best Squid Logfile Analysis Tool

I have recently been tasked with installing and configuring Squid Proxy server for filtering and monitoring our internal wireless network. I posted recently requesting guidance in selecting a Guidebook for this project and you guys did a grade job there. My next question is which Logfile Analysis tool does the stackoverflow community su...

Homebrew Chi-Squared Probability Function in C++

The following code of mine compute the confidence interval using Chi-square's 'quantile' and probability function from Boost. I am trying to implement this function as to avoid dependency to Boost. Is there any resource where can I find such implementation? #include <boost/math/distributions/chi_squared.hpp> #include <boost/cstdint.hpp...

Is Python faster and lighter than C++?

I've always thought that Python's advantages are code readibility and development speed, but time and memory usage were not as good as those of C++. These stats struck me really hard. What does your experience tell you about Python vs C++ time and memory usage? ...

HPUX machinfo equivalent for Linux? or What hardware am I using?

In HPUX the command "machinfo" list machine information such as Number of CPUs, Clock speed, Bus speed, processor type, Cache information, total memory, and OS version information. Is there an equivalent Linux utility? ...

How to get a weighted average for reviews in Excel?

So here's my challenge. I have a spreadsheet that looks like this: prod_id | pack | value | durable | feat | ease | grade | # of ratings 1 75 85 99 90 90 88 1 2 90 95 81 86 87 88 9 3 87 86 80 85 82 84 37 4 92 ...

How does one get sports related statistical data for many of the sports apps you see today?

Is there a source for sports related data? I'm thinking there must be some sort of subscription based API out there somewhere because I'm seeing so many of these type of applications these days, on the Web, desktop, and mobile phones? Anyone have any real world experience on how to go about this right, and affordability? ...