User Tools

Site Tools


variance:rs2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

variance:rs2 [2026/03/10 23:19] – created hkimscilvariance:rs2 [2026/03/10 23:29] (current) – removed hkimscil
Line 1: Line 1:
-<code> 
-rnorm2 <- function(n,mean,sd) { mean+sd*scale(rnorm(n)) }  
-set.seed(1) 
-a <- rnorm2(100000000, 100, 10) 
-head(a) 
-tail(a,20) 
-m.a <- mean(a) 
-sse.a <- sum((a-m.a)^2) 
-n.a <- length(a) 
-df.a <- n.a - 1 
  
-sse.a / n.a 
-sse.a/ df.a 
- 
-</code> 
variance/rs2.1773184788.txt.gz · Last modified: by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki