Bookmark and Share

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]

Re: st: surface graph


From   William Buchanan <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: surface graph
Date   Wed, 23 Jan 2013 07:02:10 -0800

Hi James,

Please reread the Statalist FAQ regarding posting the same question under multiple queries.  I responded to your earlier post just this morning and within a few hours you had reposted an identical question under a new thread name.  Not only is this counter productive for you, but anyone with the same question now would need to sift through multiple threads to find an answer that should have appeared only in the first thread that you began. 

HTH,
Billy

Sent from my iPhone

On Jan 23, 2013, at 6:55, James Bernard <[email protected]> wrote:

> Hi all,
> 
> I am struggling with plotting main effect and interaction effect of my
> negative-binomial model... I though Stata might have something, given
> the popularity of these plots among empiricists
> 
> 
> 
> This is a a fixed effect negative binomial model.... I have pace as my
> main ID, Pace-squared, then an interaction term "Scale" and then
> interaction of that variable with Pace and Pace-Squared.
> 
> 
> I want to draw this where my DV is on the vertical axis and main plot
> on the X and then interaction on Y (like a surface plot). I wonder if
> this can be done in Stata, given that negative binomial is a nonlinear
> model....
> 
> 
> ----------------------------------------------------------------------------------------
>          lagpatent_f1 |      Coef.   Std. Err.      z    P>|z|
> [95% Conf. Interval]
> -----------------------+----------------------------------------------------------------
>               Pace      |   1.494223   .5783452     2.58   0.010
> .3606869    2.627758
>            Pace^2      |  -.6852545   .2394282    -2.86   0.004
> -1.154525   -.2159839
>        Scale            |   .0563032   .3031137     0.19   0.853
> -.5377887     .650395
> Pace*Scale          |  -1.551876   .8982472    -1.73   0.084
> -3.312408    .2086566
> Pace*Scale^2        |    .849984   .4441609     1.91   0.056
> -.0205553    1.720523
> 
>                 _cons |   .5746716   .2601009     2.21   0.027
> .0648832     1.08446
> 
> 
> Many Thanks,
> james
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index