Re: [R] OLS Estimating

2012-04-23 Thread David Winsemius
On Apr 23, 2012, at 12:53 PM, phillip03 wrote: So how would I use the lm() to estimate b_0 and b_1 for example My Y_i and Y_j are data observations how does the lm() use my data.frame ? Have your read "An Introduction to R". Section 11 would appear to cover all the needed topics.

Re: [R] OLS Estimating

2012-04-23 Thread phillip03
So how would I use the lm() to estimate b_0 and b_1 for example My Y_i and Y_j are data observations how does the lm() use my data.frame ? -- View this message in context: http://r.789695.n4.nabble.com/OLS-Estimating-tp4580055p4581048.html Sent from the R help mailing list archive at Nabble.

Re: [R] OLS Estimating

2012-04-23 Thread Uwe Ligges
On 23.04.2012 12:42, phillip03 wrote: Hi I am looking for a efficient way to estimate all parameters in your data.frame set using a specific function: for example ln(T)=b_0 + b_1*ln(Y_i*Y_j) + b_2*ln()+ ... + etc. Sounds like you are looking for lm(). Uwe Ligges Thanks, Ph -- View thi

[R] OLS Estimating

2012-04-23 Thread phillip03
Hi I am looking for a efficient way to estimate all parameters in your data.frame set using a specific function: for example ln(T)=b_0 + b_1*ln(Y_i*Y_j) + b_2*ln()+ ... + etc. Thanks, Ph -- View this message in context: http://r.789695.n4.nabble.com/OLS-Estimating-tp4580055p4580055.html Sent