User Tools

Site Tools


c:ma:2018:schedule

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
c:ma:2018:schedule [2018/11/27 03:35] – [Week13 (Nov. 27, 30)] hkimscilc:ma:2018:schedule [2018/12/17 10:01] (current) – [Week15 (Dec. 11, 14)] hkimscil
Line 465: Line 465:
   * name rows "subject1, subject2, subject3"   * name rows "subject1, subject2, subject3"
   * get means for each subject    * get means for each subject 
 +  * attach the above data to the matrix data and name it "longtemp."
   * get standard deviation for each trial   * get standard deviation for each trial
 +  * attach the above data to the matrix data, "longtemp."
 +
  
 <code>suburbs <- read.csv("http://commres.net/wiki/_export/code/r/data_transformations?codeblock=15", head=T, sep=" ")</code> <code>suburbs <- read.csv("http://commres.net/wiki/_export/code/r/data_transformations?codeblock=15", head=T, sep=" ")</code>
Line 507: Line 510:
 </code> </code>
  
 +see first [[:chi-square test]]
 +see [[:r:chi-square test]] in r document space for more
  
 <code> library(MASS) <code> library(MASS)
Line 520: Line 525:
   * get sd of the zdur   * get sd of the zdur
  
-<code>x <- rnorm(50, mean=100, sd=15)+<code> 
 +set.seed(1123) 
 +x <- rnorm(50, mean=100, sd=15)
 </code> </code>
   * test x against population  mean 95.   * test x against population  mean 95.
Line 543: Line 550:
 </code> </code>
   * find the t critical value with function qt.    * find the t critical value with function qt. 
-  
   * explain what happens in the next code   * explain what happens in the next code
 +  * read (or remind) what pnorm and qnorm do.
 <code>> s <- sd(x) <code>> s <- sd(x)
 > m <- mean(x) > m <- mean(x)
Line 563: Line 570:
 [1]  91.0636 100.9441 [1]  91.0636 100.9441
 > </code> > </code>
 +
 +
   * what's wrong with the below?   * what's wrong with the below?
 <code>t.test(x)</code> <code>t.test(x)</code>
  
 +<code>> mtcars</code>
 +  * using aggregate, get mean for each trnas. type.
 +  * compare the difference of mileage between auto and manual cars.
 +    * use t.test (two sample)
 +    * "use var.equal=T" option
 +
 +<code>a = c(175, 168, 168, 190, 156, 181, 182, 175, 174, 179)
 +b = c(185, 169, 173, 173, 188, 186, 175, 174, 179, 180)
 +</code>
 +  * stack them into data c
 +  * convert colnames into score and trans
 +  * t.test score by trans with var.equal option true. 
 +  * aov test
 +  * see  t.test t value, t = -0.9474 and F value,  F = ?
  
 </WRAP> </WRAP>
Line 577: Line 600:
 <WRAP half column> <WRAP half column>
 ===== Concepts and ideas ===== ===== Concepts and ideas =====
 +ANOVA
 +[[:r:oneway anova]]
 +[[:r:twoway anova]]
 +[[:r:linear regression]]
 +[[:r:multiple regression]]
 +[[:partial and semipartial correlation]]
 +
 +[[:statistical regression methods]]
 +[[:sequential_regression]]
 +
 + 
 +[[:factor analysis]]
 +
 Linear Regression and ANOVA Linear Regression and ANOVA
 http://commres.net/wiki/text_mining_example_with_korean_songs http://commres.net/wiki/text_mining_example_with_korean_songs
  
-[[:temp|quiz 3 answer]]+ 
  
 </WRAP> </WRAP>
 <WRAP half column> <WRAP half column>
 ===== Assignment ===== ===== Assignment =====
-  - 자신의 전공과 관심사에 맞는 아래의 테스트를 수행하기 위한 가설을 작성하시오.  
-    - T-test 
-    - F-test 
-    - factorial f-test 
-    - Simple regression 
-    - Multiple regression  
-  - 각 가설의 독립변인과 종속변인을 밝히고 이를 측정하는 방법에 대해서 논하시오. 
-  - 가설과 관련이 있는 논문을 찾아서 (적어도 하나 이상씩) 관련 논문이 밝힌 것을 설명하고 자신의 가설과의 연관성을 논하시오.  
-  - 각 가설에 필요한 데이터를 구한 후, 적절한 테스를 하시오 (r의 인풋과 아웃풋 필요). 
-  - 테스트 결과를 논하시오.  
 </WRAP> </WRAP>
  
 ====== Week15 (Dec. 11, 14) ====== ====== Week15 (Dec. 11, 14) ======
 <WRAP half column> <WRAP half column>
-Group Presentation+Final quiz 
 +Part I  (필기시험): NO open book.  
 +  * [[:correlation]]   
 +  * [[:regression]] 
 +  * [[:multiple regression]] 
 +  * [[:chi-square test]] 
 +  * [[:factor analysis]] - 이론적인 이해와 관련된 부분 
 +  * r 과 관련된 내용 중 통계에 대한 이해와 관련된 부분, 예를 들면 
 +    * t-test, ANOVA, Factorial  ANOVA output에 대한 이해 
 +    * regression, multiple regression output에 대한 이해 등 
 +Part II (r 실기시험): 교재와  R help만 허용 
 +  * [[:r:getting started]] 
 +  * [[:r:basics]] 
 +  * [[:r:navigating]] 
 +  * [[:r:input output]] 
 +  * [[:r:data structures]] 
 +  * [[:r:data transformations]] 
 +  * [[:r:probability]] 
 +  * [[:r:general statistics]] 
 +  * [[:r:t-test]] 
 +  * [[:r:anova]] 
 +  * [[:r:linear regression]] 
 +  * [[:r:multiple regression]] 
 +    * [[:partial and semipartial correlation]] 
 +    * [[:statistical regression methods]]
 </WRAP> </WRAP>
 <WRAP half column> <WRAP half column>
 </WRAP> </WRAP>
-<WRAP half column> 
 ====== Week16 (Dec. 18, 21) ====== ====== Week16 (Dec. 18, 21) ======
-Group Presentation+<WRAP half column>
 __**Final-term**__ __**Final-term**__
 </WRAP> </WRAP>
c/ma/2018/schedule.1543257329.txt.gz · Last modified: 2018/11/27 03:35 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki