[OGRUG] R-UG-Ottawa Digest, Vol 40, Issue 1
Alex: I work with R here at Health Canada. Still building expertise, but here's some initial stuff: http://github.com/dbuijs/HealthCanadaOpenData/ Would love to hear what you're up to. Dan Buijs
On Aug 9, 2016 6:01 AM, <r-ug-ottawa-request at r-project.org> wrote:
Send R-UG-Ottawa mailing list submissions to
r-ug-ottawa at r-project.org
To subscribe or unsubscribe via the World Wide Web, visit
https://stat.ethz.ch/mailman/listinfo/r-ug-ottawa or, via email, send a message with subject or body 'help' to r-ug-ottawa-request at r-project.org You can reach the person managing the list at r-ug-ottawa-owner at r-project.org When replying, please edit your Subject line so it is more specific than "Re: Contents of R-UG-Ottawa digest..." Today's Topics: 1. Centres of ExpeRtise within GOC? (Alex Demarsh) 2. Likelihood Ratio Test (Felipe) 3. Re: Centres of ExpeRtise within GOC? (clark richards) ---------------------------------------------------------------------- Message: 1 Date: Mon, 08 Aug 2016 18:05:48 +0000 From: Alex Demarsh <alexdemarsh at gmail.com> To: r-ug-ottawa at r-project.org Subject: [OGRUG] Centres of ExpeRtise within GOC? Message-ID: <CAPJGrdfZ97DbUH8vXuUoO8Eb6UW=g_UpFuy=qir85Xw3qiCpOg at mail. gmail.com> Content-Type: text/plain; charset="UTF-8" Hey folks - Not sure if this is on-topic for this list, but I've become curious about the prevalence of R use in the Government of Canada (GOC) - particularly how many analytic teams are using R as their primary language. So, if you're a member of (or just know of) such an "R Shop", could you let me know? Any information on specific tasks or level of expertise would be a helpful addition. Many thanks in advance, Alex Demarsh Epidemiologist/Biostatistician, Public Health Agency of Canada [[alternative HTML version deleted]] ------------------------------ Message: 2 Date: Mon, 8 Aug 2016 22:15:31 -0300 From: Felipe <felipe.e.barletta at gmail.com> To: r-ug-ottawa at r-project.org Subject: [OGRUG] Likelihood Ratio Test Message-ID: <57A92EB3.90506 at gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Hi dear R users! I have a dubt about how to calculate the Likelihood Ratio Test: I have below a density function: ##### Density Gompertz dG <- function(x,a,b, log=FALSE){ d2 <- numeric(length(x)) d2 <- b*exp(a*x)*exp(-b/a*(exp(a*x) - 1)) dens <- if(log) log(d2) else d2 return (dens) } #### log-likelihood ldG <- function(par, x) { sum( dG(x, a = par[1], b = par[2], log = TRUE)) } emv.dG <- optim(par = c(.15, .01), fn = ldG, x = d1, hessian=TRUE ,control=list("fnscale"=-1)) emv.dG$value # likelihood How do I calculate the Likelihood Ratio Test without a some package. LRT = -2*(emv.dG$value - ?????) -- Atenciosamente Felipe E. Barletta Mendes Estat?stico(UFPR) - Conre3 9766-A Mestrando em Bioestat?stica(UEM) +55 (41)-92077191 +55 (41)-33287216 ------------------------------ Message: 3 Date: Mon, 8 Aug 2016 22:09:22 -0400 From: clark richards <clark.richards at gmail.com> To: Alex Demarsh <alexdemarsh at gmail.com> Cc: r-ug-ottawa at r-project.org Subject: Re: [OGRUG] Centres of ExpeRtise within GOC? Message-ID: <CAJx09Ak8Ch_Hzf=FTk53U=Dj4QY7hwNb30sdwu3Euz_ufUdQrQ at mail. gmail.com> Content-Type: text/plain; charset="UTF-8" Hi Alex, Not sure if this is useful for you or not, but I'm a physical oceanographer that uses R for data analysis. Maybe not the kind of analytics you're referring to? While I'm not currently a GOC employee, I will be in a few weeks after I start a position as a research scientist at the Bedford Institute of Oceanography (BIO) in Halifax (in the middle of packing boxes right now!). I don't know of any specific "analytic teams" at BIO, but I do know that they are migrating much of their in-house data processing and archiving facilities from Matlab to R (and possibly some python). Physical oceanography has been (and continues to be) mostly dominated by Matlab, but I think that tide is turning, especially for government where the licenses are getting harder to justify. I am also the co-author of the R package `oce` which is aimed at oceanographers who work with data. I don't know what the usage of oce is like across the government, but I do think it's increasing across academia generally, as more students come up through the system with some exposure to R from their undergraduate degrees. Cheers, Clark On Mon, Aug 8, 2016 at 2:05 PM, Alex Demarsh <alexdemarsh at gmail.com> wrote: Hey folks - Not sure if this is on-topic for this list, but I've become curious about the prevalence of R use in the Government of Canada (GOC) - particularly how many analytic teams are using R as their primary language. So, if you're a member of (or just know of) such an "R Shop", could you let me know? Any information on specific tasks or level of expertise would be a helpful addition. Many thanks in advance, Alex Demarsh Epidemiologist/Biostatistician, Public Health Agency of Canada [[alternative HTML version deleted]] _______________________________________________ R-UG-Ottawa mailing list R-UG-Ottawa at r-project.org https://stat.ethz.ch/mailman/listinfo/r-ug-ottawa [[alternative HTML version deleted]] ------------------------------ Subject: Digest Footer _______________________________________________ R-UG-Ottawa mailing list R-UG-Ottawa at r-project.org https://stat.ethz.ch/mailman/listinfo/r-ug-ottawa ------------------------------ End of R-UG-Ottawa Digest, Vol 40, Issue 1 ******************************************