search for: lgcgroup

Displaying 20 results from an estimated 85 matches for "lgcgroup".

2017 Jul 20
3
Precision of values > 53 bits
> On 10 Jan 2013, at 15:56 , S Ellison <S.Ellison at lgcgroup.com> wrote: > > > >> I am working with large numbers and identified that R looses >> precision for such high numbers. > Yes. R uses standard 32-bit double precision. Well, for large values of 32... such as 64. -- Peter Dalgaard, Professor, Center for Statistics, C...
2018 Nov 30
2
Unexpected argument-matching when some are missing
...] "p" I think that's what I fall over mostly: that named, empty arguments behave entirely different from omitting them (", ,") And I definitely agree we need a guru to explain it all to us ( Cheers, Emil Bode ?On 30/11/2018, 15:35, "S Ellison" <S.Ellison at LGCGroup.com> wrote: > Yes, I think all of that is correct. But y _is_ missing in this sense: > > plot(1:10, y=) > > ... > Browse[2]> missing(y) Although I said what I meant by 'missing' vs 'not present', it wasn't exactly what missing()...
2018 Nov 29
2
Unexpected argument-matching when some are missing
On Thu, Nov 29, 2018 at 1:10 PM S Ellison <S.Ellison at lgcgroup.com> wrote: > > > > > plot(x=1:10, y=) > > > plot(x=1:10, y=, 10:1) > > > > > > In both cases, 'y=' is ignored. In the first, the plot is for y=NULL (so not > > 'missing' y) > > > In the second case, 10:1 is positionally ma...
2015 Oct 06
5
authorship and citation
...*********************************** This email and any attachments are confidential. Any use, copying or disclosure other than by the intended recipient is unauthorised. If you have received this message in error, please notify the sender immediately via +44(0)20 8943 7000 or notify postmaster at lgcgroup.com and delete this message and any copies from your computer and network. LGC Limited. Registered in England 2991879. Registered office: Queens Road, Teddington, Middlesex, TW11 0LY, UK
2017 Jun 22
5
Hunting a histogram variant
I'm looking for a histogram variant in which data points are plotted as labelled rectangles 'piled up' to form a histogram. I've posted an example at https://www.dropbox.com/s/ozi8bhdn5kqaufm/labelled_histogram.png?dl=0 It seems to have a long pedigree, as I see it (as in this example) in documents going back beyond the '80s. But I've not seen it in recent textbooks. So it
2019 Aug 30
3
?Syntax wrong about `?`'s precedence ?
...List of 3 $ : symbol ? $ : symbol a $ : language b <- c > str(as.list(parse(text="a <- b ? c")[[1]])) List of 3 $ : symbol ? $ : language a <- b $ : symbol c Bill Dunlap TIBCO Software wdunlap tibco.com On Fri, Aug 30, 2019 at 4:41 AM Stephen Ellison <S.Ellison at lgcgroup.com> wrote: > > From: R-devel [mailto:r-devel-bounces at r-project.org] On Behalf Of Ant F > > Sent: 29 August 2019 12:06 > > To: r-devel at r-project.org > > Subject: [Rd] ?Syntax wrong about `?`'s precedence ? > > ... > > See the following example : &gt...
2017 Aug 07
2
Latin hypercube sampling from a non-uniform distribution
...uot;, "var2", "mortality_probability") X[, "mortality_probability"] <- qpois(X[, "mortality_probability"], 0.9) hist(X[, "mortality_probability"]) Thanks for your time Marine ________________________________ De : S Ellison <S.Ellison at LGCGroup.com> Envoy? : lundi 7 ao?t 2017 14:36 ? : Marine Regis; r-help at r-project.org Objet : RE: Latin hypercube sampling from a non-uniform distribution > How can I draw a Hypercube sample for the variable mortality_probability so > that this variable exhibits the same pattern as the observ...
2018 Nov 30
0
Unexpected argument-matching when some are missing
...39;s what I fall over mostly: that named, empty arguments behave entirely different from omitting them (", ,") > > And I definitely agree we need a guru to explain it all to us ( > > Cheers, Emil Bode > > > ?On 30/11/2018, 15:35, "S Ellison" <S.Ellison at LGCGroup.com> wrote: > > > Yes, I think all of that is correct. But y _is_ missing in this sense: > > > plot(1:10, y=) > > > ... > > Browse[2]> missing(y) > > Although I said what I meant by 'missing' vs 'not present', it wasn&...
2018 Dec 17
0
Documentation examples for lm and glm
...the best option. That doesn?t rule out exceptions. Best, John ------------------------------------------------- John Fox, Professor Emeritus McMaster University Hamilton, Ontario, Canada Web: http::/socserv.mcmaster.ca/jfox > On Dec 17, 2018, at 7:49 AM, S Ellison <S.Ellison at LGCGroup.com> wrote: > > > >> From: Thomas Yee [mailto:t.yee at auckland.ac.nz] >> >> Thanks for the discussion. I do feel quite strongly that >> the variables should always be a part of a data frame. > > This seems pretty much a decision for R core, and I thi...
2017 Aug 07
0
Latin hypercube sampling from a non-uniform distribution
...*********************************** This email and any attachments are confidential. Any use, copying or disclosure other than by the intended recipient is unauthorised. If you have received this message in error, please notify the sender immediately via +44(0)20 8943 7000 or notify postmaster at lgcgroup.com and delete this message and any copies from your computer and network. LGC Limited. Registered in England 2991879. Registered office: Queens Road, Teddington, Middlesex, TW11 0LY, UK
2017 Jul 25
0
Precision of values > 53 bits
...ead. Though wondering how 53 bits were supposed to fit into 32 might just warrant revivification. -- Sent from my phone. Please excuse my brevity. On July 20, 2017 5:33:34 AM PDT, peter dalgaard <pdalgd at gmail.com> wrote: > >> On 10 Jan 2013, at 15:56 , S Ellison <S.Ellison at lgcgroup.com> wrote: >> >> >> >>> I am working with large numbers and identified that R looses >>> precision for such high numbers. >> Yes. R uses standard 32-bit double precision. > > >Well, for large values of 32... such as 64.
2017 Aug 08
0
Latin hypercube sampling from a non-uniform distribution
> However, my variable is simulated from the cumulative distribution function > of the Poisson distribution. Then I am afraid I don't know what you're trying to achieve. Or why. However, the principle holds; write a function that maps [0,1] to the 'pattern' you want, do that and apply it to the result from randomLHS. It happens that for generating data that follow a given
2017 Aug 04
2
Latin hypercube sampling from a non-uniform distribution
Hello, I am performing a sensitivity analysis using a Latin Hypercube sampling. However, I have difficulty to draw a Hypercube sample for one variable. I?ve generated this variable from a Poisson distribution as follows: set.seed(5) mortality_probability <- round(ppois(seq(0, 7, by = 1), lambda = 0.9), 2) barplot(mortality_probability, names.arg = seq(0, 7, by = 1), xlab = "Age
2018 Dec 16
3
Documentation examples for lm and glm
...ice. Beginners ought to >>> learn to keep data in data frames and not to overuse attach(). Experts can >>> do otherwise at their own risk, but they have less need of explicit >>> examples. >>> >>> On Fri, 14 Dec 2018 at 14:51, S Ellison <S.Ellison at lgcgroup.com> wrote: >>> >>>> FWIW, before all the examples are changed to data frame variants, I think >>>> there's fairly good reason to have at least _one_ example that does _not_ >>>> place variables in a data frame. >>>> >>>>...
2018 Nov 29
3
Unexpected argument-matching when some are missing
On Thu, Nov 29, 2018 at 10:51 AM S Ellison <S.Ellison at lgcgroup.com> wrote: > > > When trying out some variations with `[.data.frame` I noticed some (to me) > > odd behaviour, > > Not just in 'myfun' ... > > plot(x=1:10, y=) > plot(x=1:10, y=, 10:1) > > In both cases, 'y=' is ignored. In the first, the plot...
2017 Jun 22
0
Hunting a histogram variant
...close and built in. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Jun 21, 2017 at 9:01 PM, S Ellison <S.Ellison at lgcgroup.com> wrote: > > I'm looking for a histogram variant in which data points are plotted as labelled rectangles 'piled up' to form a histogram. I've posted an example at https://www.dropbox.com/s/ozi8bhdn5kqaufm/labelled_histogram.png?dl=0 > > It seems to have a long pedi...
2017 Aug 08
1
Latin hypercube sampling from a non-uniform distribution
...bability"], 0.9)?, I don?t obtain a LHS value for each age class and the distribution is not a cumulative distribution as in the attached figure. So, I am afraid I don?t know how to do that. Thanks so much for your time Marine ________________________________ De : S Ellison <S.Ellison at LGCGroup.com> Envoy? : mardi 8 ao?t 2017 14:48 ? : Marine Regis; r-help at r-project.org Objet : RE: Latin hypercube sampling from a non-uniform distribution > However, my variable is simulated from the cumulative distribution function > of the Poisson distribution. Then I am afraid I don't kn...
2011 Sep 14
2
Question regarding dnorm()
Hi, I have one basic doubt. Suppose X ~ N(50,10). I need to calculate Probability X = 50. dnorm(50, 50, 10) gives me [1] 0.03989423 My understanding is (which is bit statistical or may be mathematical) on a continuous scale, Probability of the type P(X = .....) are nothing but 1/Infinity i.e. = 0. So as per my understanding P(X = 50) should be 0, but even excel also gives 0.03989422. Obviously
2019 Aug 30
1
?Syntax wrong about `?`'s precedence ?
...;a <- b ? c")[[1]])) >> List of 3 >> $ : symbol ? >> $ : language a <- b >> $ : symbol c >> >> Bill Dunlap >> TIBCO Software >> wdunlap tibco.com >> >> >> On Fri, Aug 30, 2019 at 4:41 AM Stephen Ellison <S.Ellison at lgcgroup.com> >> wrote: >> >>>> From: R-devel [mailto:r-devel-bounces at r-project.org] On Behalf Of Ant F >>>> Sent: 29 August 2019 12:06 >>>> To: r-devel at r-project.org >>>> Subject: [Rd] ?Syntax wrong about `?`'s precedence ? >>&...
2018 Dec 14
7
Documentation examples for lm and glm
FWIW, before all the examples are changed to data frame variants, I think there's fairly good reason to have at least _one_ example that does _not_ place variables in a data frame. The data argument in lm() is optional. And there is more than one way to manage data in a project. I personally don't much like lots of stray variables lurking about, but if those are the only variables out