[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    [R] Robust regression with clusters
From:       Aldo_Córdova_Palomera <a.cordova () ub ! edu>
Date:       2012-04-30 15:15:50
Message-ID: CAMT8ptqHGi-ZmAPs48w4Hrw+8=fF65kPtxGjhyHjgWrCa4edww () mail ! gmail ! com
[Download RAW message or body]

Hi,
I need to perform a robust regression with several dummy independent
variables (i.e., binary), which are paired (clustered). The outcome
(dependent variable) is continuous.

I have tried using the robcov function with the next syntaxis:

  out1 <- ols(y ~ x1 + x2 + x3 , x=T)
  robustclust <- robcov(out1, pair)

(where, as stated 'y' is continuous, 'x1', 'x2' and 'x3' are binary and
'pair' contains cluster numbers).
Is this the best way to do it? How to know it?
Should 'bootcov' be used instead of 'robcov'?

Regards,

	[[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic