About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • Last update: 5 years ago
  • Total downloads: 69
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Don Maszle
See full specifications

scripts default iconmnbinrnd (Scripts) Publisher's description

In many experimental settings in the life sciences, aggregated count data needs to be analyzed, for example

In many experimental settings in the life sciences, aggregated count data needs to be analyzed, for example, the number of mites on leaves of a tree, or the number of parasites found in hosts. This data is often well-described by a negative-binomial distribution.

Although Matlab's statistical toolbox has negative-binomial functions, they are parametrized for a limited form of the distribution based on the expected number of Bernoulli events needed to achieve a number of successes. The parameters are the event probability, P, and a positive integer aggregation constant, R, the number of successes.

The more general form is parametrized with a mean count W and an aggregation K. W and K are related to the traditional parameters P and R by the expressions:

P = K/(K + W) and K = R,

with the distinction that K is any positive real number, not just positive integers.

Here I provide two functions for the more general form, a generator MNBINRND and a density function MNBINPDF.

Requires the Statistics Toolbox

System Requirements:

MATLAB 5.2 (R10)c
Program Release Status: New Release
Program Install Support: Install and Uninstall

mnbinrnd (Scripts) Tags:

Click on a tag to find related softwares

Is mnbinrnd (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.