[ADMB Users] ADMB versus R

dave fournier davef at otter-rsch.com
Thu Nov 8 11:52:40 PST 2012


Anyway too much talk -- not enough action.  I made a version of glmmadmb 
(attached)
which can have different variance parameters or different alpha parameters
based on a simple grouping vector ISD and IA. For the default case these 
are all just 1's.
also one must input num_sd and num_alpha   again default case is both 1's.

I fit the model with the 3 variances.  this is what you should get.

# Number of parameters = 8  Objective function value = 255.508 Maximum 
gradient component = 1.42156e-06
# pz:
0.000100000000000
# beta:
  -10.7785676138 -2.55267985433 -4.72926438231 6.91095065954
# tmpL:
  0.352458239755
  0.489012745901
  0.496221176470
# tmpL1:
  0.000100000000000
# log_alpha:
  0.591420283111



That took about 40 minutes.

The necessary changes for the R side are top add num_sd , num_alpha, 
IA,  ISD and the extra
parameters in the pin file.
-------------- next part --------------
"0506530270068","E","1",0
"0506530290166","E","1",0
"0506530290181","E","1",0
"0506530300115","E","1",0
"0506530300124","E","1",0
"0506530300136","E","1",2
"0506530380015","E","1",0
"0506530380037","E","1",0
"0506530390006","E","1",0
"0506530390119","E","1",0
"0506530400036","E","1",0
"0506530400049","E","1",0
"050653040280049","E","1",0
"0506530430040","E","1",0
"0506530430047","E","1",0
"0506530430065","E","1",0
"0506530430089","E","1",0
"0506580130060","E","1",2
"0506580130155","E","1",0
"0506580180062","E","1",2
"0506581900343","E","1",2
"0506581900346","E","1",4
"0511511060010","E","1",0
"0511511210049","E","1",0
"0511515070003","E","1",6
"0511515070018","E","1",0
"0511515070034","E","1",6
"0511515070054","E","1",0
"0511515160010","E","1",0
"0511515160013","E","1",4
"0511522070132","E","1",0
"0511522070151","E","1",1
"0511522070152","E","1",2
"0511525010008","E","1",0
"0511525010022","E","1",4
"0511525170005","E","1",4
"0517566200042","E","1",12
"0517566200044","E","1",2
"0517566300087","E","1",0
"0517566300095","E","1",4
"0517566350026","E","1",6
"0517566400015","E","1",8
"0517566400086","E","1",0
"0506512840152","W","1",0
"0506512840186","W","1",0
"0506513810068","W","1",0
"0511526022084","W","1",0
"0511526022085","W","1",0
"0511526030034","W","1",12
"0511526050084","W","1",12
"05115260516B0084","W","1",3
"05115260516G0084","W","1",7
"05115260516H0084","W","1",2
"051152605A0084","W","1",8
"0511526130477","W","1",0
"0511526130543","W","1",5
"0511526130619","W","1",2
"0511526190087","W","1",0
"0511534210306","W","1",0
"0511534210307","W","1",2
"0511534210308","W","1",2
"0511534210312","W","1",10
"0517567400160","W","1",4
"0517567400182","W","1",3
"0506530270068","E","2",0
"0506530290166","E","2",0
"0506530290181","E","2",0
"0506530300115","E","2",0
"0506530300124","E","2",0
"0506530300136","E","2",0
"0506530380015","E","2",0
"0506530380037","E","2",0
"0506530390006","E","2",0
"0506530390119","E","2",0
"0506530400036","E","2",0
"0506530400049","E","2",0
"050653040280049","E","2",0
"0506530430040","E","2",0
"0506530430047","E","2",0
"0506530430065","E","2",0
"0506530430089","E","2",0
"0506580130060","E","2",0
"0506580130155","E","2",0
"0506580180062","E","2",0
"0506581900343","E","2",0
"0506581900346","E","2",0
"0511511060010","E","2",0
"0511511210049","E","2",0
"0511515070003","E","2",4
"0511515070018","E","2",2
"0511515070034","E","2",4
"0511515070054","E","2",0
"0511515160010","E","2",0
"0511515160013","E","2",4
"0511522070132","E","2",0
"0511522070151","E","2",1
"0511522070152","E","2",2
"0511525010008","E","2",0
"0511525010022","E","2",2
"0511525170005","E","2",1
"0517566200042","E","2",2
"0517566200044","E","2",2
"0517566300087","E","2",0
"0517566300095","E","2",0
"0517566350026","E","2",0
"0517566400015","E","2",4
"0517566400086","E","2",0
"0506512840152","W","2",0
"0506512840186","W","2",0
"0506513810068","W","2",0
"0511526022084","W","2",0
"0511526022085","W","2",0
"0511526030034","W","2",4
"0511526050084","W","2",12
"05115260516B0084","W","2",2
"05115260516G0084","W","2",2
"05115260516H0084","W","2",2
"051152605A0084","W","2",2
"0511526130477","W","2",0
"0511526130543","W","2",5
"0511526130619","W","2",2
"0511526190087","W","2",0
"0511534210306","W","2",2
"0511534210307","W","2",0
"0511534210308","W","2",0
"0511534210312","W","2",8
"0517567400160","W","2",2
"0517567400182","W","2",4
"0506530270068","E","3",0
"0506530290166","E","3",0
"0506530290181","E","3",0
"0506530300115","E","3",0
"0506530300124","E","3",0
"0506530300136","E","3",0
"0506530380015","E","3",0
"0506530380037","E","3",0
"0506530390006","E","3",0
"0506530390119","E","3",0
"0506530400036","E","3",0
"0506530400049","E","3",0
"050653040280049","E","3",0
"0506530430040","E","3",2
"0506530430047","E","3",0
"0506530430065","E","3",0
"0506530430089","E","3",0
"0506580130060","E","3",0
"0506580130155","E","3",1
"0506580180062","E","3",0
"0506581900343","E","3",0
"0506581900346","E","3",0
"0511511060010","E","3",0
"0511511210049","E","3",0
"0511515070003","E","3",2
"0511515070018","E","3",0
"0511515070034","E","3",4
"0511515070054","E","3",0
"0511515160010","E","3",0
"0511515160013","E","3",4
"0511522070132","E","3",1
"0511522070151","E","3",0
"0511522070152","E","3",0
"0511525010008","E","3",3
"0511525010022","E","3",2
"0511525170005","E","3",0
"0517566200042","E","3",2
"0517566200044","E","3",0
"0517566300087","E","3",0
"0517566300095","E","3",0
"0517566350026","E","3",0
"0517566400015","E","3",4
"0517566400086","E","3",0
"0506512840152","W","3",0
"0506512840186","W","3",0
"0506513810068","W","3",0
"0511526022084","W","3",0
"0511526022085","W","3",0
"0511526030034","W","3",4
"0511526050084","W","3",10
"05115260516B0084","W","3",3
"05115260516G0084","W","3",0
"05115260516H0084","W","3",6
"051152605A0084","W","3",4
"0511526130477","W","3",0
"0511526130543","W","3",9
"0511526130619","W","3",0
"0511526190087","W","3",0
"0511534210306","W","3",0
"0511534210307","W","3",2
"0511534210308","W","3",0
"0511534210312","W","3",10
"0517567400160","W","3",2
"0517567400182","W","3",3


More information about the Users mailing list