Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: graph

From   Reka Sundaram-Stukel <[email protected]>
To   [email protected]
Subject   st: graph
Date   Sun, 6 Apr 2003 23:09:05 -0500

Dear Statalist,

I am a new stata user so would appreciate any help. I estimated an ordered probit model and I would like to create a graph that has probability on the y axis and land on the x axis holding all values (except land) at their mean levels. I know one can do this easily in gauss using the following code. Does any one have any ideas how to do this in STATA. I have tried using predict and plotting it, but it generates the probabilities for each observation.

Thanking you in advance,


Here is the gauss code:

library pgraph;

/*estimated critical values--first critical vlaues normalized to zero??*/
c1= -0.28;
c2= 0.01;
/*mean/median values for control variables*/
let z = { means of explanatory variables except land };

/*Estimated coefficients for z variables*/
let beta = { coeffs of z variables };
beta_t=0.00652; /*coefficient for land varialbe*/

beta_x=beta_t*t + beta'z;




Thanking you in advance
Reka Sundaram-Stukel

Reka Sundaram-Stukel
Agriculture And Applied Economics
320 Taylor Hall

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