cff-version: 1.2.0 abstract: "<p>We propose an implementation of the particle filter in a quasi-static case in the example of Gaussian prior with independent and identically distributed prior states and observation errors. Weight collapse occurs in the particle filter when the number of model states and observations increases for a given ensemble size. In this example, we use a synthetic experiment to illustrate how weight collapse varies in the posterior distribution.</p><p>This code provides a basis for the implementation of importance sampling methods and can be easily adapted to other problems.</p>" authors: - family-names: Kim given-names: Samantha title: "Partile filter code with an example of weight collapse in importance sampling methods" keywords: version: 1 identifiers: - type: doi value: 10.4121/e25786c9-2bad-4408-a5af-41c8218a5fe5.v1 license: MIT date-released: 2024-02-20