I'm trying to perform propensity score matching on survey data. I'm aware of the package MatchIt which is able to make the matching procedure but can I include in some ways the individual weights? because if I don't consider them, a less relevant observation can be match with a more relevant one. Thank you!
Propensity score matching with individual weights
751 views Asked by Maria Cristina Maurizio At
1
There are 1 answers
Related Questions in R
- How to make an R Shiny app with big data?
- How do I keep only specific rows based on whether a column has a specific value?
- Likert scale study - ordinal regression model
- Extract a table/matrix from R into Excel with same colors and stle
- How can I solve non-conformable arguments in R netmeta::discomb (Error in B.matrix %*% C.matrix)?
- Can raw means and estimated marginal means be the same ? And when?
- Understanding accumulate function when .dir is set to "backwards"
- Error in if (nrow(peaks) > 0) { : argument is of length zero Calls: CopywriteR ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous> Execution ha
- How to increase quality of mathjax output?
- Convert the time intervals to equal hours and fill in the value column
- How to run an R function getpoints() from IPDfromKM package in an R shiny app which in R pops up a plot that utilizes clicks to capture coordinates?
- Replace NA in list of dfs in certain columns and under certain conditions
- R and text on Cyrillic
- The ts() function in R is returning the correct start and frequency but not end value which is 1 and not 179
- TROUBLING with the "DROP_NA" Function
Related Questions in MATCHING
- why result of regular expression match in not as expected?
- Importing large contact file error message and failure --why?
- Custom pattern matching between two columns and replacing to keep within-column groups consistent
- Unable to find a match for a substring in column of my dataframe
- numerical/user defined similarity calculation in reclin2
- Combining matchit objects for descriptive analysis (CRAN/R)
- Adding together matrices of two different dimensions with column/row matching
- Copy and paste specific data from an Excel sheet to a web page based on a specific condition, repeating this process more than 1000 times
- R Coarsened Exact Matching, list with matched controls
- record matching/similarity calculation for numbers and characters
- Searchbox on Sheet1 for finding a specific row on a table placed in Sheet2
- I want to highlight cells that are not represented in table
- PowerShell move all files containg exact string in their body
- Matching up values in two separate columns using VBA
- Replacing rows of NA with another row meeting specific column matching
Related Questions in PROPENSITY-SCORE-MATCHING
- Ensuring Treated Subjects are Matched to Control Subjects
- Combining matchit objects for descriptive analysis (CRAN/R)
- twang r package timeInvariant argument fails to identify variables in formula
- I did the 1:3 propensity matching but the turnout shows 1:2.7 ratio, but the SMD results are very ideal, is this correct?
- PanelMatch package issue with PE.results output
- R package ebal for Entropy Balancing: Error message
- Cobalt and MatchThem: Post Imputation analysis
- Matchthem and Marginal Effects with multiply imputed data
- Balance table with frequencies and proportions after weighting
- Calculate propensity-scores within strata
- LogisticRegression complete quasi-separation
- Confounding variables in Propensity Score Matching- balanced variables have a Standardized Mean Difference btw Treatment & Control > 0.1
- Love.plot - display balance for a second set of weights
- Is it feasible to use weightthem - ebal (R statistics) on an interaction as a Treatment?
- Identifying matched unexposed observations to exposed observations from two different dataframes in R
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Update 2020-11-25 below this answer.
Survey weights cannot be used with matching in this way. You might consider using weighting, which can accommodate survey weights. With weighting, you estimate the propensity score weights using a model that accounts for the survey weights, and then multiply the estimated weights by the survey weights to arrive at your final set of weights.
This can be done using the weighting companion to the
MatchItpackage,WeightIt(of which I am the author). With your treatmentA, outcomeY(I assume continuous for this demonstration), covariatesX1andX2, and sampling weightsS, you could run the following:It's critical that you assess balance after estimating the weights; you can do that using the
cobaltpackage, which works withWeightItobjects and automatically incorporates the sampling weights into the balance statistics. Prior to estimating the effect, you would run the following:Only if balance was achieved would you continue on to estimating the treatment effect.
There are other ways to estimate weights besides using logistic regression propensity scores.
WeightItprovides support for many methods, and almost all of them support sampling weights. The documentation for each method explains whether sampling weights are supported.MatchIt4.0.0 now supports survey weights through thes.weights, just likeWeightIt. This supplies survey weights to the model used to estimate the propensity scores but otherwise does not affect the matching. If you want units to be paired with other units that have similar survey weights, you should enter the survey weights as a variable to match on or to place a caliper on.