Learn R Programming

pomp (version 0.39-3)

profileDesign: Design matrices for likelihood profile calculations.

Description

profileDesign generates a data-frame where each row can be used as the starting point for a profile likelihood calculation.

Usage

profileDesign(..., lower, upper, nprof)
profile.design(..., lower, upper, nprof)

Arguments

...
Specifies the parameters over which to profile.
lower, upper
Named numeric vectors, specifying the range over which the other parameters are to be sampled.
nprof
The number of starts per profile point.

Value

  • profileDesign returns a data frame with nprof points per profile point. The other parameters in vars are sampled using sobol. The equivalent form (profile.design) is now deprecated.

See Also

sobol

Examples

Run this code
## A one-parameter profile design:
x <- profileDesign(p=1:10,lower=c(a=0,b=0),upper=c(a=1,b=5),nprof=20)
dim(x)
plot(x)
## A two-parameter profile design:
x <- profileDesign(p=1:10,q=3:5,lower=c(a=0,b=0),upper=c(b=5,a=1),nprof=20)
dim(x)
plot(x)

Run the code above in your browser using DataLab