Displaying 2 results from an estimated 2 matches for "pinusan".
2010 Mar 16
2
How can I save the result for goodness of fit test
Dear All,
I run the goodness of fit test using goodfit() in vcd package.
The result is as follow:
Goodness-of-fit test for poisson distribution
X^2 df P(> X^2)
Pearson 1.053348 2 0.5905661
Warning message:
In summary.goodfit(gf) : Chi-squared approximation may be incorrect
I want to save the the test statistics(X^2), df, and p-value. How can I save
the result.
2010 Feb 18
0
Chisq test for truncated count data and estiamte the expectation value
Dear all,
I have some questions for count data.
First, I want to calculate the expectation value and variance from truncated
data when I assume that the truncated data follow Poisson or negative
binomial distribution.
For example,
N freq
1 30
2 35
3 26
4 8
5 0
6 2
7 0
The mean of N is 2.2. If the data follows Poisson distribution, the
estimated lambda is 1.9.
Is there any package to