Skip to content

Clarification about counter value in generate_pseudo_pop() #138

Closed

Description

@m-qin

Hello! Falco and I are working on the school shooting project and we are trying to understand the value of generate_pseudo_pop(), specifically the item counter. Is counter, a vector of length equal to the length of the pseudopopulation, representing how many times each real observation (that is untrimmed by the matching algorithm) is matched in the pseudopopulation?

We're trying to clarify this because 77 out of 48,949 values in counter are ≥1000, with the three largest values being 17,649, 18,645, and 23,473.

Thanks!

Activity

  1. m-qin commented on Jun 30, 2022

    @m-qin
    Author

    Also, if I run sum(counter), should I get length(counter) * {number of GPS bins}? And is {number of GPS bins} = (max(gps) - min(gps)) / delta_n? Unfortunately, I'm not seeing that this is true in my code.

    Notation: gps, like counter, is one of the items in the value of generate_pseudo_pop(). delta_n is the parameter I input into generate_pseudo_pop().

    I'm trying to understand the GPS matching algorithm (described on page 10 of Wu, Xiao, et al. "Matching on generalized propensity scores with continuous exposures." arXiv preprint arXiv:1812.06575 (2018)).

  2. locked and limited conversation to collaborators on Jun 30, 2022
  3. converted this issue into a discussion #139 on Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions