Displaying 20 results from an estimated 100 matches similar to: "OR estimate"
2007 Jun 11
1
epitools and R 2.5
At work after updating to R 2.5 I get an error using epitab from package
epitools, when at home (R 2.4) I get no error. Could someone help me?
Thanks
Pietro Bulian
Servizio di Onco-Ematologia Clinico-Sperimentale
I.R.C.C.S. Centro di Riferimento Oncologico
Via Franco Gallini 2
33081 Aviano (PN) - Italy
phone: +39 0434 659 412
fax: +39 0434 659 409
e-mail: pbulian at cro.it
(at work)
2010 Apr 12
1
R CMD check tells me 'no visible binding for global variable ', what does it mean?
When I run R CMD check on a package I have recently started work on I
get the following:
* checking R code for possible problems ... NOTE
addlinear: no visible binding for global variable 'x'
I appreciate that this is only a NOTE and so I assume is R's
equivalent of 'This is perfectly legal but I wonder whether it is
really what you intended' but I would like to understand
2009 Nov 22
1
Metaplot Axis Annotation
Hello,
We are looking to adjust the font size of the axis annotation on the graph
that results from use of the metaplot() function. Metaplot seems to respond
to cex and cex.lab to change those graphical parameters, but it doesn't
respond to cex.axis. Is there a way to work around this by creating a
customized x-axis, and if so, how?
Thanks for all your help. Syntax is below.
Best,
Dawn
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]]
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 =
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
2010 Sep 19
1
odds ratios for n-way tables: seeking an *apply-able method
I'm looking for a way to generalize the calculation of (log) odds
ratios for 2 x 2 x {strata} frequency
tables in vcd::oddsratio() to R x C x {strata} tables.
For an R x C table, F, odds ratios can be defined
in several ways; one simple way, particularly for tables with ordered
factors, is to calculate the
set of continuation odds ratios, based on the (R-1)x(C-1) set of 2x2
tables with
2007 Feb 24
1
Woolf's test, Odds ratio, stratification
Just a general question concerning the woolf test (package vcd), when we have
stratified data (2x2 tables) and when the p.value of the woolf-test is
below 0.05 then we assume that there is a heterogeneity and a common odds
ratio cannot be computed?
Does this mean that we have to try to add more stratification variables
(stratify more) to make the woolf-test p.value insignificant?
Also in the
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
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
2008 Dec 11
1
help with predict in stats4
Hi,
We're using stats4 for a logistic regression. The code is
chdreg.logit2 <- glm(chd ~ age + sex, family = binomial)
summary(chdreg.logit2)
oddsratios <- coef(chdreg.logit2)
exp(oddsratios)
# Calculate model predicted values
pred <- predict(chdreg.logit2,type="response")
The glm part runs fine, and up to now so has the predict function.
However, now we're
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 Dec 19
1
precision when calling a C function; presence of Fortran call
I'm trying to figure out why the presence of a Fortran call affects the
result of a floating-point operation. I have C functions
void test1(int *n, double *f){
int outC;
double c0;
c0 = (double) *n * *f;
outC = floor(c0);
printf("when f computed by R, C says %d by itself\n",outC);
}
void test2(int *n, double *f){
extern int F77_NAME(ifloor)(double *);
int
2010 Jan 25
1
locfit questions/problems
Hi,
I'm trying to work through the examples and code in Loader's
LOCAL REGRESSION AND LIKELIHOOD, and have run into a problem
with the code for one sided smoothing and change point analysis
(p. 110-112).
The code, after loading locfit:
midp<-(1945:1988)+0.5
fitl<-locfit(thickness~left(year), data=penny, alpha=c(0,10), deg=1, ev=midp)
2009 Jan 21
4
seq()
HI:
Could someone help me with the seq function? I have a range of values starting from 1 to 52 but I want seq to start at 27 by=2, but when it reaches 51 start with with number 1 to 25. is this possible. I can do the basics of seq() but I can't figure how to do this one. This is how I want my sequence to look like:
27 29 31 33 35 37 ............51 1 3 5 7 9 11 13 ...........25
Felipe D.
2006 Aug 30
2
Java/MIDP Vorbis player ?
Hi!
Is there any Java Vorbis player that works on
MIDP 2.0 platforms (mobile phones) ?
I know the pure Java players, but I'm looking for a mobile version.
Regards,
David
---------------------------------------------------------------------
http://noepatents.eu.org/ Innovation, not litigation !
---
David Balazic mailto:david.balazic@hermes.si
HERMES Softlab
2008 Aug 28
1
[LLVMdev] instruction CE_GEP
Hi all,
I have a question with the "getelemptr" instruction.
E.g.: I have some GEP instructions in my program.
Some look like:
<INST_GEP op0=26 op1=64 op2=429/>
.
<INST_GEP op0=341 op1=64 op2=101 op3=499 op4=0/>
The first instruction above in assembly file:
%tmp60 = getelementptr [512 x i32]* @weights, i32 0, i32 %k.3.ph
Ok, we see it all:
Index of @weights in value
2012 Oct 17
3
aggregate function not working?
The aggregate function for some reason will now work for me.
The error I'm getting is:
"Error in sort.list(y) : 'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?"
agPriceList=aggregate(PriceList$Size, list(PriceList$bandNum),sum)
*Price list dataframe:*
dput(PriceList)
structure(list(Price = c(0, 8.18, 8.27, 10.42, 10.5, 10.6, 11.13,
2009 Mar 04
2
Selecting one row or multiple rows per ID
Hi,
Could someone help with coding this in R?
I need to select one row per patient i in clinic j. The data is organized similar to that shown below.
Two columns - patient i in column j identify each unique patient. There are two columns on outcome. Some patients have multiple rows with each row representing one visit, coded for in the column, visit. Some patients have just one row indicating
2004 Jun 15
7
Voicepulse Down Again?
I can ping it just fine.
I am on gw5.voicepulse.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040615/054c83f4/attachment.htm