search for: denominator

Displaying 20 results from an estimated 612 matches for "denominator".

2011 Nov 01
1
condition has length > 1 for LL denominator
...2 1 3 2 1 3 3 2 2 2 2 3 2 3 3 3 where arrive is the period of arrival, depart is the period of departure, and intercept is the period in which that person was counted. I'm trying to construct the denominator for a likelihood function using the following function. For the first row in "results", for example, I want the denominator to be the sum of all possible arrive/depart combinations an interceptor in period 1 could observe: exp(P_1_1) + exp(P_1_2) + exp(P_1_3) (i.e. P_arrive_depart). get...
2003 Oct 21
2
Denominator Degrees of Freedom in lme() -- Adjusting and Understanding Them
Hello all. I was wondering if there is any way to adjust the denominator degrees of freedom in lme(). It seems to me that there is only one method that can be used. As has been pointed out previously on the list, the denominator degrees of freedom given by lme() do not match those given by SAS Proc Mixed or HLM5. Proc Mixed, for example, offers five different option...
2017 Mar 15
2
Speculative execution of FP divide Instructions - Call-Graph Simplify
...--- a/lib/Analysis/ValueTracking.cpp +++ b/lib/Analysis/ValueTracking.cpp @@ -3352,6 +3352,21 @@ bool llvm::isSafeToSpeculativelyExecute(const Value *V, // The numerator *might* be MinSignedValue. return false; } + case Instruction::FDiv: + case Instruction::FRem:{ + const Value *Denominator = Inst->getOperand(1); + // x / y is undefined if y == 0 + // The denominator is not a constant, so there is nothing we can do to prove + // it is non-zero. + if (auto *VV = dyn_cast<ConstantVector>(Denominator)) + Denominator = VV->getSplatValue(); + if (!isa<Con...
2017 Sep 06
2
[PATCH] [RESEND] drm/nouveau/clk: fix gcc-7 -Wint-in-bool-context warning
...d to shut up >> the warning. To further improve readability, I also make the >> error case indented and leave the normal case as the final 'return' >> statement. >> > > I think to make perfectly clear why this check is done, we simply > should precompute the denominator and do something like this: > > int denominator = M * P > if (denominator == 0) > return 0; > return sclk * N / denominator; > > but with a better name for "denominator". I don't know what M and P actually are in this function, so I couldn't come up with a...
2006 Jul 08
1
denominator degrees of freedom and F-values in nlme
Hello, I am struggling to understand how denominator degrees of freedom and subsequent significance testing based upon them works in nlme models. I have a data set of 736 measurements (weight), taken within 3 different age groups, on 497 individuals who fall into two morphological catagories (horn types). My model is: Y ~ weight + horn type / a...
2017 Mar 15
3
Speculative execution of FP divide Instructions - Call-Graph Simplify
...p >> @@ -3352,6 +3352,21 @@ bool llvm::isSafeToSpeculativelyExecute(const >> Value *V, >> // The numerator *might* be MinSignedValue. >> return false; >> } >> + case Instruction::FDiv: >> + case Instruction::FRem:{ >> + const Value *Denominator = Inst->getOperand(1); >> + // x / y is undefined if y == 0 >> + // The denominator is not a constant, so there is nothing we can >> do to prove >> + // it is non-zero. >> + if (auto *VV = dyn_cast<ConstantVector>(Denominator)) >> + Den...
2005 Jul 27
3
how to overlook the zero in the denominator
...as follow: x<-c(0,0,0.28,0.55,1.2,2,1.95,1.85, 1.6,0.86,0.78,0.6,0.21,0.18) y<-c(0,0,0,0.53,1.34,1.79,2.07,1.88, 1.52,0.92,0.71,0.55,0.32,0.19) i<-1:length(x) I want to sum each (x[i]-y[i])^2/x[i] together, like: >Sum <-sum((x[i]-y[i])^2/x[i]) >Sum [1] NaN Because the denominator shoud not be zero. So I want to overlook those when x[i]=0, and just to sum those x[i] not equal to 0. What should I do? Any suggestion. Thanks in advance !!
2024 Feb 02
1
gathering denominator under frac
...t;,"true BIC")))) worked OK - but > now I have been asked to put the chemistry instead - so I wrote > > ?ylab(expression(paste(frac("additive",HCO[3]^"-","true",HCO[3]^"-")))) > - and frac saw that as additive = numerator and HCO3- = denominator and > the rest was ignored- > > So how do I make frac ignore the first ","? and print the fraction as I > want? > > > All best wishes > Troels > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE...
2024 Feb 02
1
gathering denominator under frac
...uot;additive BIC","true BIC")))) worked OK - but now I have been asked to put the chemistry instead - so I wrote ?ylab(expression(paste(frac("additive",HCO[3]^"-","true",HCO[3]^"-")))) - and frac saw that as additive = numerator and HCO3- = denominator and the rest was ignored- So how do I make frac ignore the first ","? and print the fraction as I want? All best wishes Troels
2017 Sep 06
2
[PATCH] [RESEND] drm/nouveau/clk: fix gcc-7 -Wint-in-bool-context warning
gcc thinks that interpreting a multiplication result as a bool is confusing: drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c: In function 'read_pll': drivers/gpu/drm/nouveau/nvkm/subdev/clk/gt215.c:133:8: error: '*' in boolean context, suggest '&&' instead [-Werror=int-in-bool-context] In this instance, I think using multiplication is more intuitive than
2024 Feb 02
1
gathering denominator under frac
...")))) worked OK - but > > now I have been asked to put the chemistry instead - so I wrote > > > > ylab(expression(paste(frac("additive",HCO[3]^"-","true",HCO[3]^"-")))) > > - and frac saw that as additive = numerator and HCO3- = denominator and > > the rest was ignored- > > > > So how do I make frac ignore the first "," and print the fraction as I > > want? > > > > > > All best wishes > > Troels > > > > ______________________________________________ > > R-hel...
2005 Jan 03
1
different DF in package nlme and lme4
...a = Orthodont, random = list(Subject = ~ 1anova(fm2b.2) > Analysis of Variance Table > Df Sum Sq Mean Sq Denom F value Pr(>F) > age 1 235.356 235.356 105.000 114.8383 < 2.2e-16 *** > Sex 1 19.044 19.044 105.000 9.2921 0.002912 ** I got different DF for the denominator. Do I have to use lme in another way in the package lme4? I use R 2.0.1 under linux and Package: nlme Version: 3.1-53 Date: 2004-11-03 Package: lme4 Version: 0.6-11 Date: 2004-12-16 Thanks for help. Regards, Christoph Buser -- Christoph Buser <bus...
2010 Mar 10
1
trouble calculating rates--sometimes the denominator is missing
...ent day, then my code runs fine. But if possible, I want to make my code less susceptible to this external "threat." What would be a good way to "store up" the names of the 64 schools and their total enrollments (which are basically static), and them use those values for the denominators for the rates as calculated above (####), rather than relying on always having a complete, rectangular, data file, every line containing the necessary value for a denominator? Thanks. -- Christopher W. Ryan, MD SUNY Upstate Medical University Clinical Campus at Binghamton 425 Robinson Street,...
2017 Mar 15
2
Speculative execution of FP divide Instructions - Call-Graph Simplify
...--- a/lib/Analysis/ValueTracking.cpp +++ b/lib/Analysis/ValueTracking.cpp @@ -3352,6 +3352,21 @@ bool llvm::isSafeToSpeculativelyExecute(const Value *V, // The numerator *might* be MinSignedValue. return false; } + case Instruction::FDiv: + case Instruction::FRem:{ + const Value *Denominator = Inst->getOperand(1); + // x / y is undefined if y == 0 + // The denominator is not a constant, so there is nothing we can do to prove + // it is non-zero. + if (auto *VV = dyn_cast<ConstantVector>(Denominator)) + Denominator = VV->getSplatValue(); + if (!isa<Con...
2006 May 19
2
lmer, p-values and all that
...-effects parameters, standard errors for these parameters and a t-ratio but no p-values. Similarly the output from anova applied to a single lmer model provides the sequential sums of squares for the terms in the fixed-effects specification and the corresponding numerator degrees of freedom but no denominator degrees of freedom and, again, no p-values. Because they feel that the denominator degrees of freedom and the corresponding p-values can easily be calculated they conclude that failure to do this is a sign of inattention or, worse, incompetence on the part of the person who wrote lmer (i.e. me)....
2006 May 23
1
Survey proportions... Can I use population as denominator?
...ng is right (based on published population estimates from these data), but now I'd like to check my "marginal means" for proportions against those that have been published. I'd think that "svyratio" would do the trick, but one needs to specify both the numerator and the denominator... I'm looking for a simple ratio of males to females, and this is eluding me. I can't just use a "1" as the denominator, and I want the whole population described as two values that add to one. The help screens have not been fruitful so far. I'm suffering from interference,...
2011 Aug 24
1
df of numerator and denominator
hello I need to know the dfn and dfd of my Anova. But in the Anova output there is only "Df". Is this the dfn or the dfd? and how do I get both of it in R? Thanks for any answers -- View this message in context: http://r.789695.n4.nabble.com/df-of-numerator-and-denominator-tp3765526p3765526.html Sent from the R help mailing list archive at Nabble.com.
2006 Nov 23
4
Ryacas and fractions with simultaenously very large numerators and denominators
...116) > Eval(x) [1] NaN No luck this way. However, I am successful with > y <- yacas("(3/2)^400") > y expression(7.05507910865533e+190/2.58224987808691e+120) > Eval(y) [1] 2.732144e+70 If Ryacas/Yacas cannot multiply fractions with simultaenously very large numerators and denominators, what else should I use? Thanks in advnace, Paul
2005 Dec 26
4
lme X lmer results
Hi, this is not a new doubt, but is a doubt that I cant find a good response. Look this output: > m.lme <- lme(Yvar~Xvar,random=~1|Plot1/Plot2/Plot3) > anova(m.lme) numDF denDF F-value p-value (Intercept) 1 860 210.2457 <.0001 Xvar 1 2 1.2352 0.3821 > summary(m.lme) Linear mixed-effects model fit by REML Data: NULL AIC BIC
2006 Jul 26
2
residual df in lmer and simulation results
Hello. Douglas Bates has explained in a previous posting to R why he does not output residual degrees of freedom, F values and probabilities in the mixed model (lmer) function: because the usual degrees of freedom (obs - fixed df -1) are not exact and are really only upper bounds. I am interpreting what he said but I am not a professional statistician, so I might be getting this wrong... Does