[R] Efficient ways of finding functions and Breslow-Day test for homogeneity of the odds ratio

2005-10-18 Thread MJ Price, Social Medicine
Dear all,

I have been trying to find a function to calculate the Breslow-Day test for 
homogeneity of the odds ratio in R. I know the test can be preformed in SAS 
but i was wondering if anyone could help me to perform this in r.

In addition i have the fullrefman file to search for functions in the basic 
R packages, does anyone have any suggestions of an efficient way of 
searching for functions in the other add-on packages on the website?

Thanks in advance

Malcolm

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] Relative Risk and Confidence Intervals

2005-10-17 Thread MJ Price, Social Medicine
Dear all,

Despite searching the fullrefman file I have been unable to locate a 
function to calculate the relative risk and confidence intervals from a 
simple 2 by 2 contingency table. Can anyone tell me how this is done.

Thanks in advance

Malcolm

--
MJ Price, Social Medicine
[EMAIL PROTECTED]

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] half-normal residual plots

2005-04-07 Thread MJ Price, Social Medicine
Hi all,
I am trying to produce a half-normal plot of residuals from a GLM. I have 
found the qqnorm function for producing a normal plot but can't figure out 
how to produce a half-normal. Can anyone help with this?

Thanks
Malcolm
--
MJ Price, Social Medicine
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] parameterisation of Factor levels

2005-04-07 Thread MJ Price, Social Medicine
Hi all,
I am trying to fit simple 2 factor (factors A and B - 3 and 2 levels 
respectively) poisson regression model. Inititially a pure error model is 
fitted and significance tests are performed on each parameter. I wish to 
remove an individual parameter from the model - the interaction between the 
second level of factor A and factor B. However i only seem to be able to 
remove the AB (all interactions between A and B) term, which is no use as 
it also removes the interaction term between level 3 of Factor A and factor 
B. Can anyone help with this.

Thanks
Malcolm
--
MJ Price, Social Medicine
[EMAIL PROTECTED]
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html