4

I will need to write an app to run statistical analysis on a DataGrid. Pp and Ppk is easy to do with standard deviation calculation in C#. But Some number such as estimated deviation (rBar/d2) used for Cp and Cpk - that is too complex (for me ) to code. Are there existing libraries, commercial or open source, that I can implement?

KMC
  • 18,443
  • 53
  • 146
  • 238

2 Answers2

2

Extreme Optimization might be something you are looking for.

Edit
How about SPC Chart?

Sani Singh Huttunen
  • 21,744
  • 5
  • 66
  • 73
  • Nope..Extremem Optimization does not contain Statistical Process Control method (e.g. No estimated deviation, Cp, Cpk ) – KMC Feb 25 '11 at 08:34
  • Thanks. But "SPC Chart" did not calculate Cpk correctly (Cpk is too close to Ppk) - that is due to using StdDev or SteDevp to calculate deviation instead of using rBar/d2 or rBar/c4 (which is where I'm getting stuck coding). Many "SPC Chart" or "Excel SPC" etc has close but inaccurate Cpk, which is why many of us resorted to use the expensive Minitab... – KMC Feb 25 '11 at 09:17
1

You might wanna check out Sho, it's a tool for doing stuff with data and it provides a lot of math libraries.

http://channel9.msdn.com/Blogs/Charles/John-Platt-Introduction-to-Sho

http://research.microsoft.com/en-us/projects/sho/

John Leidegren
  • 56,169
  • 16
  • 118
  • 148
  • Sho is very nice, just that it does not contain SPC functions (e.g. Cp, Cpk, Pp, Ppk etc.) – KMC Feb 25 '11 at 08:35