[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 gra

[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