Description Usage Arguments Details Value See Also Examples
Returns a summary list for objects of class
all.nlreg.profiles
.
1 2 |
object |
an |
alpha |
a vector of levels for confidence intervals; the default is 95%, that is, 1-\code{alpha}=0.95. |
twoside |
a logical value. If |
digits |
the number of significant digits to be printed. |
... |
absorbs any additional argument. |
This function is a method for the generic function
summary
for objects of class
all.nlreg.profiles
. It can be invoked by calling
summary
or directly summary.all.nlreg.profiles
for an
object of the appropriate class.
A list is returned where the first components are named after the
parameters of the nonlinear model that was profiled. Each component
represents a matrix with
k*dim(\code{alpha}) rows and 2 columns,
where k equals 2 or 4 depending on whether
hoa = TRUE
in the call that generated the
nlreg.profile
object. This matrix contains the upper and lower
confidence bounds for the test statistics considered and for the
confidence levels defined through alpha
. The remaining
components are the following:
mle |
a 2 x d matrix containing the MLEs and s.e.s of the d parameters. |
offset |
a vector of character strings returning the parameter names. |
twoside |
a logical value indicating whether two-sided or one-sided confidence intervals were calculated. |
hoa |
a logical value indicating whether higher order solutions were calculated. |
digits |
the number of significant digits to be printed. |
call |
an image of the call that produced the object, but with all arguments named. |
nlreg.profile.objects
,
profile.nlreg
, summary
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
data(metsulfuron)
metsulfuron.nl <-
nlreg( formula = log(area) ~ log( b1+(b2-b1) / (1+(dose/b4)^b3) ),
weights = ~ ( 1+dose^exp(g) )^2, data = metsulfuron,
start = c(b1 = 138, b2 = 2470, b3 = 2, b4 = 0.07, g = log(0.3)),
hoa = TRUE )
##
metsulfuron.prof <- profile( metsulfuron.nl, trace = TRUE )
summary( metsulfuron.prof, alpha = c(0.1, 0.05) )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.