[R] Glm
Gray Calhoun
gray.calhoun at gmail.com
Tue Jul 27 17:38:37 CEST 2010
Hi Ana,
Does the "predict" function do what you want? Type in ?predict.lm
--Gray
On 7/27/10, Ana De Barros <belindadebarros at gmail.com> wrote:
> Hi,
>
> Is there any way to estimate a DEPENDENT variable through a GLM/LM model?
>
> Suppose I have the linear model: y=a0+a1*x1+a2*x2 (a0=1, a1=0.6, a2=0.8,
> x1~N(1,1), x2~N(0,1)).
> The alphas and the auxiliary variables are given and I have to estimate y.
> The point is if I estimate it, let零 say algebraically, I get high variances
> that do not decrease as sample sizes increases... Is the any other way to do
> this?... It is not compulsory to use these alphas but my Y is unknown...
>
> Any ideas?...
> Thanks,
> Ana
>
> [[alternative HTML version deleted]]
>
>
--
Gray Calhoun
Assistant Professor of Economics, Iowa State University
http://www.econ.iastate.edu/~gcalhoun/
More information about the R-help
mailing list