Description Usage Arguments Details Value Author(s) References See Also Examples

Computes confidence intervals from the profiled likelihood and the Wald approximation in the 2AC model, or plots the profile likelihood function for d.prime.

1 2 3 4 5 6 7 8 9 10 11 12 13 | ```
## S3 method for class 'twoAC'
confint(object, parm, level = 0.95,
type = c("likelihood", "Wald"), ...)
## S3 method for class 'profile.twoAC'
confint(object, parm = "d.prime", level = 0.95, ...)
## S3 method for class 'twoAC'
profile(fitted, alpha = 1e-3, nSteps = 1e2, range, ...)
## S3 method for class 'profile.twoAC'
plot(x, level = c(0.95, 0.99), Log = FALSE,
relative = TRUE, fig = TRUE, n = 1e3, ..., ylim = NULL)
``` |

`object` |
a fitted |

`fitted` |
a fitted |

`x` |
a |

`type` |
the type of confidence interval required. |

`parm` |
For For |

`level` |
the confidence level required. |

`alpha` |
determines the range of profiling. By default the likelihood is profiled in the 99.9% Wald confidence interval region. |

`range` |
if supplied, |

`nSteps` |
the number of profile steps. |

`Log` |
should the profile likelihood be plotted on the log-scale? |

`relative` |
should the relative or the absolute likelihood be plotted? |

`fig` |
should the profile likelihood be plotted? |

`n` |
the no. points used in the spline interpolation of the profile likelihood. |

`ylim` |
overrules default y-limits on the plot of the profile likelihood. |

`...` |
not currently used. |

These `confint`

methods call
the appropriate profile method, then finds the
confidence intervals by interpolation of the profile traces.
If the profile object is already available, this should be used as the
main argument rather than the fitted model object itself.

In `plot.profile.twoAC`

: at least one of `Log`

and
`relative`

arguments have to be `TRUE`

.

`confint`

:
A matrix (or vector) with columns giving lower and upper confidence
limits for each parameter. These will be labelled as (1-level)/2 and
1 - (1-level)/2 in % (by default 2.5% and 97.5%).
Profile likelihood confindence intervals are only available for
`d.prime`

and not `tau`

.

`profile.twoAC`

: a `data.frame`

with the profile of
`d.prime`

.

`plot.profile.twoAC`

invisibly returns the spline approcimation to
the profile.

Rune Haubo B Christensen

Christensen R.H.B., lee H-S and Brockhoff P.B. (2010). Estimation of the Thurstonian model for the 2-AC protocol. Manuscript for Food Quality and Preference.

1 2 3 4 5 6 7 8 9 10 11 12 13 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.