开发者

Chi-square distribution with c#?

开发者 https://www.devze.com 2023-02-08 01:29 出处:网络
I would like to create an algorithm in C# that implements the chi-square distribution. I I have found a bunch of implementations on the internet but all of them use a lot of framework and I would lik

I would like to create an algorithm in C# that implements the chi-square distribution. I

I have found a bunch of implementations on the internet but all of them use a lot of framework and I would like somthing simpler for a project at school.

How ca开发者_开发知识库n this be done?


A couple of years ago I ported the Perl module Statistics::Distributions to JavaScript. Among other distributions, it implements chi-square. It is a very lightweight and simple. You can find that implementation at http://statistics-distributions-js.googlecode.com/files/statistics-distributions-001.js.

It shouldn't be too hard to port that to C#. Or you can try something like http://jint.codeplex.com/ and see if you can just run the JavaScript directly on .NET.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号