Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: RE: variance in glm
From
Argyn Kuketayev <[email protected]>
To
[email protected]
Subject
Re: st: RE: variance in glm
Date
Wed, 2 Mar 2011 11:31:56 -0500
let me reformulate the problem then.
i have a set of observations (Xi, Yi). Xi and Yi are both discrete
numbers. my current hypothesis is that Yi = b1 Xi + b2 + Ei, where Ei
is an error term, maybe Gaussian. I think that Var[Ei] is not
constant, and want to estimate it somehow. the sample size is ~500,
and some Xi values repeat in observations, up to 30-40 times, i.e. i
could compute Var[Yi] for some Xi values directly, on the other hand
many Xi values don't repeat, i.e. there's only one observation with a
given Xi.
so, how to compute Var[Ei] for a any given Xi in Stata? preferably in
some non-parametric way
On Tue, Mar 1, 2011 at 4:07 PM, Wooldridge, Jeffrey <[email protected]> wrote:
> I guess this is beyond my knowledge of how the glm command works in
> Stata.
thanks
--
Argyn Kuketayev
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/