search for: pehru

Displaying 19 results from an estimated 19 matches for "pehru".

2007 Dec 20
3
mle
...e problems with the offset and I don't understand some of the functions. Do you know where can I find some explicit tutorial about a poisson regression with MLE or, maybe better, about maximum likelyhood estimation? Best wishes Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 Mobile: 0044 (0)79 64925523 www.lshtm.ac.uk/pehru/ antonio.gasparrini at lshtm.ac.uk
2009 Feb 02
2
logLik for poisson models
...00) model <- glm(y ~ 1, family=poisson()) logLik(model) I would like to know what's the exact formula the function logLik uses. I looked at ?extractAIC but I cannot sort it out. Can you please give me an help? Thanks a lot Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ )
2008 Aug 20
3
bug in lme4?
...t;- glmer(cbind(incidence, size - incidence) ~ period + (1 | herd), family = binomial, data = cbpp)) Taking into account that this package is used to perform similar analyses, this could be a problem. All the best Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ ) -------------- next part -------------- An embedded message was scrubbed....
2008 May 28
1
postscript
...% %%[ Warning: Helvetica-Bold not found, using Font Substitution. Font cannot be embedded.]%% If I open it, I can see that it has changed the font, and often the text doesn't match the boundaries. Can you help me? Thanks a lot Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ )
2009 Nov 13
1
multivariate meta-analysis with the metafor package
...g this extension? And in this case, do you have a planned date? - What are likely to be the advantages and limitations of a potential 'rma.multi' if compared to Stata's 'mvmeta'? Thank you for your time Regards, Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ )
2008 Jun 08
1
exponential distribution
...} summary(model1,dispersion=1)$coef summary(model2) iter[nrow(temp),] sqrt(diag(solve(t(X)%*%W%*%X))) ####################################################### Can you explain if this difference is due to an error? Thanks in advance Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ )
2008 Aug 19
1
R vs Stata on generalized linear mixed models: glmer and xtmelogit
...le? 2) Is there a way to set the parameter 'nAGO' to 7 or perform the same analysis in another way? 3) Is there a tutorial on the use of lme4, especially to handle the results (summary, coef, etc.)? Thank you for your time Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ )
2009 Nov 05
2
new help pages in R 2.10.0
...he old R 2.9.2, but I hope this will change in later versions. Or at least, that the user could have the opportunity to choose the help pages he deems more suitable for his purposes. I hope someone could give some details Regards, Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523
2009 Jul 20
0
new package 'dlnm' to run distributed lag non-linear models
...e examples of application to real data, in order to get new users started easily. I hope that this package will be useful to your work. Any kind of feedback (questions, suggestions, bug-reports, etc.) is appreciated. Sincerely, Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ ) [[alternative HTML version deleted]] _____...
2009 Jun 01
1
problem with package creation under Windows and R 2.9.0
...of the created package lose the usual colours and font. Conversely, the result is perfect using R 2.8.1 (changing the path) and the same version of Rtools (.29). Not a big issue, but maybe it's worth considering it. Regards, Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini
2009 Aug 03
0
problem with predict(...,type="terms")
...predict(model,type="terms")[1,] cbind(x1,x2)[1,] * t(coef(model)[2:3]) I guess the true result should be the second one. Maybe the command include some additional transformation? Any suggestion? Thanks for your time Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ )
2008 Oct 31
1
AIC for quasipoisson link
...s os air pollution and mortality. J R Stat Soc A, 2006; 162: pag 190. Unfortunately, the function logLik doesn't work for a quasipoisson link. Do you know a fast method to extract the AIC for these models? Thanks in advance Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ ) [[alternative HTML version deleted]]
2009 May 20
0
function returning the name of an object
...)) but I don't know how to extract the name "mymatrix" from the object mymatrix. Is there a specific function, something like func(mymatrix) returning the string "mymatrix"? Thanks so much for your time. Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ ) [[alternative HTML version deleted]]
2009 Jul 20
0
new package 'dlnm' to run distributed lag non-linear models
...e examples of application to real data, in order to get new users started easily. I hope that this package will be useful to your work. Any kind of feedback (questions, suggestions, bug-reports, etc.) is appreciated. Sincerely, Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ ) [[alternative HTML version deleted]] _____...
2010 Jan 04
1
glmer (lme4), glmmPQL (MASS) and xtmepoisson (Stata)
...y diagonal or identity), in the same way as the using the functions pdDiag or pdIdent with 'glmmPQL'. I wonder if this option is still to be implemented in lme4. In this case, any suggestion/comment? Thanks for your time Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ )
2009 Apr 19
1
creating a package in R
...directory and modifying the help files, I cannot understand where I should run the commands R CMD INSTALL, check and build. Sorry for the stupid question, but I've been stuck for weeks with this problem. Thanks for your help Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523
2009 Feb 09
1
gee with auto-regressive correlation structure (AR-M)
Dear all, I need to fit a gee model with an auto-regressive correlation structure and I faced some problems. I attach a simple example: ####################################################### library(gee) library(geepack) # I SIMULATE DATA FROM POISSON DISTRIBUTION, 10 OBS FOR EACH OF 50 GROUPS set.seed(1) y <- rpois(500,50) x <- rnorm(500) id <- rep(1:50,each=10) # EXAMPLES FOR
2009 Jul 06
2
problem with internal functions in Windows
...d by the CRAN (eg. try ?mkbasis). I checked the help pages for internal functions in other packages: some of them work (e.g. ?geepack::anova.geeglm), others don't (e.g. ?gam::.First.lib). Any suggestions? Thanks for your time Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini
2009 Jul 06
2
problem with internal functions in Windows
...d by the CRAN (eg. try ?mkbasis). I checked the help pages for internal functions in other packages: some of them work (e.g. ?geepack::anova.geeglm), others don't (e.g. ?gam::.First.lib). Any suggestions? Thanks for your time Antonio Gasparrini Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 Skype contact: a.gasparrini