search for: ratios

Displaying 20 results from an estimated 3154 matches for "ratios".

Did you mean: ratio
2015 May 10
3
Packet compression benchmark
Hello, Darik Horn sent a pull request adding support for LZ4. LZ4 is supposed to be a very fast compression algorithm, especially when it comes to decompression. I did a quick benchmark with zlib, LZO and LZ4. Now, there are many benchmarks you can find online, but most of them deal with compressing large files. Tinc on the other hand has to compress small packets individually. So I did the
2006 Aug 28
1
Not compressing 24 bit very well
Hello. I just added 24 bit support to CRAM and noticed that 24 bit data isn't compressing much, if at all. I saw a recent thread on this list concerning this same issue. http://lists.xiph.org/pipermail/flac-dev/2006-July/001907.html I ran some tests using the command line 'flac' program and also experienced rather poor results. When doing a 'flac -a' many of the files have
2011 Oct 13
3
Question about GAMs
hi! I hope all of you can help me this question for example GAMs: ozonea<-gam(newozone~ pressure+maxtemp+s(avetemp,bs="cr")+s(ratio,bs="cr"),family=gaussian (link=log),groupA,methods=REML) formula(ozonea) newozone ~ pressure + maxtemp + s(avetemp, bs = "cr") + s(ratio,bs = "cr") #formula of gams coef(ozonea) # extract the coefficient of GAMs
2013 Feb 28
3
Hidden information in an object
Hello, The dataset "cats" contain information about the heart weight ("Hwt"), body weight ("Bwt") and gender ("Sex") of a group of 144 cats. I write the following piece of code: library(MASS)attach(cats)ratio <- Hwt/Bwtmale <- ratio[Sex == "M"]female <- ratio[Sex == "F"] My question is, when I look at the object
2003 Sep 03
0
Updated power.t.test
...evel = 0.05 power = 0.8 alternative = two.sided df.method = welch NOTE: n is vector of number in each group This change of output may break some existing code and is not necessarily a "good idea". Another (possibly better) solution to this would be to return both ratios and then let print.power.htest present the result in the correct way. Also, the df.method in the result list could be removed for the one-sample and the paired case. Please comment, Claus Ekstr?m power.t.test <- function (n = NULL, delta = NULL, sd = 1, sig.level = 0.05, power = NULL,...
2013 May 11
1
prediction in a loop with only one sample
Dear all, I have a sample with 920 observations. I want to create a loop which takes 300 of these observations for the prediction and the rest to estimate the model. My idea was to create something like this: cs.training.dat <- read.table... cs.training.dat_sub1 <- subset(cs.training.dat, Income>10) cs.training.dat_sub2 <- subset(cs.training.dat_sub1, Dept.Ratio<=1)
2011 May 23
2
Passing function arguments to dataset names
...on(Tic, price){ xxxxx xxxxx xxxxx Ratio.Tic<- SharpeRatio.annualized(roc) } I would like to have a dataset that's labelled Ratio.MSFT, Ratio.XOM, Ratio.IBM...etc. The objective is to append multiple Ratio.Tic datasets that contains all the ratios in one single data. Thanks in for your time! Mateo -- View this message in context: http://r.789695.n4.nabble.com/Passing-function-arguments-to-dataset-names-tp3545567p3545567.html Sent from the R help mailing list archive at Nabble.com.
2007 Jun 28
0
Branch 'as' - 4 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie.c test/image
libswfdec/swfdec_debugger.c | 4 - libswfdec/swfdec_movie.c | 8 +- libswfdec/swfdec_movie.h | 2 libswfdec/swfdec_sprite_movie.c | 2 test/image/Makefile.am | 3 test/image/placeobject-ratio.swf |binary test/image/placeobject-ratio.swf.png |binary test/image/placeobject-ratio.xml | 137
2008 Mar 30
1
Plot for jump point
Hi, My code is as the following, ratio<-seq(0,1,by=0.01) payoff<-NULL for (i in 1:length(ratio) ) { payoff1<-100*(ratio[i]>=0.7)+max(100*(1+(ratio[i]-1)*2),0)*(ratio[i]<0.7) payoff<-c(payoff,payoff1) } plot(ratio,payoff, xlab='ST/S0', ylab='Payoff',type='l') I have the discontinuous point at ratio=0.7. I do not want to have the line at 0.7, and would
2004 Jul 14
4
aspect ratio ?
Can someone enlighten me on what the status is of aspect ratio in theora is ? The ti structure has aspect_num and _den values, which I assume give the intended display aspect ratio (e.g. 4/3). The sample files on the bittorrent seem to say both values are 0 for all files. I'd think it should at least be made impossible to have a 0 as the denominator. The library doesn't check the
2007 Dec 18
1
hazard ratio of interaction Cox model
Dear Forum, I have a question about interaction estimate in the Cox model: why the hazard ratio of the interaction is not produced in the summary of the model? (Instead, the estimate of the coefficient is given in the print of the model.) # Example: modINT <-cph( Surv(T_BASE, T_FIN,STATUS)~ NYHA + ASINI + RFP + FE_REC + XX_PR*XX_DISF) print(modINT) coef se(coef) z
2011 Apr 30
0
bootcov or robcov for odds ratio?
Dear list, I made a logistic regression model (MyModel) using lrm and penalization by pentrace for data of 104 patients, which consists of 5 explanatory variables and one binary outcome (poor/good). Then, I found bootcov and robcov function in rms package for calculation of confidence range of coefficients and odds ratio by bootstrap covariance matrix and Huber-White sandwich method,
2013 Jun 14
2
significance testing for the difference in the ratio of means
...mean of (control group) n = 7 m2 = mean of (control group w/ treatment) n= 10 m3 = mean of (test group) n = 8 m4 = mean of (test group w/ treatment) n = 9 H0: m2/m1 = m4/m3 restated, H0: m2/m1 - m4/m3 = 0; Method 1: Fieller's Intervals Use fieller's theorum available in R as part of the mratios package. This is a promising way to compute standard error/confidence intervals for each of the two ratios but will not yield p-values for significance testing. Significance by non-overlap of confidence intervals is too stringent a test and will lead to frequent type II errors. Method 2: Bootstr...
2009 Oct 15
4
PSTN to SIP line ratio
Hi, I am planning to deploy an Asterisk PBX for 100-200 users. I am not sure about PSTN incoming/outgoing line ratio for SIP users. I mean if you recall dial up internet the common line ratio is 1:10 (one line for 10 users on access server or an E1 for 300 users). Can somebody tell me what is the good ratio for incoming and outgoing analogue/ digital PSTN lines. Regards Smir
2007 Jan 03
1
mcmcsamp and variance ratios
Hi folks, I have assumed that ratios of variance components (Fst and Qst in population genetics) could be estimated using the output of mcmcsamp (the series on mcmc sample estimates of variance components). What I have started to do is to use the matrix output that included the log(variances), exponentiate, calculate the releva...
2012 Jun 20
2
Odds Ratios in rms package
Hi, I'm using the rms package to do regression analysis using the lrm function. Retrieving odds ratios is possible using summary.rms. However, I could not find any information on how exactly the odds ratios for continuous variables are calculated. It doesn't appear to be the odds ratio at 1 unit increase, because the output of summary.rms did not match the coefficient's value. E.g. print gi...
2007 Nov 06
1
Problem with a non-factor, non-numeric variable in a data.frame
...tting the data. The data is a two dimensional array containing two columns: - "Stim" : the type of stimulation (string) - "Ratio" : a ratio of two numeric values Now, because some values are missing in the data (defaulting to zero), part of this array will be populated with NA ratios. Maybe this is important later. In order to make the ANOVA analysis, I need to turn my vector into a data.frame. I tried vector.table=as.data.frame(vector) But I realized that is.numeric(Ratio) gives FALSE is.factor(Ratio) gives TRUE After reading the documentation, I tried vector.table=as.dat...
2010 Mar 09
1
Obtaining the true aspect ratio for a lattice plot
I almost always supply my own aspect ratio when plotting using lattice. When I plot these to pdf, I would like to specify pdf dimensions that will result in minimal margins around the plot. In my application, resorting to a pdf cropper after plotting is not an option - I must do it in R. The problem is that I cannot determine the correct aspect ratio for the overall plot (accounting
2007 Mar 25
1
controlling panel.width and panel.height in viewports
Dear all, I'm trying to get a series of lattice levelplots to appear in viewports in a particular way but struggling to exert fine control over their appearence. There are two conditions: (a) I only want the levelplot to appear (I don't want axes, colour key, etc) in the viewport and (b) I want the levelplot to expand to the maximum allowable space in the viewport while observing
2006 Jun 26
2
compare odds ratios
Hi there, is there any way to compare 2 odds ratios? I have two tests that are supposed to detect a disease presence. So for each test, I can compute an odds ratio. My problem is how can I compare the 2 tests by testing whether the 2 odds ratios are the same? Appreciate