User Tools

Site Tools


public:t-701-rem4:lab

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
public:t-701-rem4:lab [2007/10/06 10:23] helgipublic:t-701-rem4:lab [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 4: Line 4:
 The following R code should be copied task by task (i.e. comment and code) and exectued in R. Its purpose is to show a simple prototype for an action, you should think about it, understand and try some variations. The following R code should be copied task by task (i.e. comment and code) and exectued in R. Its purpose is to show a simple prototype for an action, you should think about it, understand and try some variations.
  
-<code>+<code bash>
 # T-701-REM 4  # T-701-REM 4 
 # 2007-10-01 # 2007-10-01
Line 39: Line 39:
 c( mean(cm)+qt(0.025, 37)*stderr, mean(cm)+qt(0.975, 37)*stderr) c( mean(cm)+qt(0.025, 37)*stderr, mean(cm)+qt(0.975, 37)*stderr)
  
-# Try several variations of conf.level, including 0.2659205 (the p-value)+# Try several variations of conf.level,  
 +including 1-0.2659205 (Note: 1 minus the p-value, corrected 2007-10-06)
 # ############################ # ############################
  
 # Compare heights of men and women (to see how t.test works) # Compare heights of men and women (to see how t.test works)
 detach(men) detach(men)
 +rm(stderr, tvalue) # some cleanup (added 2007-10-06)
 attach(haed) attach(haed)
 # Test if the diff is 0 (reason for the name Null Hypothesis!) # Test if the diff is 0 (reason for the name Null Hypothesis!)
/var/www/cadia.ru.is/wiki/data/attic/public/t-701-rem4/lab.1191666217.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki