estimated_standard_deviation:rout02
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| estimated_standard_deviation:rout02 [2026/03/17 22:44] – hkimscil | estimated_standard_deviation:rout02 [2026/03/17 22:51] (current) – hkimscil | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <WRAP group> | ||
| + | <WRAP column 55%> | ||
| + | < | ||
| + | > rm(list=ls()) | ||
| + | > | ||
| + | > rnorm2 <- function(n, | ||
| + | + | ||
| + | + } | ||
| + | > | ||
| + | > # set.seed(191) | ||
| + | > nx <- 1000 | ||
| + | > mx <- 50 | ||
| + | > sdx <- mx * 0.1 | ||
| + | > sdx # 5 | ||
| + | [1] 5 | ||
| + | > x <- rnorm2(nx, mx, sdx) | ||
| + | > # x <- rnorm2(1000, | ||
| + | > | ||
| + | > mean(x) | ||
| + | [1] 50 | ||
| + | > sd(x) | ||
| + | [1] 5 | ||
| + | > length(x) | ||
| + | [1] 1000 | ||
| + | > hist(x) | ||
| + | > | ||
| + | </ | ||
| + | </ | ||
| + | <WRAP column 35%> | ||
| + | </ | ||
| <WRAP group> | <WRAP group> | ||
| <WRAP column 55%> | <WRAP column 55%> | ||
estimated_standard_deviation/rout02.1773787442.txt.gz · Last modified: by hkimscil
