Skip to content

DoF computing mistake in function verifyHomogeneity #142

Open
@drobelin

Description

@drobelin

Hi,
Seems there is a mistake in the calculation of the number of degree of freedom of the "verifyHomogeneity" test.

Running the example shows 35 DoF instead of 30 following the documentation ("an_introduction_to_markovchain_package.pdf, p.35), as the considered Markov chains have 6 states.

>  verifyHomogeneity(kullback)
 Testing homogeneity of DTMC underlying input list 
 ChiSq statistic is 275.9963 d.o.f are 35 corresponding p-value is 0 
 $statistic
 [1] 275.9963
 
 $dof
 [1] 35
 
 $pvalue
 [1] 0

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions