Re: [R] Variation of predictor of linear model

2010-09-27 Thread Yi Du
quot;variance of dependent variable > based on model". Do you want its total variance, residual variance, > ___ ? > > Cheers, > > Josh > > On Mon, Sep 27, 2010 at 12:58 PM, Yi Du wrote: > > Hi folks, > > > > I use lm to run regression and I don&#

[R] Variation of predictor of linear model

2010-09-27 Thread Yi Du
Hi folks, I use lm to run regression and I don't know how to predict dependent variable based on the model. I used predict.lm(model, newdata=80), but it gave me warnings. Also, how can I get the variance of dependent variable based on model. Thanks. [[alternative HTML version deleted]]

Re: [R] simultaneous plots

2010-04-06 Thread Yi Du
> 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. > -- Yi Du Ph. D student in Economics Un

Re: [R] Estimate ARMA model with MLE

2010-03-01 Thread Yi Du
> Nettelbeckstr. 5 > 24105 Kiel > p...@owejessen.de > http://privat.owejessen.de > > __ > 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/posti

[R] Estimate ARMA model with MLE

2010-03-01 Thread Yi Du
Hi there, I want to fit a ARMA model with the method of MLE. Is there any package that could implement this method? Thanks, Yi [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] Legend's attribute

2010-02-25 Thread Yi Du
I use abline(h=0.08) to draw a horizontal line and I also want to show 0.08 in the y-axis, how can I do it? Many thanks, Yi -- Yi Du Ph. D student in Economics University of Missouri Department of Economics 118 Professional Building Columbia MO 65211 1-573-239-6467 [[alternative

[R] Ask about drawing kernel density estimation

2010-01-21 Thread Yi Du
lattice of kernelplot, But I still don't know how to draw the four years kernel in one graph. Also, I don't need the rug(age) in kernelplot, how can I delete it? Thanks. -- Yi Du [[alternative HTML version deleted]] __ R-help@r-proj

Re: [R] Ask for histogram

2010-01-13 Thread Yi Du
ifferent from SAS, perhaps SAS and R use different > breakpoints, that is, different boundaries between the histogram bars. > > -Don > > At 11:58 AM -0600 1/13/10, Yi Du wrote: > >> Hi, >> >> >> I use a vector of data to draw the histogram, but it is different from

[R] Ask for histogram

2010-01-13 Thread Yi Du
don't know where I did wrong. Thanks. -- Yi Du [[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.h

[R] Ask about large data set

2010-01-12 Thread Yi Du
Hi, Is that okay to let R to read data set more than 1 rows and use it to do some kernel density estimation? Thanks. Yi -- Yi Du Ph. D student in Economics University of Missouri Department of Economics 118 Professional Building Columbia MO 65211 1-573-239-6467 [[alternative

[R] GMM estimation

2009-11-28 Thread Yi Du
Hi there, I'd like to resort generalized methods of moment to estimate a regression model but I can't understand the help file of gmm package. If the regression model is y, the instrumental variable is x, how can I write the code? By the way, I use systemfit's 3sls with method3sls='GMM', but I c

[R] Ask about the memory size problem

2009-10-04 Thread Yi Du
Hi there, I run a loop program with R and need to save the variable in each step into a vector. After I ran the code, R told me that Error: cannot allocate vector of size 266.6 Mb. Is there any solution of this kind of problem? Thank you for your attention. Yi -- Yi Du [[alternative