Learn R Programming

⚠️There's a newer version (0.1.5.1) of this package.Take me there.

quickpsy (version 0.1.2)

Fits Psychometric Functions for Multiple Groups

Description

Quickly fits and plots psychometric functions (normal, logistic, Weibull or any or any function defined by the user) for multiple groups.

Copy Link

Version

Install

install.packages('quickpsy')

Monthly Downloads

307

Version

0.1.2

License

MIT + file LICENSE

Maintainer

Linares Daniel

Last Published

November 30th, 2015

Functions in quickpsy (0.1.2)

logistic_fun

Logistic function
one_loglik

Creates the loglik for one condition one_loglik creates the loglik for one condition one_loglik
inv_logistic_fun

Inverse logistic function
one_limit

Creates the limits for one condition one_limit creates the limits for one condition
create_nll

Creates the negative log-likelihood function create_nll Creates the negative log-likelihood function
limits

Creates the limits limits creates the limits
plotcurves

Plot the curves
fitpsy

Fits the curve fitpsy fits de curve
qpdat

Data set for demonstration
parci

Calculates the confidence intervals for the parameters parci calculates the confidence intervals for the parameters
parini

Calculates some initial parameters parini calculates some initial parameters
create_psy_fun

Creates the psychometric function create_psy_fun creates the psychometric function
logliks

Calculates the loglikelihoods
thresholdcomparisons

Pair comparisons of the parameters using bootstrap thresholdcomparisons Calculates the bootstrap confidence intervals for the difference in the parameters for two groups for all possible pairs of groups
one_sse

Calculates the sum of squared errors of prediction one_sse calculates the sum of squared errors of prediction for one condition
one_thresholdsci

Calculates the confidence intervals for the threshold of one condition one_thresholdsci calculates the confidence intervals for the threshold of one condition
quickreadfiles

Reads several files
inv_cum_normal_fun

Inverse cumulative normal function
summary.quickpsy

Plot the parameters and its confidence intervals summary Plot the parameters and its confidence intervals
one_parameters

Obtains the parameters for one condition one_parameters obtains the parameters for one condition
thresholdsbootstrap

Calculates bootstrap thresholds thresholdsbootstrap calculates bootstrap thresholds
weibull_fun

Weibull function
one_thresholdcomparisons

Pair comparisons of the thresholds using bootstrap one_thresholdcomparisons Calculates the bootstrap confidence intervals for the difference in the thresholds for two groups for all possible pairs of groups
plotthresholds

Plot the thresholds
quickpsy_

Fits psychometric functions
plotpar

Plot the values of the parameters
sse

Sum of squared errors of prediction
ypred

Predicted probabilities
get_functions

Predefined functions
plotcurves_

Plot the curves
inv_weibull_fun

Inverse Weibull function
one_parcomparisons

Pair comparisons of the parameters using bootstrap (for each parameter) one_parcomparisons Calculates the bootstrap confidence intervals for the difference in the parameters for two groups for all possible pairs of groups (for each parameter)
parameters

Calculates the parameters parameters calculates the parameters
thresholds

Calculates the thresholds
thresholdsci

Calculates the confidence intervals for the thresholds thresholdsci calculates the confidence intervals for the thresholds
parcomparisons

Pair comparisons of the parameters using bootstrap parcomparisons Calculates the bootstrap confidence intervals for the difference in the parameters for two groups for all possible pairs of groups
cum_normal_fun

Cumulative normal function
one_curve

Creates the curve for one condition one_curve Creates the curve for one condition
quickpsy

Fits psychometric functions
parbootstrap

Creates bootstrap samples of the parameters
one_parci

Calculates the confidence intervals for one condition one_parci calculates the confidence intervals for one condition
one_threshold

Calculates the threshold for one condition one_threshold calculates the threshold for one condition one_threshold
curvesbootstrap

Creates the bootstrap curves curvesbootstrap creates the bootstrap curves
plotpar_

Plot the values of the parameters
parn

Performs the bootstrap for one condition one_bootstrap performs the bootstrap for one condition
one_ypred

Calculate the predictions of the response variable for one condition one_ypred calculate the predictions of the response variable for one condition
plotthresholds_

Plot the thresholds