The short answer is no, as there is no way to recover the fitted values
and residuals so you can't get a proper fit object of class lm (and
hence get `summaries and all').
Your pseudo-data method needs to fix the u_i to be mean zero, variance
one in the sample. That is probably the quickest
Prof Brian Ripley [EMAIL PROTECTED] writes:
The short answer is no, as there is no way to recover the fitted values
and residuals so you can't get a proper fit object of class lm (and
hence get `summaries and all').
Your pseudo-data method needs to fix the u_i to be mean zero, variance
Thanks, Brian!
On 18-Apr-04 Prof Brian Ripley wrote:
The short answer is no, as there is no way to recover the fitted values
Well, the fitted values (a + b*x_i) would be available, as would be
the estimates and SEs of coefficients, sums of squares, and relevant
F ratios and P values.
and
On Sun, 18 Apr 2004 [EMAIL PROTECTED] wrote:
Thanks, Brian!
On 18-Apr-04 Prof Brian Ripley wrote:
The short answer is no, as there is no way to recover the fitted values
Well, the fitted values (a + b*x_i) would be available, as would be
the estimates and SEs of coefficients, sums of
(Ted Harding) [EMAIL PROTECTED] writes:
Thanks, Brian!
On 18-Apr-04 Prof Brian Ripley wrote:
The short answer is no, as there is no way to recover the fitted values
Well, the fitted values (a + b*x_i) would be available, as would be
the estimates and SEs of coefficients, sums of
On 18-Apr-04 Peter Dalgaard wrote:
However, it begs the question whether it wouldn't have been better
to design the RSS into the lm class rather than computing it from
residuals in summary.lm and anova.lm and predict.lm and...
Well, something like this though lay under my original query.
The
On 18 Apr 2004 at 2:27, Ted Harding wrote:
Hi Folks,
I am dealing with data which have been presented as
at each x_i, mean m_i of the y-values at x_i,
sd s_i of the y-values at x_i
number n_i of the y-values at x_i
and I want to linearly regress y on x.
On 18-Apr-04 Peter Dalgaard wrote:
(Ted Harding) [EMAIL PROTECTED] writes:
On 18-Apr-04 Prof Brian Ripley wrote:
The short answer is no, as there is no way to recover the fitted
values
Well, the fitted values (a + b*x_i) would be available, as would be
the estimates and SEs of
Hi Folks,
I am dealing with data which have been presented as
at each x_i, mean m_i of the y-values at x_i,
sd s_i of the y-values at x_i
number n_i of the y-values at x_i
and I want to linearly regress y on x.
There does not seem to be an option to 'lm' which