Description Usage Arguments References Examples
This function calculate λ_o, an instability measure of the EMA data in one subject.The data vector is first standardized. Then we calculate λ_o as
λ_o = n_o/t_o
where n_o is the number of transitions from outside to inside the standard range, and t_o is the number of assessments with a score outside the standard range. λ_o indicates the conditional probability of transitioning to inside the standard range, given being outside.
1 | get_lambda_o(x)
|
x |
numeric vector of measurements for one subject |
buu2020associationEMAanalysis
1 2 | x <- 1:10
get_lambda_o(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.