Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

How can I use variable labels in summary.matchit? For example: mydf <- MatchIt::lalonde mydf %<>% labelled::set_variable_labels( age = "MyAge", educ = "MyEduc", ...
1 vote
2 answers
167 views

I'm trying to run optimal propensity score matching using the MatchIt package in R, but I'm encountering a persistent error. Here's my code: library(MatchIt) library(optmatch) match <- matchit( ...
1 vote
1 answer
59 views

I have a dataset with two groups of people: vaccinated and unvaccinated. In the vaccinated group, each row represents a unique ID with a corresponding unique T0. In the unvaccinated group, each ID may ...
Miao Cai's user avatar
  • 1,054
-1 votes
1 answer
37 views

I'm supposed to do the following: Exact match on HF 0.005 caliper for the logit propensity score greedy match using Mahalanobis distance utilizing the logit of the propensity score and continuous ...
Alex's user avatar
  • 73
1 vote
1 answer
82 views

I'm fitting a logistic model after using both multiple imputation and covariate balancing. With standard logistic regression, the basic structure of my code (which works properly) looks something like ...
user avatar
2 votes
0 answers
68 views

I am having trouble matching my historical cohort to a study cohort in R studio. Objective: Get a match to every patient in my study cohort using the historical cohort. I want each patient in the ...
Anne's user avatar
  • 21
0 votes
1 answer
51 views

I'm expanding this post -- answered by @edwards (Thanks). I'm working with panel data. We assessed children in 2019, 2020, 2021 and 2022. Therefore, I have four datasets (2019, 2020, 2021, and 2022). ...
0 votes
1 answer
272 views

I am attempting to estimate a treatment effect for a study that features both (a) hierarchical data (students within classrooms; implemented with lme4) and (b) matching between treatment and control ...
0 votes
0 answers
43 views

I have a dataset that has missing values in baseline variables (t1) and in outcome variables (t2 & t3). Each individual has a unique ID and three lines in the dataset. I imputed these data via ...
0 votes
1 answer
147 views

I'm using MatchIt to achieve greater balance between study groups. Most methods appear to work great, reducing differences in covariates across groups (I'm including method = "optimal" here ...
1 vote
1 answer
357 views

I am attempting to incorporate survey/sampling weights while using CBPS and WeightThem after multiple imputation. The basic code structure of my approach is: # MICE var_list <- c("outcome"...
user avatar
1 vote
1 answer
164 views

The entry for ratio in Matchit::matchit reads for methods that allow it, how many control units should be matched to each treated unit in k:1 matching. Should be a single integer value. See the ...
0 votes
1 answer
140 views

I am doing some fuzzy matching using the 'matchit' command in Stata. After the fuzzy match, my data looks something like this ​ Identifier Variable B Variable C Similarity Score 1 A X 0.4 1 A Y 0.6 1 ...
Samira's user avatar
  • 43
4 votes
1 answer
274 views

I was trying to match two groups with n1 = 181 and n2 = 39. Because the regular 1:1 or 1:2 matching cannot produce the ideal SMD results, I changed to 1:3 with caliper = 0.2. The results shows good ...
0 votes
1 answer
63 views

I wasn't able to reproduce this in an MWE. I was using this code in the past and it worked. Some might have changed since then. There is no error. The problem is that get_balance is of NoneType. The ...
buhtz's user avatar
  • 12.5k

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /