public:t-701-rem4:lab
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:t-701-rem4:lab [2007/10/06 10:23] – helgi | public: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. | ||
| - | < | + | < |
| # T-701-REM 4 | # T-701-REM 4 | ||
| # 2007-10-01 | # 2007-10-01 | ||
| Line 39: | Line 39: | ||
| c( mean(cm)+qt(0.025, | c( mean(cm)+qt(0.025, | ||
| # | # | ||
| - | # Try several variations of conf.level, including 0.2659205 (the p-value) | + | # Try several variations of conf.level, |
| + | # including | ||
| # ############################ | # ############################ | ||
| # 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)