Displaying 20 results from an estimated 1000 matches similar to: "Heteroskedasticity in Tobit models"
2008 Jul 21
1
Large number of dummy variables
Hello,
I'm trying to run a regression predicting trade flows between importers and
exporters. I wish to include both year-importer dummies and year-exporter
dummies. The former includes 1378 levels, and the latter includes 1390
levels. I have roughly 100,000 total observations.
When I'm using lm() to run a simple regression, it give me a "cannot
allocate ___" error.
2011 Feb 11
1
censReg or tobit: testing for assumptions in R?
Hello!
I'm thinking of applying a censored regression model to
cross-sectional data, using either the tobit (package survival) or the
censReg function (package censReg). The dependent variable is left and
right-censored.
My hopefully not too silly question is this: I understand that
heteroskedasticity and nonnormal errors are even more serious problems
in a censored regression than in an
2002 Mar 22
3
heteroskedasticity-robust standard errors
I am trying to compute the white heteroskedasticity-robust standard errors
(also called the Huber standard errors) in a linear model, but I can't seem
to find a function to do it. I know that the design library in S+ has
something like this (robcov?), but I have not yet seen this library ported
to R.
Anyone know if there is already a function built into R to do this
relatively simple job?
2004 Jul 21
2
Testing autocorrelation & heteroskedasticity of residuals in ts
Hi,
I'm dealing with time series. I usually use stl() to
estimate trend, stagionality and residuals. I test for
normality of residuals using shapiro.test(), but I
can't test for autocorrelation and heteroskedasticity.
Is there a way to perform Durbin-Watson test and
Breusch-Pagan test (or other simalar tests) for time
series?
I find dwtest() and bptest() in the package lmtest,
but it
USING TOBIT OR WHAT ALTERNATIVE WHEN DATA ARE PANEL AND HETEROSKEDASTIC AND PROBABLY AUTOCORRELATED?
2008 Aug 28
0
USING TOBIT OR WHAT ALTERNATIVE WHEN DATA ARE PANEL AND HETEROSKEDASTIC AND PROBABLY AUTOCORRELATED?
Please, I seek expertise and advice, possibly leads to R packages or
stats literature.
My data: measurements of economic variables for each county of
California over 37 years.
My dependent variable is square feet of office floor space permitted to
be added in a county.
Independent variables include for example change in number of office
jobs in same county same year (and lagged years).
2011 Jul 25
1
predict() and heteroskedasticity-robust standard errors
Hello there,
I have a linear regression model for which I estimated
heteroskedasticity-robust (Huber-White) standard errors using the
coeftest function
in the lmtest-package.
Now I would like to inspect the predicted values of the dependent
variable for particular groups and include a confidence interval for
this prediction.
My question: is it possible to estimate confidence intervals for the
2000 Dec 07
2
Heteroskedasticity in R
Hi all,
I just discovered R a couple of days ago and I must say it rocks. I've been
looking for heteroskedasticity tests and couldn't find any, however.
Particularly, I've been told in one of my courses on econometrics of White's
method (>< white.test()).
The test's statistic is beta / sqrt(W), where W is Var(beta) "? la White",
that is the beta(i) matrix is
2010 Mar 22
0
using lmer weights argument to represent heteroskedasticity
Hi-
I want to fit a model with crossed random effects and heteroskedastic
level-1 errors where inferences about fixed effects are of primary
interest. The dimension of the random effects is making the model
computationally prohibitive using lme() where I could model the
heteroskedasticity with the "weights" argument. I am aware that the weights
argument to lmer() cannot be used to
2009 Sep 18
1
some irritation with heteroskedasticity testing
Dear all,
Trying to test for heteroskedasticity I tried several test from the
car package respectively lmtest. Now that they produce rather
different results i am somewhat clueless how to deal with it.
Here is what I did:
1. I plotted fitted.values vs residuals and somewhat intuitively
believe, it isn't really increasing...
2. further I ran the following tests
bptest (studentized
2010 May 10
2
Robust SE & Heteroskedasticity-consistent estimation
Hi,
I'm using maxlik with functions specified (L, his gradient & hessian).
Now I would like determine some robust standard errors of my estimators.
So I 'm try to use vcovHC, or hccm or robcov for example
but in use one of them with my result of maxlik, I've a the following
error message :
Erreur dans terms.default(object) : no terms component
Is there some attributes
2011 Nov 24
1
CAPM-GARCH - Regression analysis with heteroskedasticity
Hey Guys,
i want to do a CAPM-GARCH model. I didn?t find anything posted online.
(If there is something - shame on me - i didn?t find it.)
My Problem: What is the difference if I let the residuals ?e? follow a
garch process ?
How do I do my regression analysis now? I began reading about regression
analyis with heteroscedasticity, but didn?t get it.
So i started programming.
First
2009 Jun 26
1
Heteroskedasticity and Autocorrelation in SemiPar package
Hi all,
Does anyone know how to report heteroskedasticity and autocorrelation-consistent standard errors when using the "spm" command in SemiPar package? Suppose the original command is
sp1<-spm(y~x1+x2+f(x3), random=~1,group=id)
Any suggestion would be greatly appreciated.
Thanks,
Susan
[[alternative HTML version deleted]]
2010 Dec 20
1
After heteroskedasticity correction, how can I get new confidential interval?
I just corrected std.error of my 'model'(Multi Regression).
Then how can I get new t and p-values?
Isn't there any R command which shows new t and p values?
--
View this message in context: http://r.789695.n4.nabble.com/After-heteroskedasticity-correction-how-can-I-get-new-confidential-interval-tp3095643p3095643.html
Sent from the R help mailing list archive at Nabble.com.
2012 Sep 18
1
Contradictory results between different heteroskedasticity tests
Hi all,
I'm getting contradictory results from bptest and ncvTest on a model
calculated by GLS as:
olslm = lm(log(rr)~log(aloi)*reg*inv, data)
varlm = lm(I(residuals(olslm)^2)~log(aloi)*reg*inv, data)
glslm = lm(log(rr)~log(aloi)*reg*inv, data, weights=1/fitted(varlm))
Testing both olslm and glslm with both ncvTest and bptest gives:
> ncvTest(olslm)
Non-constant Variance Score Test
2008 Jul 24
1
Parallel Processing and Linear Regression
Does anybody have any suggestions regarding applying standard regression
packages lm(), hccm(), and others within a parallel environment? Most of
the packages I've found only deal with iterative processes (bootstrap) or
simple linear algebra. While the latter might help, I'd rather not program
the estimation code. I'm currently using a IA-64 Teragrid system through UC
San Diego.
2007 Mar 06
1
The plot of qqmath
Hello,
I would like to inlude the Q-Q plot by "qqmath" into a panel with other
plots, say, using par(mfrow=c(1,2)). How can this be done given that
"qqmath" refreshes the plotting window and there seems to be no series
coming out of it?
Thanks
Serguei
[[alternative HTML version deleted]]
2007 Mar 07
2
No years() function?
Hi,
I'm trying to aggregate date values using the aggregate function. For example:
aggregate(data,by=list(weekdays(LM),months(LM)),FUN=length)
I would also like to aggregate by year but there seems to be no
years() function.
Should there be one? Is there any alternative choice?
Also, a hours() function would be great. Any tip on this?
Thanks in advance!
S?rgio Nunes
2006 Jul 11
3
storing the estimates from lmer
Dear all,
I'm trying to store/extract the mean& standard error of the fixed effects
parameter and the variance of the random effects parameter from "lmer"
procedure from mlmre4 package developed by bates n pinheiro. while storing
fixed effects parameter is straight forward, the same is not true for
storing the variance parameter of the random effects. kindly help me
~prabhu
2005 Oct 27
2
Extracting Variance Components
Dear List,
Is there a way to extract variance components from lmeObjects or
summary.lme objects without using intervals()? For my purposes I don't
need the confidence intervals which I'm obtaining using parametric
bootstrap.
Thanks,
Mike
[[alternative HTML version deleted]]
2006 Mar 01
6
interrupted time series analysis using ARIMA models
Hi R-users,
I am using arima to fit a time series. Now I would like to include an intervention component "It (0 before intervention, 1 after)" using different types of impacts, that is, not only trying the simple abrupt permanent impact (yt = w It ) with the xreg option but also trying with a gradual permanent impact (yt= d * yt-1 + w * It ), following the filosophy of Box and Tiao