I'm a PhD student in the Government Department at Essex University.
My profile
My photos on Picasa
My academic homepage
Chris Sorsby's blog
Bristol Girl
Laurenceism
Life In Mar's
To Thine Own Self Be True
Jane Kim
Alexia Katsanidou
Blogiraq.net
Statistical Modeling, Causal Inference, and Social Science
R Project
New Economics Papers
GENIUS.
BT bills
My nightmare
Freedom, security
RSS feeds for papers
RSS feeds for New Economics Papers
Author (date) referencing in TeXMacs
ooh the scary
Dumb
Wikigroan
‘Big Brother’ eyes make us act more honestlyNow instead of writing, e.g.
foo[bar,baz] <- foo[bar,baz]*2
you can just write
inplace(foo[bar,baz] *2)
or instead of
foo[bar,baz] <- paste(foo[bar,baz], 1:10)
do
inplace(paste(foo[bar,baz], 1:10))
The second argument of the inplace function allows you to use it when your target for assignment is not the first argument of your inner function. For example:
inplace(sub("old", "new", foo[bar,baz]), 3)
is the same as
foo[bar,baz] <- sub("old", "new", foo[bar,baz])At Essex, the Trots or someone have posted up posters representing the lecturers as Oliver Twist and the Vice-Chancellor as a ruthless workhouse manager: "MORE PAY! I promised you more, but now I say NO!!"
11. During the 1980s and 1990s, declining university funding did not allow for real terms
improvements in academic pay. However, since 2000/01, the sector’s finances have
started to improve. New pay negotiating machinery was introduced at the same time
and average earnings for academic staff have increased by 20.3% since 2001. Over
the same period, the unit of funding per student (representing the income universities
and colleges of higher education get per student they teach) has increased by just
under 16%.
12. In real terms (deflated by the RPI), since 2001 the pay of higher education teaching
professionals has increased by 8.7% compared with 3.9% for all employees, and 6.2%
for all professional occupations.
13. According to the Office of National Statistics (ONS), the average annual earnings of
full-time ‘higher education teaching professionals’ were £40,657 in 2005, placing
academics in the top 20% of earners in the UK. That compares with national average
earnings of £28,210 for all full-time employees, and £36,894 for all professional
occupations.
...
Employers also contribute additional sums – equivalent to 14% of salaries – to
generous final salary pension schemes.
1:5 %-% 3and get c(1, 2, 4, 5), i.e. the numbers from 1 to 5 with 3 removed. Another line in my Rprofile.site:
"%-%" <<- setdiffThe setdiff function does what I want, but with %-% it's quicker and more intuitive to read. Similarly
"%like%" <<- function(x,y) grep(y,x, perl=T)means I can type state[state$name %like% "Al.*",] and get data for Alabama and Alaska.
name | nation | GDP | ... other national variablesThis is fine until you want to take the log of GDP and it takes the computer five minutes to create 50000 new variables, most of which are duplicates. Take a hint from database administration: keep national variables in a separate data frame, with one row for each nation. Then merge them once you have created all your independent variables, before you start running regressions.
print.command <- function (x) {
default.args <- attr(x, "default.args")
if (! length(default.args)) default.args <- list()
print(do.call(x, default.args, envir=parent.frame()))
}
class(ls) <- c("command", class(ls))
class(search) <- c("command", class(search))