[Limdep Nlogit List] Demeaning in Limdep

Yen, Steven T syen at utk.edu
Sun Jun 13 01:00:03 EST 2010


I believe age1 and age2 give deviation from the mean. Age3 is the scaling taht Barry needs.
 
matrix ;list ;agebar=mean(age) $
create ;age1=age-agebar ;age2=dev(age) ;age3=age/agebar $
dstat  ;rhs=age,age1,age2,age3 $

________________________________

From: limdep-bounces at limdep.itls.usyd.edu.au on behalf of William Greene
Sent: Sat 6/12/2010 7:48 AM
To: Limdep and Nlogit Mailing List
Subject: Re: [Limdep Nlogit List] Demeaning in Limdep



Barry:
CREATE ; DiffX = Dev(x) $
is the command.
/Bill Greene

----- Original Message -----
From: "Barry Quinn" <b.quinn at qub.ac.uk>
To: "Limdep and Nlogit Mailing List" <limdep at limdep.itls.usyd.edu.au>
Sent: Saturday, June 12, 2010 6:37:12 AM GMT -05:00 US/Canada Eastern
Subject: [Limdep Nlogit List] Demeaning in Limdep

Hi all,

Does anyone know of a way to easily create demeaned variables in Limdep??

Problem being i want to create Xi_m=Xi/(Mean of all Xi) but i am not sure if limdep has the mathematical operators to achieve this in its CREATE command, and i can't see how to save the results of the DSTAT command and then use these.

Any advice would be most helpful

Barry Quinn
Queens University Management School



 
---
Steven T. Yen
http://web.utk.edu/~syen/
<http://web.utk.edu/~syen/> Check out our postdoc opening at:
http://web.utk.edu/~syen/postdoc.html <http://web.utk.edu/~syen/postdoc.html> 



More information about the Limdep mailing list