Statalist


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

st: RE: Testing for interaction within linear regression


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: Testing for interaction within linear regression
Date   Tue, 2 Sep 2008 12:46:27 +0200

I do not really know what to make of the normality issue; there is no
requirement on the covariates being normal, AFAIK. If you want to test the
validity of your interaction, -generate- the product of the two and add it
to your covariates. Then see what kind of an effect (sign, p-value) comes
out of it. Be warned, though: We had a few posts recently about -nl- and how
it is able to see that you used the same covariate twice and adjust the
resulting marginal effect for -mfx- while -regress- would not know that you
threw in the covariate itself and some kind of interaction of it with other
covariates...


HTH
Martin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Apu Chakraborty
Sent: Tuesday, September 02, 2008 12:12 PM
To: [email protected]
Subject: st: Testing for interaction within linear regression

Dear All

I have Stata 9 and wish to test a variable for putative interaction in a
linear regression model where the predictor and dependent variables are
normally distributed. Please could someone let me know how to do this.

Thanks

Apu
Sent from my BlackBerryR wireless device


-----Original Message-----
From: "Ashim Kapoor" <[email protected]>

Date: Tue, 2 Sep 2008 14:46:16 
To: <[email protected]>
Subject: Re: st: RE: Getting label name of a variable


Thank you Martin!

Ashim.

On Tue, Sep 2, 2008 at 2:02 PM, Martin Weiss
<[email protected]> wrote:
> -help extended_fcn-
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Ashim Kapoor
> Sent: Tuesday, September 02, 2008 10:18 AM
> To: [email protected]
> Subject: st: Getting label name of a variable
>
> Hello everyone,
>
> Supposer I have a var " var1 "  having  a label " years" . Can I get
> the label of " var1 " and store it in a local macro ?
>
> Thank you,
> Ashim.
> *
> *   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/
>
>
> *
> *   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/
>
*
*   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/

*
*   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/


*
*   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/



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