Description Usage Arguments Value
Forthcoming
1 2 3 |
rt |
a vector of response times. |
exclude |
if |
lowerBoundary |
a vector defining the lower boundary for the range over which the starting values are generated. |
upperBoundary |
a vector defining the upper boundary for the range over which the starting values are generated. |
method |
determines the estimation method used by R's |
maxit |
the maximum number of iterations to run in the optimization routine. |
nRep |
the number of times to repeat the optimization routine with new starting values (higher values lead to a greater chance of avoiding local maxima at the cost of longer computational times). |
alpha |
the width of the confidence intervals for parameter estimates. |
cutoff |
a cutoff for excluding observations based on their relative probability under the inverse gaussian (default is .05). |
rtclean
returns an object of class "cleanrt".
The function summary
prints a comparison between the descriptive statistics
for the original and trimmed data sets, anova
reports the Akaike Information
Criterion (AIC) values (corrected for small samples) and their relative weights for
the set of 3 models fit to the data.
An object of class "cleanrt" is a list containing the following components:
rtNew
a vector with the newly trimmed response times.
rtOld
a vector of the untrimmed response times.
M1
the optim
results for the inverse gaussian model.
M2
the optim
results for the shifted inverse gaussian model.
M3
the optim
results for the mixture model.
M3
a list with the AICc values and relative weights.
ProbIG
a vector with the relative probabilities of each observation under the shifted inverse gaussian distribution.
exclude_1
a logical vector for the response times selected for exclusion based on having a relative probability of less than 0.5 for the shifted inverse gaussian.
exclude_2
a logical vector for the response times selected for exclusion based on probabilistic sampling using the relative probabilities for the inverse gaussian and uniform distributions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.