search for: fipool

Displaying 2 results from an estimated 2 matches for "fipool".

2004 Feb 06
4
memory reduction
..._create, pool_destroy +\- Allocate and free memory in managed allocation pools. +.SH SYNOPSIS +.B #include "pool_alloc.h" + +\fBstruct alloc_pool *pool_create(size_t \fIsize\fB, size_t \fIquantum\fB, void (*\fIbomb\fB)(char *), int \fIflags\fB); + +\fBvoid pool_destroy(struct alloc_pool *\fIpool\fB); + +\fBvoid *pool_alloc(struct alloc_pool *\fIpool\fB, size_t \fIsize\fB, char *\fImsg\fB); + +\fBvoid pool_free(struct alloc_pool *\fIpool\fB, sise_t \fIsize\fB, void *\fIaddr\fB); + +\fBvoid *pool_talloc(struct alloc_pool *\fIpool\fB, \fItype\fB), int \fIcount\fB, char *\fImsg\fB); + +\fBvoid...
2008 Jun 25
0
Goodness-of-fit for zero-truncated poisson distribution
...instance: Fi <- c(8, 5, 0, 4, 0, 1, 2, 0, 0, 1) muHat <- trunpoismle(mean(Fi)) class <- 1 : 10 Exp <- muHat^class * exp(-muHat) / factorial(class) Exp <- Exp[-1] / (1- Exp[1]) * sum(Fi) # individuals seen 1, 2, 3, 4, 5, 6, 7, 8, 9, and 10 times # This distribution maybe reduced to: FiPooled <- c(8, 5, 4, 4) # individuals seen 1, 2, 3-4 and > 4 times to apply chi-square tests I would like to collapse the expected values the same way. Does anyone have some tips or point out on a function I could have missed to pool classes of a contingency table (or even to perfom the GOF test...