mirror of
https://github.com/Zenithsiz/ist-pe-proj.git
synced 2026-02-03 14:10:06 +00:00
Fixed 10.
This commit is contained in:
parent
83124e719f
commit
aaadf0bd0d
@ -17,7 +17,7 @@ all_samples <- lapply(1:m, function(idx) {
|
||||
|
||||
# Then get their t value
|
||||
samples_t <- sapply(all_samples, function(samples) {
|
||||
(mean(samples) - expected_mean) / (true_var / sqrt(n))
|
||||
(mean(samples) - expected_mean) / sqrt(true_var / n)
|
||||
})
|
||||
|
||||
# And check if they're accepted
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user