mpstats_single: Microperimetry statistics.

Description Usage Arguments Details Value Author(s) See Also

View source: R/mp_stats.R

Description

Calculates microperimetry statistics from a single test. Includes mean sensitivity (mean_sens), mean deviation (mean_dev), pattern standard deviation (psd). See also details. Works in conjunction with prediction functions. (see example)

Usage

1
mpstats_single(interpol_dat, digits = 2)

Arguments

interpol_dat

interpolated results from test data.

digits

Digits to be rounded to

Details

mean_dev and psd are estimated. This is, because there is no 'real mean' and, more importantly, no "real variance" of normal values for each given location. Mean and variance are estimated based on kringing (spatial interpolation) of predicted (!) values. The predicted values are given by simple linear regression for each location, based on the norm data It includes age, sex and lens status as covariates. The variance used for estimation is equal to the prediction intervals from those models, assuming homoscedasticity in a non-weighted model

Value

vector

Author(s)

tjebo

See Also

stats::predict.lm

Other stat functions: bootstrap_maia(), mpstats_manual(), mpstats()


tjebo/perimetry documentation built on Dec. 23, 2021, 10:57 a.m.