[R] Help on Heteroskedastic diagram

2009-06-18 Thread Al Leong

Hi,

I am trying to create a diagram similar to Figures 4.4 (page 125) and 5.2 (page 
159) in Stock and Watson2009) Introduction to Econometrics Brief Edition. The 
diagrams display the conditional probability distributions of y at different 
values of x along the regression line. 

I would be grateful if anyone could enlighten me on to create such a diagram in 
R.

Thanks in advance and have a nice weekend.

regards
Al

__
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.


[R] Problems with betareg()

2010-01-12 Thread Al Leong
Hi,

In using the betareg package, I encounter the following error message:

Error in lm.wfit(x, linkfun(y), weights, offset = offset) : 
  NA/NaN/Inf in foreign function call (arg 4)

Any help will be most appreciated. Thanks in advance.

Alex

__
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.