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