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

st: How to 'predict' constant by region?

From   Galina An <>
Subject   st: How to 'predict' constant by region?
Date   Thu, 07 Aug 2008 00:01:20 -0400

Dear statalist users,
I was wondering if anybody encountered the following problem:
when I run the following code, I need to save constants for different regions:

by region: reg migration q1 q2 q3
by region: gen constant=_b[_cons]

However, I get the same constant for all regions.
Can anybody give me a hint?

Galina An
Assistant Professor
Economics Department
Kenyon College

* For searches and help try:

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