Skip to content

KarolineHuth/sctpermutation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Structural Change Test - Permutation Alternative

Equal parameter estimates across subgroups is a substantial requirement of statistical tests. Ignoring subgroup differences poses a threat to study replicability, model specification, and theory development. One powerful statistical method that allows testing for parameter invariance is structural change tests. A core element of those tests is the empirical fluctuation process. In the case of parameter invariance, the fluctuation process asymptotically follows a Brownian bridge. This asymptotic assumption further provides the basis for inference. However, in this paper, we show that the empirical fluctuation process does not follow a Brownian bridge in small samples. Thus, methods of obtaining the sampling distribution are incorrect, and the p-value misspecified. Therefore, we implement an alternative solution to obtaining the sampling distribution - permutation approaches. Permutation approaches obtain the sampling distribution through resampling of the dataset, avoiding unmet distributional assumptions. We show that the permutation approach solves the issue of the misspecified sampling distribution and increases power, therefore serves as a superior method to standard asymptotic approximations of the sampling distribution.

The functions contained in this repository allow for simulation of the structural change test in finite samples both for linear regression models and Gaussian graphical models. Furthermore, the repository also contains code to implement the permutation alternative.

Pre-Print to the respective preprint can be accessed here: https://psyarxiv.com/efzwq

About

Permutation test alternative for the structural change test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages