Displaying 1 result from an estimated 1 matches for "unempt".
Did you mean:
unemp
2012 Apr 11
1
Problem with effects package
...13] ctv_0.7-4 sos_1.3-1
[15] brew_1.0-6 Hmisc_3.9-3
[17] survival_2.36-12 MASS_7.3-17
loaded via a namespace (and not attached):
[1] cluster_1.14.2 digest_0.5.2 tools_2.15.0
# copy and paste the following:
library( catdata )
data( unemployment )
unempt <- unemployment
unempt$durbin <- unempt$durbin - 1
library( reshape )
unempt <- melt( table( unempt ) )
unempw <- cast( unempt, age ~ durbin )
names( unempw ) <- c( 'age', 'short', 'long' )
modt <- glm( durbin ~ age, weights = value, family = binomial, dat...