Learn R Programming

glmdm (version 2.01)

glmdm.linear: glmdm.linear

Description

R code for simulation of GLMDM

Usage

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

Arguments

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

Examples

Run this code
{
data(scotvote)
attach(scotvote)
Y <- PerYesParl
X <- cbind(PrivateHousingStarts,CouncilTax,Percentage5to15,
           PrimaryPTRatio,PerBirthsOut,PerClaimantFemale)
detach(scotvote)
glmdm.linear(Y,X,num.reps=5000,log=FALSE) 
}

Run the code above in your browser using DataLab