140.655.01 - Third Term 2009
LONGITUDINAL DATA ANALYSIS
Johns Hopkins Bloomberg School of Public Health
SOFTWARE
Stata functions:
Version of the QIC program that potentially works with Stata 9.
qic.ado
New! Stata command 'cheet sheet'
Convert ASCII file into STATA format using Stat/Transfer
[plaintext]
Resources to help you learn and use STATA
[website]
Inputting Your Data into STATA
[website]
Reshaping Data from Wide to Long
[website]
STATA Frequently Asked Questions
[website]
A wonderful archive of STATA programs
[website]
The xtgee command
[website]
Stata Analysis with GEE of the Epileptic Seizures data
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
S-plus and R functions:
Under "Models for Repeated Measurements. Oxford University Press (1999, Second Edition) -- Data and R code," there are
data sets and R code for LDA
LDA at University of Minnesota
website with R scripts
R function for lorelogram
Plotting longitudinal data sets
[exploratory.s]
Data analysis of the sitka spruce trees data set
[sitka.s]
and handout
[pdf]
Link to Oswald: Software for the Analysis of Longitudinal Data in S-plus
[website]
SAS functions:
Macro for calculating autocorrelation function in SAS
[pdf]
[readme]
Macro for fitting splines to Nepal Data
[splinfit.sas]
Generate correlated normal data
[gendat.sas]
PROC MIXED for the sitka.data
[sitka.sas]
and handout
[pdf]
Fit OLS and WLS models for gendat.sas data
[owlsfit.sas]
SAS analysis of the dental data set
[program]
[output]
Analysis of dental data using a random coefficient model, PROC MIXED
[program]
and output
[output]
Analysis of dental data using linear mixed effects model, PROC MIXED)
[program]
and output
[output]
Fit a Logistic Regression Model to the Myocardial infarction data
[program]
and output
[output]
Analysis of epileptic seizure data using a population-averaged model and GEE, PROC GENMOD
[program]
and output
[output]
Comparing the SAS GLM and Mixed Procedures for Repeated Measures
[pdf]