Displaying 4 results from an estimated 4 matches for "d2007".
Did you mean:
2007
2011 May 04
1
Instrumental variable quantile estimation of spatial autoregressive models
...ary(foreign)
library(lmtest)
library(spdep)
library(quantreg)
data<-read.table("DataSample.txt",header=TRUE, sep="")
attach(data)
matrix<-read.gwt2nb("matrixsample.gwt" ,region.id=no_Trans)
matrix.listw<-nb2listw(matrix)
OLS model
OLS<-lm(lnprice~surface+d2007+LUX+tsect_ci, data=data)
summary(OLS)
SAR model
SAR<-lagsarlm(lnprice~surface+d2007+LUX+tsect_ci, data=data, listw = matrix.listw)
summary(SAR)
I hope that this information is sufficient and will help you to help me :)
Many thanks in advance,
Marie-Line Glaesener
PhD student
Unit? de Recher...
2010 Oct 13
1
bwplot change whiskers position to percentile 5 and P95
...log(abs(rt(18, 3)) + 1),
v2 = rep(c("2007", "2006", "2005"), 6),
z = rep(c("a", "b", "c", "d", "e", "f"), e = 3))
ex3 <- merge(ex, ex2, by=c("v2","z"))
D2007 <- ex3[ex3$z=="d" & ex3$v2==2007, ]
D2006 <- ex3[ex3$z=="d" & ex3$v2==2006, ]
C2007 <- ex3[ex3$z=="c" & ex3$v2==2007, ]
quantile(D2007$v1, probs = c(0.05, 0.95))
quantile(D2006$v1, probs = c(0.05, 0.95))
quantile(C2007$v1, probs = c(0.05, 0.95))
b...
2010 Sep 13
1
Create a time-series from cross-sectional data that has each year as a separate column
...68.1 NA 198.3 NA NA ...
$ D2002 : num NA NA 186 NA NA ...
$ D2003 : num 67.6 NA 148.8 NA NA ...
$ D2004 : num 68.8 NA 143.7 NA NA ...
$ D2005 : num NA NA 163 NA NA ...
$ D2006 : num NA NA 189 NA NA ...
$ D2007 : num NA NA NA 14 1.91 ...
How do I transform this into something that I can make a time-series of?
Sincerely,
Gabriel Bergin
gabriel@bergin.se
[[alternative HTML version deleted]]
2010 Oct 15
0
nomianl response model
...log(abs(rt(18, 3)) + 1),
v2 = rep(c("2007", "2006", "2005"), 6),
z = rep(c("a", "b", "c", "d", "e", "f"), e = 3))
ex3 <- merge(ex, ex2, by=c("v2","z"))
D2007 <- ex3[ex3$z=="d" & ex3$v2==2007, ]
D2006 <- ex3[ex3$z=="d" & ex3$v2==2006, ]
C2007 <- ex3[ex3$z=="c" & ex3$v2==2007, ]
quantile(D2007$v1, probs = c(0.05, 0.95))
quantile(D2006$v1, probs = c(0.05, 0.95))
quantile(C2007$v1, probs = c(0.05, 0.95))
b...