[R] exact logistic regression

Denis Kazakiewicz d.kazakiewicz at gmail.com
Sun Feb 6 00:23:07 CET 2011


Dear Łukas
Thank you very much

...FOR EACH ROW...
That's cool


data2elrm<-cbind(mydata,n=1)

With best regards
Denis

У Пят, 04/02/2011 у 22:16 +0100, Łukasz Ręcławowicz піша:
> 
> 
> 2011/2/4 Den <d.kazakiewicz at gmail.com>
>         To use elrm() I have to aggregate my data,which is really time
>         consuming
>         when I look for the way out through many variables. 
> You don't have to do that. One exception is that the binomial response
> should be specified as success/trials, where success gives the number
> of successes and trials gives the number of binomial trials for each
> row of dataset. 
> So... when one row = one trial:
> 
> 
> data2elrm<-cbind(mydata,n=rep(1,dim(mydata)[1]))
> 
> 
> 
>         But the worst thing
>         is that I am not not sure if I can  trust to p-values in
>         output.
> It depends, but it's always a "guess".
> 
> -- 
> Miłego dnia
> 
> 
> 
>



More information about the R-help mailing list