Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: slope for each individual


From   "Newson, Roger B" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: slope for each individual
Date   Fri, 7 Apr 2006 12:29:42 +0100

Sorry, a bit of my email seems to have been lost. It should have read:

I would use -parmby-, which is part of the -parmest- package,
downloadable from SSC. In Stata, type

ssc desc parmest

to find out more about the package, and

ssc install parmest, replace

to install the latest version.

Hope this helps.

Roger


Roger Newson
Lecturer in Medical Statistics
POSTAL ADDRESS:
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute at Imperial College London
St Mary's Campus
Norfolk Place
London W2 1PG
STREET ADDRESS:
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute at Imperial College London
47 Praed Street
Paddington
London W1 1NR
TELEPHONE: (+44) 020 7594 0939
FAX: (+44) 020 7594 0942
EMAIL: [email protected]
WEBSITE: http://www.imperial.ac.uk/nhli/r.newson/
Opinions expressed are those of the author, not of the institution.


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Yoshiro Nagao
Sent: 07 April 2006 07:11
To: [email protected]
Subject: st: slope for each individual

Dear All,

I have such a dataset as follows:
************************************
district ID,year,population
1,1998,2000
1,1999,2010
1,2000,2020
1,2001,2030
1,2002,2040
1,2003,2050
2,1998,1000
2,1999,1010
2,2000,1020
2,2001,1030
2,2002,1040
2,2003,1050
....
1000,2002,4060
1000,2003,5000
************************************
For the each district, population
is recorded every year between
1998 and 2003.

I would like to calculate 
individual "regression coefficient (slope)"
for the each district.

General slope is not of my interest.

How can the individual slope be
generated?

Thank you very much in advance.

Yoshiro

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index