I was trying to estimate a causal effect using inverse probability weighting from the causalweightspackage. However, I keep running into the following ...
I was trying to estimate a causal effect using inverse probability weighting from the causalweightspackage. However, I keep running into the following ...
I want to match up to 3 controls for each of the case with three conditions: The age should be +3 years The gender should be the same The prac ...
My goal is to exclude net_tfa from the formula. Nervertheless, I would like to use this variable in subsequent steps. Why does matchit() not except va ...
#adding packages and features #model to find propensity scores #Returns error: Code worked on my professor's code, but not on mine. I'm not s ...
i would like to extract the SMD values from MatchIt https://cran.r-project.org/web/packages/MatchIt/vignettes/assessing-balance.html#recommendations-f ...
I am using R's MatchIt package but calling it from Python via the pyr2 package. On the R-side MatchIt gives me a complex result object including raw ...
Suppose I create 10 multiply-imputed datasets and use the (wonderful) MatchThem package in R to create weights for my exposure variable. The MatchThem ...
I would like to edit the list of categories of variables in the love. plot in my assessment of covariate balance. It is possible to remove some catego ...
I am trying to make a series of nice density plots to show balance for variables in a psm analysis. The basic plot function produces a simple serie ...
My dependent variable is an indicator variable (1 or 0). The issue is that my N is very large but the number of observations where my dependent variab ...
I'm using the Covariate Balancing Propensity Score (CBPS) package and I want to estimate robust standard errors for my ATT results that incorporate th ...
I'm using kmatch in Stata. The reason why I use kmatch is to use the command ematch to match exactly on a specific variable in addition to the propens ...
The R package MatchIT uses a caliper width on the standard deviation of the propensity score. Is there a way to use logit of the propensity score? ...
I want to use the propensity score fitted from a linear model to match observations using the MatchIt library. For example, suppose df is a dataframe ...
I am running an analysis to assess the land conservation policy impact on land use change at parcel level. To address the non-random nature of conserv ...
I am attempting to use MatchIt for a large dataset using the code below When I look at the summary, I get this: Which I would think yields a per ...
I'm using the MatchIt package in R to conduct coursened exact matching. When I complete the matching and check the balance using cobalt, I'm told that ...
Rookie coder here so please bear with me. Trying to run a propensity score match in R for a medical paper where I am trying to compare a medical treat ...
I conducted prospensity score matching in R using the R-package "Matching" and "Matchit" respectively, but the number of matches were completely diffe ...
The library optmatch that is used with MatchIt library is not compatible with R 4.1.2 and seems to be discontinued. Any one aware of an alternative wi ...