Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

19 results for “from:Lei Liu”

mixed model for Splus and R
Lei Liu · Nov 18, 2003 · r-help

An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20031118/5c9a55b2/attachment.pl

multi-dimensional Gaussian quadrature
Lei Liu · Aug 4, 2011 · r-help

Hi there, Does anyone know if there is a package in R for multi-demensional Gaussian quadrature? I checked out the package "gaussquad" but it can only do 1D. Thanks! Lei Liu Associate Professor Division of Biostatistics Department of Public...

package to do inverse probability weighting in longitudinal data
Lei Liu · Jul 17, 2009 · r-help

Hi there, I have a dataset from a longitudinal study with a lot of drop-out. I want to implement the inverse probability weighting method by Robins 1995 JASA paper "Analysis of semiparametric regression models for repeated outcomes in the...

how to retrieve robust se in coxph
Lei Liu · Feb 15, 2006 · r-help

Hi, I am using coxph in simulations and I want to store the "robust se" (or "se2" in frailty models) for each replicate. Is there a function to retrieve it, like vcov() for the variance estimate? Thanks! Lei Liu Assistant...

a question on matrix manipulation
Lei Liu · Jun 16, 2009 · r-help

Hi there, I have a question on manipulating a matrix. Say I have a matrix A with 3 rows. I want to generate a new matrix B with 3 duplicates of the first row of A, 2 duplicates of the...

How to install "adapt" package
Lei Liu · Jul 29, 2011 · r-help

Hi there, I want to install the "adapt" package, which is available at http://cran.r-project.org/src/contrib/Archive/adapt/. This package cannot be directly installed by "install packages" menu in R. So I downloaded the zip file...

frailty model for gap times
Lei Liu · Nov 9, 2004 · r-help

Hi there, I have a question on the frailty model for gap times with distinct baseline hazard for each gap. Can I use R coxph function to do it? For example, the following code assumes an identical baseline hazard for...

function 'vcov' for coxph in R 2.0.0
Lei Liu · Nov 19, 2004 · r-help

Hi there, After I fitted a cox model, I used vcov to obtain the variance of the parameter estimate. It worked correctly in R 1.9.1. But it failed in R 2.0.0 and the error message is...

trajectory plot (growth curve)
Lei Liu · Aug 23, 2010 · r-help

Hi there, I want to make trajectory plots for data as follows: ID time y 1 1 1.4 1 2 2.0 1 3 2.5 2 1.5 2.3 2 4 4.5 2 5.5 1...

incomplete latin square design
Lei Liu · Sep 6, 2007 · r-help

Hi there, I have a question on cross over design. There are 3 treatments, each with 3 dose levels, a total of 27 treatment combinations. Each treatment combination is given to a subject in 1 day. However, we can only...

Answer to help in R calling C function
Lei Liu · Jun 27, 2004 · r-help

Hi there, Thank you all for your timely response. I find the right way to do it. There is a good example in Dr. Burns website: http://www.burns-stat.com/pages/Spoetry/Spoetry.pdf Page 174. So this is...

help with coxme
Lei Liu · Jun 29, 2006 · r-help

Hi there, I have a question on fitting data by coxme. In particular I want to fit a random intercept and random slope cox model. Using the rats dataset as an example, I generated another covariate x2 and want to...

newbie question: call C function from R in Windows XP
Lei Liu · Oct 21, 2002 · r-help

Hello, I need to call an C function MH.c in my R code in Windows XP. I downloaded the software form http://www.stats.ox.ac.uk/pub/Rtools/ and installed them. But when I run the command "..\bin...

a generic Adaptive Gauss Quadrature function in R?
Lei Liu · Aug 22, 2006 · r-help

Hi there, I am using SAS Proc NLMIXED to maximize a likelihood with multivariate normal random effects. An example is the two part random effects model for repeated measures semi-continous data with a cluster at 0. I use the...

2 questions on matrix manipulation in R
Lei Liu · Aug 7, 2011 · r-help

Hi there, I have two questions on matrix manipulation. For the first one, I want to calculate the product of each column of a matrix (say A) with another vector (say b). That is, if A has 5 columns (a1...

help in R calling C function
Lei Liu · Jun 27, 2004 · r-help

Hi there, I want to call a C function in R. I have some experience on it, but this time I need to call another C function in the "main" C function. As a simple example, I use the following...

pdIdent in smoothing regression model
Lei Liu · Oct 9, 2011 · r-help

Hi there, I am reading the 2004 paper "Smoothing with mixed model software" in Journal of Statistical Software, by Ngo and Wand. I tried to run their first example in Section 2.1 using R but I had some problems...

a question in coxph
Lei Liu · Nov 8, 2009 · r-help

Hi there, I tried to fit a penalized spline for a continuous risk factor in recurrent events data. I found that I can include both pspline and frailty terms in coxph. So I use code like fit1 <- coxph(Surv(start...

help on pspline in coxph
Lei Liu · Apr 6, 2011 · r-help

Hi there, I have a question on how to extract the linear term in the penalized spline in coxph. Here is a sample code: n=100 set.seed(1) x=runif(100) f1 = cos(2*pi*x) hazard = exp(f1...

Can't find what you're looking for? Try searching with Google .