Comments (4)
@jaysf where does WeightLoss
dataset come from? In general, it is immensely helpful if you provide a fully reproducible example.
from matchit.
@alexWhitworth it's actually inside the library(car)
package and it's included when you run the code, sorry that you've made bad experiences in past!
from matchit.
@jaysf This is not a bug. There are no exact matches in your dataset. All units are uniquely described
library(data.table)
cnts <- imputeMulti::multinomial_stats(WeightLoss1, output = "x_y")
setDT(cnts)
cnts <- dcast.data.table(cnts, wl1 + wl2 + wl3 + se1 + se2 + se3 ~ group)
cnts
wl1 wl2 wl3 se1 se2 se3 0 1
1: 3 2 1 11 11 12 1 NA
2: 3 2 1 16 17 15 NA 1
3: 3 3 2 14 15 13 1 NA
4: 3 4 1 16 13 17 NA 1
5: 3 5 1 13 13 16 NA 1
6: 4 2 1 12 11 11 NA 1
7: 4 2 2 16 16 11 1 NA
8: 4 3 1 12 11 14 NA 1
9: 4 3 1 17 12 16 1 NA
10: 4 3 2 15 15 15 NA 1
11: 4 3 3 14 13 15 1 NA
12: 4 4 3 13 14 17 1 NA
13: 4 7 1 16 12 18 NA 1
14: 5 2 1 15 13 16 1 NA
15: 5 3 2 16 15 14 1 NA
16: 5 4 1 13 14 15 NA 1
17: 5 4 1 13 15 15 1 NA
18: 5 4 1 14 14 15 1 NA
19: 5 5 4 13 11 18 NA 1
20: 6 3 2 12 11 14 NA 1
21: 6 4 2 16 15 18 NA 1
22: 6 5 2 15 12 18 NA 1
23: 6 5 3 17 16 19 NA 1
24: 6 5 4 17 16 19 1 NA
25: 6 5 4 17 18 18 1 NA
26: 6 6 3 15 13 18 NA 1
27: 7 4 3 16 14 18 NA 1
28: 7 6 3 17 11 18 NA 1
29: 7 6 4 19 19 19 NA 1
30: 7 7 4 15 11 19 NA 1
31: 7 9 4 16 16 19 NA 1
32: 8 6 1 17 17 17 NA 1
33: 9 5 2 16 14 17 NA 1
34: 9 7 3 13 12 17 NA 1
from matchit.
I think I can verify this. Thank you!
from matchit.
Related Issues (20)
- Matrix of matches if replace = TRUE HOT 4
- Error when including a numeric variable in formula using cem HOT 9
- Calculation of weights HOT 6
- Caliper not working as intended on versions 4.5.1 - 4.5.3 HOT 16
- "Simple" exact 1:1 matchint not working HOT 5
- Get "Sample Sizes:" summary as table or dataframe HOT 1
- eCDF HOT 1
- Error when providing a formula with "." character HOT 1
- 1:1 matching (cem, cutpoints=0) but tollerance/distance on one variable HOT 2
- MatchIt for matching control with multiple group of treatment HOT 5
- PSM-DiD on Panel data/match or Unmatch for control with multiple group of treatment HOT 3
- Optimal matching throws an error about the data argument when discarding is used HOT 1
- Very difference Matching Results using R matchit compared to SAS PSmatch HOT 2
- General matching HOT 7
- Suggestion for Concrete Selection of Covariates HOT 3
- Sensitivity Analysis with a MatchIt Object - Suggestion HOT 1
- Cardinality matching doesnt work with HiGHS HOT 1
- Relation between Covariates for Matching and Variables for Treatment Effect Estimation HOT 1
- Data needs to be randomized before sending it to matchit. Is this desired behaviour? HOT 7
- Weights for t test, chi square test, and effective sample size of subgroups HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matchit.