When we have a small data set, our estimation may be sensitive to the inclusion of one or several observations. An observation is an influential observation if dropping it from the analysis changes the key estimates by a practically "large" amount.
Solutions?
Trimmed mean:
In the diving game evaluation, the highest and the lowest scores are eliminated. The five remaining scores are then added up and the total score is then multiplied by the difficulty factor for each dive and then by 0.6, which gives the final result. A tie is declared when two divers get the same total score.
Median:
another way to deal with outliers.
Tuesday, October 23, 2012
Wednesday, October 17, 2012
Spell Check: vim tips and tricks
http://www.cs.oberlin.edu/~kuperman/help/vim/home.html
add this to your .vimrc:
if has("spell")
" turn spelling on by default
set spell
" toggle spelling with F4 key
map <F4> :set spell!<CR><Bar>:echo "Spell Check: " . strpart("OffOn", 3 * &spell, 3)<CR>
" they were using white on white
highlight PmenuSel ctermfg=black ctermbg=lightgray
" limit it to just the top 10 items
set sps=best,10
endif
to have a personal wordlist, make a directory called ~/.vim/spell
you can manually add things your personal wordlist (~/.vim/spell/en.latin1.add):
printf( (so printf is invalid, but printf( is ok)
nextLine()
ArrayList/= (the /= means always match case)
focussed/! (the /! says treat this as a misspelling)
if you manually add to your wordlist, you need to regenerate it:
:mkspell! ~/.vim/spell/en.latin1.add
some useful keys for spellchecking:
]s - forward to misspelled/rare/wrong cap word
[s - backwards
]S - only stop at misspellings
[S - in other direction
zG - accept spelling for this session
zg - accept spelling and add to personal dictionary
zW - treat as misspelling for this session
zw - treat as misspelling and add to personal dictionary
z= - show spelling suggestions
:spellr - repeat last spell replacement for all words in window
Wednesday, October 3, 2012
If you're so smart
The sciences, such as economics, require supposedly humanistic methods, right in the middle of their sciences; and likewise the arts and humanities require fact and logic, right in the middle of their own sciences. Newton used logic and metaphors; Darwin used facts and stories. Science is literary, requiring metaphors and stories in its daily work, and literature is scientific.
Subscribe to:
Posts (Atom)