question about gaussian_kern() parameters?#25
Open
ajdamico wants to merge 1 commit into
Open
Conversation
hi, hope all is well with you! we are reviewing some functions in our `library(convey)` to make sure our mathematics is sound and we're trying to reconcile why some of our at risk of poverty rate calculations are yielding very tiny differences from `library(vardpoor)` .. we have looked over the calculations in Osier's 2009 paper and we're curious if you might take a look at how `linarpr` implements the equation under section 2.2 on page 182 of the PDF below? the equation below _By using the derivation rule (33), we obtain_ includes the threshold `x=ARPT (M)` but from our reading of `linarpr`, we're not sure if you're using `x=MED (M)` in this position instead? we've presented this as a pull request just to make it easier to highlight our question about the implementation but we definitely might be making a mistake or mis-reading the math on our end. we appreciate your time with this! -anthony and @guilhermejacob https://www.researchgate.net/profile/Guillaume-Osier/publication/313562013_Variance_Estimation_for_Complex_Indicators_of_Poverty_and_Inequality_Using_Linearization_Techniques/links/597051ec4585158a48ffa05a/Variance-Estimation-for-Complex-Indicators-of-Poverty-and-Inequality-Using-Linearization-Techniques.pdf#page=17
|
For isntance, it appears the threshold is passed to the density function estimation in vardpoor/vardpoor/R/linpoormed.R Line 253 in 28ed111 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hi, hope all is well with you! we are reviewing some functions in our
library(convey)to make sure our mathematics is sound and we're trying to reconcile why some of our at risk of poverty rate calculations are yielding very tiny differences fromlibrary(vardpoor).. we have looked over the calculations in Osier's 2009 paper and we're curious if you might take a look at howlinarprimplements the equation under section 2.2 on page 182 of the PDF below? the equation below By using the derivation rule (33), we obtain includes the thresholdx=ARPT (M)but from our reading oflinarpr, we're not sure if you're usingx=MED (M)in this position instead? we've presented this as a pull request just to make it easier to highlight our question about the implementation but we definitely might be making a mistake or mis-reading the math on our end. we appreciate your time with this! -anthony and @guilhermejacobhttps://www.researchgate.net/profile/Guillaume-Osier/publication/313562013_Variance_Estimation_for_Complex_Indicators_of_Poverty_and_Inequality_Using_Linearization_Techniques/links/597051ec4585158a48ffa05a/Variance-Estimation-for-Complex-Indicators-of-Poverty-and-Inequality-Using-Linearization-Techniques.pdf#page=17