More materials R: skewness {modeest}
Trace: » start
- Skewness Kurtosis kurtosis {e1071}, skewness{modeest}
String process
Function "paste()", "nchar()", "strsplit()", "substr()", "match()", ...
a <- paste("string", 9:1, ".txt", sep = "")
nchar(a)
strsplit(a, "\\.")
substr(a, 1, 6) <- "Substr"; a
match("Substr9.txt", a)
Regulas expression
Function "grep()", "gsub()", ...
a <- paste("string", 9:1, ".txt", sep = "")
grep("([1,3,5-7])", a)
b <- paste("string", 9:1, ".txt", sep = "", collapse = " ")
gsub("([1,3,5-7]).(txt)", "_\\1-\\2", b)
- R: power.prop.test(p1 = .2, p2 = .03, power = .80)
- stata: sampsi 0.25 0.4, n1(300) r(0.5)
Statistical Testing
| test | SAS | Sata | R |
|---|---|---|---|
| t-test | proc ttest | ttest | t.test(A,B,var.equal=TRUE) |
| Wilcoxon rank sum] | xxx | xxx | wilcox.test(A,B) |
| Kolmogrov-Smirnov test | xxx | xxx | ks.test(A,B) |
| Equality of Variance(F) | xxx | xxx | var.test(A,B) |
Operating Systems & Databases
| OS | Databases | Languages | CMS |
|---|---|---|---|
| FreeBSD | PostgreSQL | tcl | OpenACS |
| Debian | xxx | emacs | Drupal |
| Solaris | xxx | xxx | Moodle |
| Windows | xxx | xxx | dokuwiki |
wget -N http://netenberg.com/files/free/fantasticoinstaller.tgz tar xzpf fantasticoinstaller.tgz rm -f fantasticoinstaller.tgz
SAS Made Easy
Thinking of CMS......
One Day OpenACS/.LRN Training Setup Instructions I’m going to have you download a virtual machine that will give you all of dotLrn and everything needed to run it. You can repeat these steps at home to continue there. If you have not registered for this training, please register at http://dotlrn.org/events/2006-boston/fees (MOS and Zipcar, you are already taken care of) Download and install the VMWare Virtual Player at http://www.vmware.com/download/player/ Download the (very large) virtual image at http://lcs.mgh.harvard.edu/download/openACS-Learning-Final.zip Unzip/Extract the Virtual Image Open Linx VMWare Configuration File Click on “Restart dotlrn” in the upper right Open FireFox Click on Local .LRN Install. (the login in nobody@localhost / test) You can browse around if you like. You can also visit the administration pages at http://localhost:8080/dotlrn/admin While waiting for lecture, check out .LRN or start the reading below. Reading/Documentation TCL for Web Nerds SQL for Web Nerds TCL langurage manual AOLServer commands ADP Tags OpenACS API Doc (or /api-doc on your local host) Other things to try http://oacsrocks.org- Will give you a free OpenACS setup for 30 days. Includes web and ssh access.
re-naming on the fly
What CMS?
There are 2 factors involved in decising what CMS we are going to choose:
- Our needs
- The functionalities of the target CMS
CMS stands for content mananagement system. To ask what are needs are is to ask what contents we are going to manage and how? For small community website, the contents may be just artiles and casual posts. To manage these contents, we can just categorize them—to classify them into different categories so that we can easily find them later. We can also look at what articles are most popular. At the same time, in addition to these articles, we might have advertisements coming up. These ads are different than the articles because they are not necessarily interesting to all the community. In other words, the main articles are the core of forming a community. The others are just helps.
With this needs in mind, Drupal could be a good choice.