cronbach_alpha_lib

Crates.iocronbach_alpha_lib
lib.rscronbach_alpha_lib
version0.1.0
sourcesrc
created_at2023-07-13 09:57:21.722313
updated_at2023-07-13 09:57:21.722313
descriptionLibrary for get cronbach alpha value to check your reliable question
homepage
repositoryhttps://github.com/rickhysis/cronbach_alpha_lib
max_upload_size
id915188
size6,615
Rickhy Siswanto (rickhysis)

documentation

README

cronbach_alpha_lib

run this test

$ cargo test -- --nocapture

Usage

How to called this library and easiest and most efficient method of creating

use cronbach_alpha_lib::reliable;

let data = vec![
    vec![1, 2, 1, 2, 3, 2, 1, 2, 3, 2], // Q1 = question 1
    vec![3, 2, 3, 1, 3, 3, 1, 3, 3, 2], // Q2 = question 2
    vec![3, 2, 3, 2, 3, 3, 1, 2, 3, 2], // Q3 = question 3
    vec![3, 2, 3, 2, 4, 3, 1, 2, 4, 3], // Q4 = question 4
    vec![2, 3, 3, 3, 4, 3, 1, 2, 2, 1], // Q5 = question 5
];
let result: f32 = reliable(&data); // 0.838
assert_eq!(is_reliable(result), true); // is reliable because more than 0.6

Donate

If this repository has been useful to you, please consider saying "thanks" by donating money, even if it's just one cents. This shows your appreciation and keeps me motivated to work on further software improvements.

Bitcoin

Please send bitcoin to the following address:

1BBqhnWbr9TBE1d1QXWpD23BiGKQXRQMPb

bitcoin QR code

Ethereum

Please send ETH to the following address:

0x9Be4c638CDC4b7d89b8Ea3720cd1f39E32276E53

ETH QR code

Commit count: 4

cargo fmt