Displaying 20 results from an estimated 300 matches similar to: "epitools and R 2.5"
2012 May 04
0
oddsratio and some basic help on epitools
Here is a working snippet.
library(epitools)
mat <- matrix(c(10,15,60,25,98, 12,10,70,28,14, 9,11,68,10,12
,8,13,20,11,58) ,ncol=2)
colnames(mat) <- c("treatmentA","treatmentB")
row.names(mat) <- paste("Cond",rep(1:10,1))
dimnames(mat) <- list("Condition" = row.names(mat), "instrument" =
colnames(mat))
> mat
instrument
2012 May 04
0
epitools question
Here is a working snippet.
library(epitools)
mat <- matrix(c(10,15,60,25,98, 12,10,70,28,14, 9,11,68,10,12
,8,13,20,11,58) ,ncol=2)
colnames(mat) <- c("treatmentA","treatmentB")
row.names(mat) <- paste("Cond",rep(1:10,1))
dimnames(mat) <- list("Condition" = row.names(mat), "instrument" =
colnames(mat))
> mat
instrument
2006 Nov 10
3
Confidence interval for relative risk
The concrete problem is that I am refereeing
a paper where a confidence interval is
presented for the risk ratio and I do not find
it credible. I show below my attempts to
do this in R. The example is slightly changed
from the authors'.
I can obtain a confidence interval for
the odds ratio from fisher.test of
course
=== fisher.test example ===
> outcome <- matrix(c(500, 0, 500, 8),
2010 Jan 27
1
Possible bug in fisher.test() (PR#14196)
# is there a bug in the calculation of the odds ratio in fisher.test?
# Nicholas Horton, nhorton at smith.edu Fri Jan 22 08:29:07 EST 2010
x1 = c(rep(0, 244), rep(1, 209))
x2 = c(rep(0, 177), rep(1, 67), rep(0, 169), rep(1, 40))
or1 = sum(x1==1&x2==1)*sum(x1==0&x2==0)/
(sum(x1==1&x2==0)*sum(x1==0&x2==1))
library(epitools)
or2 = oddsratio.wald(x1, x2)$measure[2,1]
or3 =
2012 May 04
0
oddsratio epitool and chi-square
Here is a working snippet.
library(epitools)
mat <- matrix(c(10,15,60,25,98, 12,10,70,28,14, 9,11,68,10,12
,8,13,20,11,58) ,ncol=2)
colnames(mat) <- c("treatmentA","treatmentB")
row.names(mat) <- paste("Cond",rep(1:10,1))
dimnames(mat) <- list("Condition" = row.names(mat), "instrument" =
colnames(mat))
> mat
instrument
2004 Sep 26
2
help for stata user
Hi,
I'm new to R, and I'm STATA user before, could you help me where I can
get document about comparison command between STATA and R.
Thank you very much,
Best regards,
-iip-
2002 Feb 19
1
exact confidence intervals for conditional logistic regression
Dear R folks,
We completed a matched case-control study that was analyzed using
conditional logistic regression. Because of the small sample size we need
to calculate exact confidence intervals. The quick solution is to purchase
LogExact by Cytel. However, we'd like to do this in R. Anyone have
experience with this?
Many thanks,
Tomas
____________________________________
Tomas Aragon, MD,
2009 Jun 17
4
trouble to start dovecot when ldap enabled
Hello
I need help
on a fedora release 11 (Leonidas) when I start the dovecot process I get
an error :
Jun 17 10:15:24 aragon dovecot: Dovecot v1.2.rc3 starting up (core dumps
disabled)
Jun 17 10:15:24 aragon dovecot: Fatal: auth(default): Support not
compiled in for passdb driver 'ldap'
Jun 17 10:15:24 aragon dovecot: Fatal: Auth process died too early -
shutting down
I installed
2004 May 04
2
Epidemiology Tools
Hi all,
Please help on this. We will be teaching epidemiology using opensource
software. What are R built-in functions or functions in available packages
that are capable of doing these:
a) Logistic regression (glm?)
b) Conditional logistic regression
c) Logistic regression with random effects
d) Beta-binomial regression
e) Poisson regression
f) Weibull regression (eha?)
g) Exponential
2005 Oct 19
0
mid-p CIs for common odds ratio
mantelhaen.test() gives the exact conditional p-value (for independence) and confidence intervals (CIs)for the common odds ratio for a stratified 2x2 table. The epitools package by Tomas Aragon (available via CRAN) contains functions which use fisher.test() to calculate mid-p exact p-values and CIs for the CMLE odds ratio for a single 2x2 table. The mid-p p-value for independence for a stratified
2005 Jun 24
1
comparing strength of association instead of strength of evidence?
Hi,
I asked this question before, which was hidden in a bunch of
questions. I repharse it here and hope I can get some help this time:
I have 2 contingency tables which have the same group variable Y. I
want to compare the strength of association between X1/Y and X2/Y. I
am not sure if comparing p-values IS the way even though the
probability of seeing such "weird" observation under H0
2019 Dec 13
2
BUG: panic when using fs:posix as dict for acl_shared_dict
Hi Aki,
I'm not sure if this bug was worked on?? Sadly I ran into it too
recently, on version 2.3.4.1.
Regards,
Aragon
On 2018/02/07 13:23, Aki Tuomi wrote:
> Hi!
>
> Thank you for reporting this issue. We'll look into it. Maybe you can
> use sqlite3 instead as workaround?
>
> Aki
>
>
> On 07.02.2018 14:22, Marco Giunta wrote:
>> Hi,
>>
2008 Jan 27
1
OR estimate
Hello,
I have a loop with 1000 repetitions which includes OR computation of an
exposure factor and outcome.
I compute OR like this:
t<-table(exposure,outcome)
oddsratio(t)$measure["estimate"]
This gives me the estimates for exposure=0 and exposure=1 but exposure=0 is
the reference group and i need only the estimate for exposure=1.
I specified a matrix OR with 3 columns (for OR
2011 Jul 10
1
Odds Ratio for evaluating Diagnostic tests
Hi friends,
I have a doubt reg the application of odds ratio.
When evaluating a diagnostic test, what odds ratio I should apply?
When I use..
*>oddsratio (X)** *
the OR I get is not ad/bc.
Thank you.
Regards,
Dr Manoj Aravind,
PG Resident,
Dept of Community Medicine,
Osmania Medical College,
Hyderabad, India.
[[alternative HTML version deleted]]
2008 Dec 02
1
Asymmetric CIs
Hi, I was wondering if there was some sort of package or function that calculated asymmetric confidence intervals for small proportions. I thought of both the epicalc and epitools package, but I am hoping to find something where you can just plug in a standard error and point estimate and it will output the upper and lower CI bounds.
Thanks!
Sarah
2012 Jun 27
1
trend in incidence rate
I would like to compare the incidence rates of three groups. They are
supposed to have different risks so I would like to test whether there is a
increasing trend in the incidence rates. Does R or any packages provide a
trend test for incidence rates? I checked epiR and epitools. It seems they
do not have this function.
Thank you for the help.
--
View this message in context:
2004 Aug 19
6
Is R good for not-professional-statistician, un-mathematical clinical researchers?
Alternate title: How can I persuade my students that R is for them?
Alternate title: Can R replace SAS, SPSS or Stata for clinicians?
I am teaching introductory statistics to twelve physicians and two veterinarians
who have enrolled in a Mentored Clinical Research Training Program. My course is the
first in a sequence of three. We (the instructors of this sequence) chose to teach
R rather than
1999 Dec 15
2
DOS wildcards w/ 2.0.5a
I've recently set up a new server running RH 6.1 and Samba 2.0.5a.
All our older servers are running 1.9.18p10, and were left that way
on the "If it ain't broke" principle.
On the new server, I've noticed that DOS wildcards don't work
correctly for some (but not all) old 16-bit DOS programs running
under Win95/98. The symptom is that the program only
2001 Mar 06
0
Continued utmp probs with sshlogin.c
Hi all,
I've hacked in some better logging for what's going on with my logins and
utmp/wtmp. Everything seems OK except for u.ut_host.
In my case, the actual variable host for this test case is
aragon.cheshirelaw.com. This is fine (as my logs show):
Mar 5 21:22:47 frodo sshd[10274]: Actual: 983852567 /dev/ttyp0
aragon.cheshirelaw.com
However, check out what u.ut_host is logged as:
2019 Dec 13
0
BUG: panic when using fs:posix as dict for acl_shared_dict
It's not very high priority I'm afraid. Did you try using sqlite instead?
Aki
> On 13/12/2019 17:40 Aragon Gouveia <aragon at phat.za.net> wrote:
>
>
> Hi Aki,
>
> I'm not sure if this bug was worked on?? Sadly I ran into it too
> recently, on version 2.3.4.1.
>
>
> Regards,
>
> Aragon
>
>
>
> On 2018/02/07 13:23, Aki