types_of_error:code01
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| types_of_error:code01 [2025/11/25 04:54] – hkimscil | types_of_error:code01 [2025/11/25 04:55] (current) – hkimscil | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| < | < | ||
| + | rm(list=ls()) | ||
| + | rnorm2 <- function(n, | ||
| + | mean+sd*scale(rnorm(n)) | ||
| + | } | ||
| + | |||
| + | se <- function(sample) { | ||
| + | sd(sample)/ | ||
| + | } | ||
| + | |||
| + | ss <- function(x) { | ||
| + | sum((x-mean(x))^2) | ||
| + | } | ||
| + | |||
| + | ################################ | ||
| N.p <- 1000000 | N.p <- 1000000 | ||
| m.p <- 50 | m.p <- 50 | ||
types_of_error/code01.txt · Last modified: by hkimscil
