similar to: re shaping "long-form" longitudinal data from sql query

Displaying 20 results from an estimated 120 matches similar to: "re shaping "long-form" longitudinal data from sql query"

2008 Apr 30
2
ordering a factor in boxplot output
I'm sure I'm missing something obvious in the documentation... I'm generating a boxplot boxplot(CleanValue~ApptCategory*ReportingCode,data=newfile) where ApptCategory is a factor with possible values ("New","Established") Problem is, the output orders those factors alphabetically, and I'd really rather see New come first. I'm apparently confused by the
2007 Oct 28
1
gam for longitudinal data?
I used gam for data analysis a lot. Is it possible to use gam to analyze longitudinal data? I mean, besides the working independence assumption, can i specify other more reasonable covariance structure in gam? [[alternative HTML version deleted]]
2008 Dec 05
0
Quantile Regression for longitudinal data
Hi all, does anybody know about R implementations for quantile regression for longitudinal data? I am just aware of a very basic version of R. Koenker's approach using fixed effects. Thanks in advance Armin
2009 May 06
0
Quantile Regression for Longitudinal Data. Warning message: In rq.fit.sfn
Dear Dimitris, I have exactly the same problem than you, Do you get some solution? Thanks, Lola Lola Gadea Profesora titular de Economía Aplicada/Lecturer in Applied Economics Universidad de Zaragoza/University of Zaragoza (Spain) lgadea@unizar.es <http://estructuraehistoria.unizar.es/personal/lgadea/index.html>http://estructuraehistoria.unizar.es/personal/lgadea/index.html Grupo de
2005 May 17
0
Problem in lme longitudinal model
Hi R-masters! I trying model Heart disease mortality in my country with a lme model like this: m1.lme<-lme(log(rdeath)~age*year,random=~age|year,data=dados) where: rdeath is rate of mortality per 100000 person per age and year age: age of death (22 27 32 37 42 47 52 57 62 67 72 77 82) year: year of death (1980:2002) I don?t have problem to fit the model, but in
2012 Oct 21
0
longitudinal data
 I would like to use GLM to analysis  a longitudinal data  any one know which library in R do so thanks alot [[alternative HTML version deleted]]
2009 Jul 17
1
package to do inverse probability weighting in longitudinal data
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 presence of missing data". Does anyone know if there is a package to do it in R (or other software)? Thanks a lot! Lei
2010 Jun 30
0
longitudinal tobit regression in R
Hi, I am trying to model a score over time. This score shows a ceiling effect. I was willing to use a longitudinal tobit model, such as the one described by Twisk et al. (Twisk_Longitudinal tobit regression: A new approach to analyze outcome variables with floor or ceiling effects_JCE_2009) but it is programmed for STATA. Has anyone used such models in R? Any other idea? David Biau.
2007 May 11
0
Multivariate longitudinal sample data
Hi, Can anyone recommend one or more good sample datasets for multivariate longitudinal data? (eg. a dataset containing a mixture of continuous, categorical and date/time variables) I'm looking for something which I can use for testing and examples for my ggplot graphics package. A selection of datasets which use different date time classes would also be useful, although I could probably
2009 Jul 15
0
strategy to iterate over repeated measures/longitudinal data
Hi Group, Create some example data. set.seed(1) wide_data <- data.frame( id=c(1:10), predictor1 = sample(c("a","b"),10,replace=TRUE), predictor2 = sample(c("a","b"),10,replace=TRUE), predictor3 = sample(c("a","b"),10,replace=TRUE), measurement1=rnorm(10), measurement2=rnorm(10)) head(wide_data) id
2007 Sep 24
0
longitudinal imputation with PAN
Hello all, I am working on a longitudinal study of children in the UK and trying the PAN package for imputation of missing data, since it fulfils the critical criteria of taking into account individual subject trend over time as well as population trend over time. In order to validate the procedure I have started by deleting some known values ?we have 6 annual measures of height on 300 children
2001 Jul 04
0
Regression trees with longitudinal data
Hi, Can anyone tell me if they know of any functions written for regression trees with a longitudinal dataset. I've got tree, rpart and maptree, but these all seem to be for univariate responses. Thanks for your time, Cath -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
2018 Apr 13
0
Longitudinal and Multilevel Data in R and Stan: 5-day workshop May 28 to June 1, 2018
Longitudinal and Multilevel Data in R and Stan ICPSR short course: May 28 to June 1, 2018 May 28: Introduction to R by John Fox May 29 to June 1: Longitudinal and Multilevel Data in R and Stan by Georges Monette Sponsored and organized by ICPSR, University of Michigan and held at York University in Toronto, Ontario Course description:https://www.icpsr.umich.edu/icpsrweb/sumprog/courses/0226
2018 Jan 25
0
Stats reshape non-Longitudinal Example Correctness
Good day, In the Examples section of the reshape function documentation is an example that reshapes that data frame state.x77. However, the resulting long data frame doesn't seem correct. It has three columns; Characteristic, Population and state. The second column probably shouldn't be named Population because it stores all of the values for all of the variables and only one of the
2003 Aug 25
2
Book recommendations: Multilevel & longitudinal analysis
Hi, does anyone out there have a recommendation for multilevel / random effects and longitudinal analysis? My dream book would be something that's both accessible to a non-statistician but rigorous (because I seem to be slowly turning into a statistician) and ideally would use R. Peter
2004 Nov 28
1
Could anyone help me reshape this "wide" data into "longitudinal" one? Thanks
Dear R people, I have a matrix like this: var1 var2 var3 var4 a1 7.1 7.2 8.1 8.2 a2 10.5 10.6 ... ... a3 b1 b2 b3 b4 c1 c2 ... The matrix row names are "a1", "a2", ...... and the matrix column names are "var1", "var2", "var3" and "var4". Now I want to reshape this data into a
2005 May 26
1
longitudinal survey data
Dear R-Users! Is there a possibility in R to do analyze longitudinal survey data (repeated measures in a survey)? I know that for longitudinal data I can use lme() to incorporate the correlation structure within individual and I know that there is the package survey for analyzing survey data. How can I combine both? I am trying to calculate design-based estimates. However, if I use svyglm() from
2006 Aug 10
1
How to fit bivaraite longitudinal mixed model ?
Hi Is there any way to fit a bivaraite longitudinal mixed model using R. I have a data set with col names resp1 (Y_ij1), resp2 (Y_ij2), timepts (t_ij), unit(i) j=1,2,..,m and i=1,2,..n. I want to fit the following two models Model 1 Y_ij1, Y_ij2 | U_i = u_i ~ N(alpha + u_i + beta1*t_ij, Sigma) U_i ~ iid N(0, sigu^2) Sigma = bivariate AR structure alpha and beta are vectors of order 2.
2007 Jul 08
2
longitudinal data
Hello all, I want to analyze data that looks like this: Id var1 var2 var3.. 1 0 1 0 1 0 1 1 2 2 2 2 Not all id's have the same no. of observations. At the first stage I want to count how many people in the survey, how many have 1 in var1, etc. How do I do that? Thank you, Sigalit. [[alternative HTML version deleted]]
2008 Feb 20
0
New Package 'JM' for the Joint Modelling of Longitudinal and Survival Data
Dear R-users, I'd like to announce the release of the new package JM (JM_0.1-0 available from CRAN) for the joint modelling of longitudinal and time-to-event data. The package has a single model-fitting function called jointModel(), which accepts as main arguments a linear mixed effects object fit returned by function lme() of package nlme, and a survival object fit returned by either