Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: Plotting regression coefficients


From   [email protected]
To   [email protected]
Subject   Re: st: AW: Plotting regression coefficients
Date   Wed, 20 Jan 2010 10:58:01 +0100 (CET)

Hi Stata users
recently, several article have been published on graphical tools for testing interaction in regressions with dycothomous dependent variable (i.e., logit and probit). They say that simply looking at the significance of the interaction coefficient is not enough, and that one should look at graphs.
Is it the same also for poisson and zero-inflated poisson models? Or - in these latter models - I can simply look at the significance of the interaction to state that the interaction effect is significant?
Thanks!




----- Messaggio originale -----
Da: "Miranda Kim" <[email protected]>
A: [email protected]
Inviato: Mercoledì, 20 gennaio 2010 10:25:43 GMT +01:00 Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna
Oggetto: Re: st: AW: Plotting regression coefficients

Thank you Martin, Alan and Nick for your replies,
I'm sorry I didn't give enough description of my dataset. As it is 
currently structured I have each line (observation) corresponding to a 
distinct person. I have five variables for each individual (five columns 
in my dataset):
gluc = 2-h glucose concentration
bmi0 = BMI at birth
bmi4 = BMI at age 4
bmi6 = BMI at age 6
bmi8 = BMI at age 8
I could simply type
reg gluc bmi0
reg gluc bmi4
etc.
saving the regression coefficients (and CIs) along the way, and then 
plotting them.
But I didn't know if this was a long-winded way of going about it.
Many thanks
Miranda

Blood glucose vs. BMI at birth
Blood glucose vs. BMI at age 4
Blood glucose vs. BMI at age 6
Blood glucose vs. BMI at age 8



Martin Weiss wrote:
> <> 
>
>
> Apart from -statsby-, -ssc d parmest- by Roger Newson may be useful for
> you...
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Miranda Kim
> Gesendet: Dienstag, 19. Januar 2010 18:03
> An: [email protected]
> Betreff: st: Plotting regression coefficients
>
> I am using Stata v11
>
> I would like to run four regressions of the same outcome variable on a 
> given predictor at four different timepoints. For example:
>
> Blood glucose vs. BMI at birth
> Blood glucose vs. BMI at age 4
> Blood glucose vs. BMI at age 6
> Blood glucose vs. BMI at age 8
>
> Then I would like to plot the four regression coefficients and 
> respective confidence intervals on the same graph, with time as the x-axis.
>
> I wonder what the most straightforward way of producing such a plot 
> would be.
> Any suggestions would be of great help.
>
> Many thanks,
> Miranda
>
>
> *
> *   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