User Tools

Site Tools


r:lecture

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
r:lecture [2015/11/05 10:03] hkimscilr:lecture [2015/11/05 10:28] hkimscil
Line 24: Line 24:
 qqline(x) qqline(x)
  
 +====== 함수만들기 ======
 +se = function(x) sd(x)/sqrt(length(x))
 +
 +====== 시뮬레이션 ======
 +set.seed(1234)
 +height = rnorm(n=100000, mean=175, sd=5)
 +mean(height)
 +
 +
 +M=NULL
 +V=NULL
 +for (i in 1:10000) { 
 +x=sample(height, size=100) 
 +M[i]=mean(x) 
 +V[i]=var(x) 
 +}
  
  
r/lecture.txt · Last modified: 2015/11/05 14:19 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki