s-news
[Top] [All Lists]

RE blm: Extracting simulated values of parameters (blm.fit, betaMatrix,

To: s-news@lists.biostat.wustl.edu
Subject: RE blm: Extracting simulated values of parameters (blm.fit, betaMatrix, scaleMatrix)
From: gerald.jean@dgag.ca
Date: Fri, 23 Nov 2007 10:06:15 -0500
In-reply-to: <58959FDED5A67C48BB2D24A6CFBB88E80521C824@GRDPEML1.tgrd.com>
Hello Tri,

for example if your model is:

ttt.mymodel <- blm(my.arguments)

than

names(ttt.mymodel)

will give you the name of the different components of your model.  You can
then extract the required component(s) using the "$" operator.  Suppose the
name of the posteriors is "post", you extract by:

ttt.mymodel$post

Hope this help, have fun,

Gérald Jean
Conseiller senior en statistiques, Actuariat
télephone            : (418) 835-4900 poste (7639)
télecopieur          : (418) 835-6657
courrier électronique: gerald.jean@dgag.ca



                                                                           
             "Tat, Tri Vi                                                  
             (TGRD)"                                                       
             <TTat@tgrd.com>                                             A 
             Envoyé par :              s-news@lists.biostat.wustl.edu      
             s-news-owner@list                                          cc 
             s.biostat.wustl.e                                             
             du                                                      Objet 
                                       [S] blm: Extracting simulated       
                                       values of parameters (blm.fit,      
             2007/11/23 09:27          betaMatrix, scaleMatrix)            
                                                                           
                                                                           
             Veuillez répondre                                             
                     à                                                     
             s-news@lists.bios                                             
               tat.wustl.edu                                               
                                                                           
                                                                           




Dear Splus users
In fitting a model using S+Bayes, e.g. blm, how do I do the following:

Extract the (posterior) simulated values of the parameters? The help for
blm says these are stored in the list "model", but how do I access this?

Thanks

Tri



###
This message is for the designated recipient only and may contain
privileged or confidential information.  If you have received it in error,
please notify the sender immediately and delete the original.  Any other
use of the email by you is prohibited.


###









Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés
uniquement aux personnes identifiées et peuvent contenir des informations
privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez
reçu ce message par erreur, veuillez le détruire.





This communication (and/or the attachments) is intended for named
recipients only and may contain privileged or confidential information
which is not to be disclosed. If you received this communication by mistake
please destroy all copies.



<Prev in Thread] Current Thread [Next in Thread>