Displaying 20 results from an estimated 80 matches similar to: "extend summary.lm for hccm?"
2009 Dec 02
1
Incorporating the results of White's HCCM into a linear regression:
Using hccm() I got a heteroscedasticity correction factor on the diagonal of
the return matrix, but I don't know how to incorporate this into my linear
model:
METHOD 1:
> OLS1 <- lm(formula=uer92~uer+low2+mlo+spec+degree+hit)
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -0.0623377 0.0323461 -1.927 0.057217 .
uer 0.2274742 0.0758720
2006 Dec 24
1
extend summary.lm for hccm?
dear R experts:
I wonder whether it is possible to extend the summary method for the
lm function, so that it uses an option "hccm" (well, model "hc0"). In
my line of work, it is pretty much required in reporting of almost all
linear regressions these days, which means that it would be very nice
not to have to manually library car, then sqrt the diagonal, and
recompute
2006 Dec 26
1
Colored Dendrogram
Hi all,
I am a real novice to R. :)
I am struggling with a problem for generating colored dendrogram. I have
searched the R list and complied/collected a R code which can generated a
colored dendrogram based on the rainbow color and 4x4 similarity matrix (say
matrix:m).
In this dendrogram, each leaf is colored differently. But, I do not want the
leaf colored on a random basis. I want to assign
2003 Mar 24
2
Robust standard errors
I am trying to calculate robust standard errors for a logit model. I
installed the package "car" and tried using hccm.default, but that
required an lm object. Is there some way to do a similar operation for a
glm object?
x <- hccm.default(glm(winner ~ racebl + racehi + raceas + inchi + incmed +
edhs + edcol + edba + agec1 + agec4 + sex + margin + regla + regbay +
regsc +
2008 Sep 04
2
Correct for heteroscedasticity using car package
Dear all,
Sorry if this is too obvious.
I am trying to fit my multiple regression model using lm()
Before starting model simplification using step() I checked whether the
model presented heteroscedasticity with ncv.test() from the CAR package.
It presents it.
I want to correct for it, I used hccm() from the CAR package as well and
got the Heteroscedasticity-Corrected Covariance Matrix.
I am not
2006 Apr 28
1
function for linear regression with White std. errors
I would like to know if there is a function that will run a linear
regression and report the White (heteroscedasticity consistent) std.
errors.
I've found the hccm() function in the car library, but that just gives
me the White covariance matrix. I'd like to be able to see the White
std. errors without having to do much more work, if possible.
Thanks,
Brian
2011 Jun 12
3
Running a GMM Estimation on dynamic Panel Model using plm-Package
Hello,
although I searched for a solution related to my problem I didn?t find one,
yet. My skills in R aren?t very large, however.
For my Diploma thesis I need to run a GMM estimation on a dynamic panel
model using the "pgmm" - function in the plm-Package.
The model I want to estimate is: "Y(t) = Y(t-1) + X1(t) + X2(t) + X3(t)" .
There are no "normal" instruments
2006 Jan 05
2
Wald tests and Huberized variances (was: A comment about R:)
On Wed, 4 Jan 2006, Peter Muhlberger wrote:
One comment in advance: please use a more meaningful subject. I would have
missed this mail if a colleague hadn't pointed me to it.
> I'm someone who from time to time comes to R to do applied stats for social
> science research.
[snip]
> I would also prefer not to have to work through a
> couple books on R or S+ to learn how to
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 Jan 01
1
advice on semi-serious attempt to extend summary
Dear R wizards:
I am trying (finally) to build a function that might be useful to
others. In particular, I want to create a summary.lme (extended lm)
method that [a] adds normalized coefficients and [b] white
heteroskedasticity adjusted se's and T's. I believe I already know
how to do the programming to do these two, at least in simple
unweighted cases. Now my challenges are just [1]
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
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 Aug 12
0
"new" package sandwich 0.1-3
Dear useRs,
here is the announcement for the next "new" package:
sandwich 0.1-3.
sandwich provides heteroskedasticity (and autocorrelation)
consistent covariance matrix estimators (also called HC
and HAC estimators).
The former are implemented in the function vcovHC() (which
was available in strucchange before - and independently
in hccm() in John Fox's car package).
And the
2004 Aug 12
0
"new" package sandwich 0.1-3
Dear useRs,
here is the announcement for the next "new" package:
sandwich 0.1-3.
sandwich provides heteroskedasticity (and autocorrelation)
consistent covariance matrix estimators (also called HC
and HAC estimators).
The former are implemented in the function vcovHC() (which
was available in strucchange before - and independently
in hccm() in John Fox's car package).
And the
2009 Dec 03
0
Deducer: An R data analysis GUI
Announcing a new version of Deducer:
Deducer 0.2-1 is an intuitive, cross-platform graphical data analysis
system. It uses menus and dialogs to guide the user efficiently through
the data manipulation and analysis process, and has an excel like
spreadsheet for easy data frame visualization and editing. Deducer works
best when used with the Java based R GUI JGR, but the dialogs can be
called from
2009 Dec 03
0
Deducer: An R data analysis GUI
Announcing a new version of Deducer:
Deducer 0.2-1 is an intuitive, cross-platform graphical data analysis
system. It uses menus and dialogs to guide the user efficiently through
the data manipulation and analysis process, and has an excel like
spreadsheet for easy data frame visualization and editing. Deducer works
best when used with the Java based R GUI JGR, but the dialogs can be
called from
2005 Jan 17
2
Omitting constant in ols() from Design
Hi!
I need to run ols regressions with Huber-White sandwich estimators and
the correponding standard errors, without an intercept. What I'm trying
to do is create an ols object and then use the robcov() function, on the
order of:
f <- ols(depvar ~ ind1 + ind2, x=TRUE)
robcov(f)
However, when I go
f <- ols(depvar ~ ind1 + ind2 -1, x=TRUE)
I get the following error:
Error in
2000 Mar 07
1
update fails after specific sequence of steps (PR#474)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@biostat.ku.dk
#
######################################################
I stumbled on this error while doing a classroom demonstration. The error is reproducible,
2013 Apr 16
1
assistant
Dear Sir/Ma,
I Adelabu.A.A, one of the R-users from Nigeria. When am running a coxph command the below error was generated, and have try some idea but not going through. kindly please assist:
> cox1 <- coxph(Surv(tmonth,status) ~ sex + age + marital + sumassure, X)
Warning message:
In fitter(X, Y, strats, offset, init, control, weights = weights, :
Ran out of iterations and did not
2009 Nov 05
1
help with ols and contrast functions in Design library
Dear All,
I'm trying to use the ols function in the Design library (version
2.1.1) of R to estimate parameters of a linear model, and then use the
contrast function in the same library to test various contrasts.
As a simple example, suppose I have three factors: feature (3
levels), group (2 levels), and patient (3 levels). Patient is coded
as a non-unique identifier and is