Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Regression question
From
"Mike Kim" <[email protected]>
To
<[email protected]>
Subject
st: Regression question
Date
Fri, 25 May 2012 08:52:28 -0500
Hi all,
This question is not about Stata, but I would appreciate your opinion. I
wonder whether the following regression (e.g., OLS) makes sense.
Y(i) = b0 + b1*X1(i) + b2*X2(ij) + e(i)
That is, Y varies by i, but some independent variables vary by i and j. Each
Y(i) is repeated j times, so data structure is:
Y X1 X2
10 2 1
10 2 2
10 2 3
20 3 4
20 3 5
...
For example:
i: company, j: adverting spending by media (TV, Newspaper, etc.)
REVENUE(i) = b0 + b1*R&D SPENDING(i) + b2*AD SPENDING BY MEDIA(ij) + e(i)
Thank you for your help in advance.
Mike.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/