s-news
[Top] [All Lists]

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

To: "Tat, Tri Vi (TGRD)" <TTat@tgrd.com>, <s-news@lists.biostat.wustl.edu>
Subject: Re: blm: Extracting simulated values of parameters (blm.fit, betaMatrix, scaleMatrix)
From: "Southworth, Harry" <Harry.Southworth@astrazeneca.com>
Date: Mon, 26 Nov 2007 09:33:32 -0000
In-reply-to: <58959FDED5A67C48BB2D24A6CFBB88E80521C824@GRDPEML1.tgrd.com>
Thread-index: Acgt3N1pKfVtXqgMQca1ySprj84s/QCMUvyQ
Thread-topic: blm: Extracting simulated values of parameters (blm.fit, betaMatrix, scaleMatrix)
The object returned by blm is an S4 class object.
 
mod = blm( y ~ x, data )
getSlots( mod )
 
The slot called "model" is a list, the first element of which also seems to have an S4 class.
 
getSlots( mod@model[[ 1 ]] )
 
The slot called "betaMatix" appears to contain the simulated values for the intercepts and slopes, and the slot called "scaleMatrix" contains the simulated values of the scale parameter.
 
 
hist( m[ , 1 ] ) # intercept
 
 
hist( s )
<Prev in Thread] Current Thread [Next in Thread>