[R] positive deviance plot for Binomial distribution

greg holly m@k@hho||y @end|ng |rom gm@||@com
Mon Jan 28 17:16:17 CET 2019


Hi Jeff;

Thanks so much for this. I would try to reformulate what you suggested.
Your help is highly appreciated

Regards,
Greg



On Sun, Jan 27, 2019 at 8:16 PM Jeff Newmiller <jdnewmil using dcn.davis.ca.us>
wrote:

> I haven't found much call to mess with this, but I think the built-in
> "glm" function could do it. You might have to reformulate the inputs to
> outcome/observation (ratio) and outcome+observation (weight) to get glm to
> accept it [1]... but I am not sure.  What I am somewhat more sure of is
> that your description sounds an awful lot like a q-q plot which is one of
> the standard outputs when you plot a regression model.
>
> [1]
>
> https://stats.stackexchange.com/questions/322038/input-format-for-binomial-glm-in-r
>
>
> On Fri, 25 Jan 2019, greg holly wrote:
>
> > Hi Dear all;
> >
> > I have binomially distributed data (a small portion is given below) and I
> > would like to create a distribution plot for positive deviance with
> > "Probability of results" at Y axis and "percentage of outcome" at the
> > x-axis. I wondered anyone knows the name of R  library for this.
> >
> > Regards,
> >
> > Greg
> >
> > provider outcome observation
> > 1               14            27
> > 2                11           33
> > 3                9             17
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>
> ---------------------------------------------------------------------------
> Jeff Newmiller                        The     .....       .....  Go Live...
> DCN:<jdnewmil using dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live
> Go...
>                                        Live:   OO#.. Dead: OO#..  Playing
> Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
> /Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
> ---------------------------------------------------------------------------
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list