MatchIt with more than one unit Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!R package MatchIt erroneous summary outputdata.table vs dplyr: can one do something well the other can't or does poorly?Matching 2 control matches for each case individual in r with matchitMatchItNearest Neighbor Matching using “Matching” PackageHow do I specify sample size with matchit() in R?matchit CEM - “subscript out of bounds” errorExact age matched match with Matchit doesn't work.Matchit with condition such as excludingUsing 1 to 1 Coarsened Exact Matching with MatchItPropensity Score in R

A term for a woman complaining about things/begging in a cute/childish way

Can the Flaming Sphere spell be rammed into multiple Tiny creatures that are in the same 5-foot square?

How often does castling occur in grandmaster games?

Crossing US/Canada Border for less than 24 hours

What does it mean that physics no longer uses mechanical models to describe phenomena?

What is the difference between a "ranged attack" and a "ranged weapon attack"?

What do you call the main part of a joke?

Amount of permutations on an NxNxN Rubik's Cube

What to do with repeated rejections for phd position

What are the discoveries that have been possible with the rejection of positivism?

How much damage would a cupful of neutron star matter do to the Earth?

How to identify unknown coordinate type and convert to lat/lon?

Do I really need to have a message in a novel to appeal to readers?

Draw 4 of the same figure in the same tikzpicture

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

How could we fake a moon landing now?

Sum letters are not two different

Can a sorcerer use careful spell on himself?

Google .dev domain strangely redirects to https

Antipodal Land Area Calculation

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

What initially awakened the Balrog?

Maximum summed subsequences with non-adjacent items

How to report t statistic from R



MatchIt with more than one unit



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!R package MatchIt erroneous summary outputdata.table vs dplyr: can one do something well the other can't or does poorly?Matching 2 control matches for each case individual in r with matchitMatchItNearest Neighbor Matching using “Matching” PackageHow do I specify sample size with matchit() in R?matchit CEM - “subscript out of bounds” errorExact age matched match with Matchit doesn't work.Matchit with condition such as excludingUsing 1 to 1 Coarsened Exact Matching with MatchItPropensity Score in R



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I want to use MatchIt on a data set with one treated unit and N number of control units. (control and treated does not matter for me, I can call the N samples treated and the unique one as control.)



I want to sort the N samples according to their distance from the control units.



Simply I want to sort the control samples according to their distance from the unique treated sample.



How can I do this? What is the argument that determines the number of matches?



the matchit(formula, data, method) is just giving me one match.



Thanks










share|improve this question






















  • It could be rewarding to look into the Matching package, I made better experiences with it.

    – jay.sf
    Apr 6 at 6:24


















0















I want to use MatchIt on a data set with one treated unit and N number of control units. (control and treated does not matter for me, I can call the N samples treated and the unique one as control.)



I want to sort the N samples according to their distance from the control units.



Simply I want to sort the control samples according to their distance from the unique treated sample.



How can I do this? What is the argument that determines the number of matches?



the matchit(formula, data, method) is just giving me one match.



Thanks










share|improve this question






















  • It could be rewarding to look into the Matching package, I made better experiences with it.

    – jay.sf
    Apr 6 at 6:24














0












0








0








I want to use MatchIt on a data set with one treated unit and N number of control units. (control and treated does not matter for me, I can call the N samples treated and the unique one as control.)



I want to sort the N samples according to their distance from the control units.



Simply I want to sort the control samples according to their distance from the unique treated sample.



How can I do this? What is the argument that determines the number of matches?



the matchit(formula, data, method) is just giving me one match.



Thanks










share|improve this question














I want to use MatchIt on a data set with one treated unit and N number of control units. (control and treated does not matter for me, I can call the N samples treated and the unique one as control.)



I want to sort the N samples according to their distance from the control units.



Simply I want to sort the control samples according to their distance from the unique treated sample.



How can I do this? What is the argument that determines the number of matches?



the matchit(formula, data, method) is just giving me one match.



Thanks







r matching






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 21:54









No LieNo Lie

1088




1088












  • It could be rewarding to look into the Matching package, I made better experiences with it.

    – jay.sf
    Apr 6 at 6:24


















  • It could be rewarding to look into the Matching package, I made better experiences with it.

    – jay.sf
    Apr 6 at 6:24

















It could be rewarding to look into the Matching package, I made better experiences with it.

– jay.sf
Apr 6 at 6:24






It could be rewarding to look into the Matching package, I made better experiences with it.

– jay.sf
Apr 6 at 6:24













1 Answer
1






active

oldest

votes


















0














The argument is ratio; for example, to do variable 2:1 matching, you would set ratio = 2. There are some bugs that makes this not work for all matching methods.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071530%2fmatchit-with-more-than-one-unit%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The argument is ratio; for example, to do variable 2:1 matching, you would set ratio = 2. There are some bugs that makes this not work for all matching methods.






    share|improve this answer



























      0














      The argument is ratio; for example, to do variable 2:1 matching, you would set ratio = 2. There are some bugs that makes this not work for all matching methods.






      share|improve this answer

























        0












        0








        0







        The argument is ratio; for example, to do variable 2:1 matching, you would set ratio = 2. There are some bugs that makes this not work for all matching methods.






        share|improve this answer













        The argument is ratio; for example, to do variable 2:1 matching, you would set ratio = 2. There are some bugs that makes this not work for all matching methods.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 6 at 5:43









        NoahNoah

        670213




        670213





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55071530%2fmatchit-with-more-than-one-unit%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            1928 у кіно

            Захаров Федір Захарович

            Ель Греко