search for: datasample

Displaying 3 results from an estimated 3 matches for "datasample".

2011 May 04
1
Instrumental variable quantile estimation of spatial autoregressive models
...sk if someone has implemented the method proposed by Su and Yang in R or if anyone could give me a hint on the different codes and steps? Please find attached a small sample of my data and matrix. R codes: library(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+t...
2012 Nov 13
1
Quastion
 Hey Dear, I have  got aproblem with interpolation 2D transmisivity in the datasample= data.frame, it is not running  I got  this  (Error in as.data.frame.default(x[[i]], optional = TRUE) :  cannot coerce class '"function"' into a data.frame). So, how  shall I manage this?? Regards, Siffan [[alternative HTML version deleted]]
2002 Jul 12
2
Lattice help (again?)
...oints(x,y) panel.loess(x,y,span=1) panel.superpose(x,y,...) } subset(m1data,! is.na(votms) & !is.na(age) & !is.na(Cplace) & !is.na(tokentype)& !is.na(voicing), select=c(votms,age,Cplace,tokentype,voicing)) -> sampledata xyplot(votms ~ age | Cplace + tokentype,data=datasample,xlab="Subject Age (months)",ylab="Voice Onset Time (ms)",panel="my.panelconstr",groups=voicing) Some information on the data set: > sapply(sampledata,levels) > $votms > NULL > > $age > NULL > > $Cplace > [1] "bilabial" &qu...