Re: [R] calculate the elasticities by linear.hypothesi commander

2010-08-27 Thread John Fox
ie > Sent: August-27-10 8:26 AM > To: r-help@r-project.org > Subject: [R] calculate the elasticities by linear.hypothesi commander > > Dear all > > > > If I run the model and get the estimated parameter a11. Then I want to use > the estimated parameter to calculat

[R] calculate the elasticities by linear.hypothesi commander

2010-08-27 Thread Jinghua Xie
Dear all If I run the model and get the estimated parameter a11. Then I want to use the estimated parameter to calculate the elasticities by using the formula e11=a11/mw1-1. What I have done is using the command of linear. Hypothesis. > formulas1=dWfresh~dlnPfresh+dlnPfrozen+dlnPsmoke+d