Dear all,
I intend to use a matching procedure on a project where, because of the nature of my cases, weights of control units should be all kept at 1. Reading the manuals and articles I realized that the way to do it was using CEM and applying the function k2k.However, I couldn't get it to work as described. When I run the command matchit(x, ..., k2k=TRUE), it returns a matrix that, when extracted into a data-frame, still contains weights and a different number of treated and control units - even though no error messages are shown. This happens both to my data and when running the lalonde demo script. The result of the matching is exactly the same as that obtained when k2k=FALSE. I tried to go back to the "cem" package and run the demo script there on LL with k2k - using first the command cem(x,... k2k=TRUE) and also doing the matching first and applying k2k(cem.match,...) afterwards. In both cases there's the error message "In min(x, na.rm = TRUE) : no non-missing arguments to min; returning Inf", and the resulting matrix is still exactly the same as that obtained without setting k2k to TRUE.
Thank you in advance for the help.
Best regards,
Bruno Castanho e Silva
Hello My names is Bonitta Gianluca from Italy
First of all Sorry for noise
Second Many thanks for your Matchit package...
I have one question (maby I had paied no enough attention,..)
Is it possible to visualize the paired subjects ( of course in case match 1:1) in match.data function on in other way?
For example subject 122 is matched with subject 150 so this two subject would have the same valu of matching variable
That is, a variable (zzz) where all the members of any given match have the same value of zzz, and zzz is unique for each set.
I use it for stratification for paired match into cox model
Sorry for noise again
Thank You
Best Bonittta
[5xmille]
--
GRUPPO OSPEDALIERO SAN DONATO Foundation
Sostieni la ricerca italiana, dona il tuo 5X1000, non ti costa nulla!
Inserisci il Codice Fiscale 01646320182
Metti la tua firma nella casella Finanziamento della Ricerca Scientifica della tua dichiarazione dei redditi
Dear Everyone,
Is there anyone who knows how to use a weights with matchit (would like to
do genetic matching)? I have longitudinal data so the weights are very
important in this case.
Thanks for any advise!
Bests,
Márta Radó