mixor-package {mixor}R Documentation

Mixed-Effects Ordinal Regression Analysis

Description

This package provides a function mixor for fitting mixed-effects ordinal and binary response models and associated methods for printing, summarizing, extracting estimated coefficients and the variance-covariance matrix, and estimating contrasts for the fitted models.

Details

Package: mixor
Type: Package
Title: Mixed-Effects Ordinal Regression Analysis
Version: 1.0.4
Date: 2018-06-13
Author: Kellie J. Archer, Donald Hedeker, Rachel Nordgren, Robert D. Gibbons
Maintainer: Kellie J. Archer <archer.43@osu.edu>
Description: Provides the function 'mixor' for fitting a mixed-effects ordinal and binary response models and associated methods for printing, summarizing, extracting estimated coefficients and variance-covariance matrix, and estimating contrasts for the fitted models.
License: GPL (>=2)
Depends: R (>= 2.10), survival
BuildResaveData: best
Biarch: yes
NeedsCompilation: yes
LazyLoad: true

Index of help topics:

AIC.mixor               Return AIC for a Fitted Mixor Model
BIC.mixor               Return BIC for a Fitted Mixor Model
Contrasts               Estimate Contrasts for Mixor Object
SmokeOnset              Smoking Onset Data
SmokingPrevention       Television School and Family Smoking Prevention
                        and Cessation Project Data
coef.mixor              Extract Model Coefficients
concen                  Twins Trouble Concentrating Data
deviance.mixor          Return the deviance for a Fitted Mixor Model
irt.data                Armed Servces Vocational Aptitude Battery
logLik.mixor            Return the log-likelihood for a Fitted Mixor
                        Model
mixor                   Mixed-Effects Ordinal Regression Analysis
mixor-deprecated        Deprecated Functions in Package mixor
mixor-package           Mixed-Effects Ordinal Regression Analysis
mixord                  Old Function Name Replaced with mixor
norcag                  Attitudes Towards Sex Data from the 1989
                        General Social Survey
plot.mixor              Plot empirical Bayes estimates of random
                        effects for a Mixor Model Object
predict.mixor           Predict Outcome From Mixor Fitted Model
print.mixor             Printing Mixor Model Fits
schizophrenia           National Institute of Mental Health
                        Schizophrenia Collaborative Study
summary.mixor           Summarize Mixor Model Fit
vcov.mixor              Return Variance-Covariance Matrix for a Mixor
                        Model Object

This package provides a function mixor for fitting mixed-effects ordinal and binary response models and associated methods for printing, summarizing, extracting estimated coefficients and the variance-covariance matrix, and estimating contrasts for the fitted models.

Author(s)

Kellie J. Archer, Donald Hedeker, Rachel Nordgren, Robert D. Gibbons Kellie J. Archer, Donald Hedeker, Rachel Nordgren, Robert D. Gibbons Maintainer: Kellie J. Archer <archer.43@osu.edu> Kellie J. Archer <archer.43@osu.edu>

References

Hedeker D. and Gibbons R.D. (1996) A computer program for mixed-effects ordinal regression analysis. Computer Methods and Programs in Biomedicine 49, 157-176.

See Also

See also mixor, and examples in norcag, irt.data, concen, SmokeOnset, schizophrenia

Examples

library("mixor")
data("SmokingPrevention")
# data frame must be sorted by id variable
SmokingPrevention<-SmokingPrevention[order(SmokingPrevention$class),]
# school model
Fitted.school<-mixor(thksord~thkspre+cc+tv+cctv, data=SmokingPrevention, 
   id=school, link="logit")
summary(Fitted.school)
vcov(Fitted.school)
# students in classrooms analysis 
Fitted.students<-mixor(thksord~thkspre+cc+tv+cctv, data=SmokingPrevention, 
   id=class, link="logit", nAGQ=11)
summary(Fitted.students)
coef(Fitted.students)
vcov(Fitted.students)
cm<-matrix(c(-1,-1,-1,0,0,0,0,0,                                             
		0,0,0,0,0,0,0,0,
		0,0,0,1,0,0,0,1),
		ncol=3,byrow=TRUE)
Contrasts(Fitted.students, contrast.matrix=cm)

[Package mixor version 1.0.4 Index]