glmdm.linear {glmdm}R Documentation

glmdm.linear

Description

R code for simulation of GLMDM

Usage

glmdm.linear(Y, X, family=linear, num.reps=1000, log=TRUE, a1=3, b1=2, d=0.25, MM=15,VV=30,...)

Arguments

Y Y
X X
family family
num.reps num.reps
log log
a1 a1
b1 b1
d d
MM MM
VV VV
... ..

Examples

## Not run: 
{
data(scotvote)
attach(scotvote)
Y <- PerYesParl
X <- cbind(rep(1,length=length(Y)),PrivateHousingStarts,CouncilTax,Percentage5to15,
           PrimaryPTRatio,PerBirthsOut,PerClaimantFemale)
detach(scotvote)
glmdm.linear(Y,X,num.reps=5000,log=FALSE) 
}
## End(Not run)

[Package glmdm version 0.51 Index]