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

st: apply frontier's conditional mean model to panel data.

From   "Wu, Xun" <>
To   "''" <>
Subject   st: apply frontier's conditional mean model to panel data.
Date   Thu, 10 Jul 2003 13:06:47 -0400

Dear all,

My question is about frontier's conditional mean model. I appreciate the
advice from Weihua. I also notice from the manual (pp423 of Frontier) that
"You can, in fact, apply frontier's conditional mean model to panel data". 

My question is that whether I can obtain the "within" effects with this
method with my panel data. It is like using Xtreg, where it fits
fixed-effects (within) with panel data. We might just add firm dummies
besides the exogenous variables or demean the exogenous variables. However,
I have almost 10,000 firms, which I am afraid won't work with my intercooled


-----Original Message-----
From: Weihua Guan [] 
Sent: Thursday, July 10, 2003 12:25 PM
Subject: st: Re: RE: Re: Initial values not feasible and -ufrom()- option. 

--"Wu, Xun" <> wrote,

> Thanks for Scott's information and David's method, I solve the initial
> problem in Frontier with the -from()- option . 
> However, when I was trying to fit a truncated-normal model, I still have a
> problem with option -ufrom()-.
> I follow David Drucker's method to feed my own initial values:
> 1. Run OLS
> 2. matrix b0 = e(b), ln(e(rmse)^2), .1
> 3. I add option to the frontier command: distribution(tnormal) ufrom(b0,
> copy)
> However, I always got a message "ufrom() must specify a matrix".
> Is there anything different with -ufrom()- option?

The -ufrom()- option is a little different from the regular -from()-.
-from()-, -ufrom()- only takes a matrix.  The syntax is like:

. frontier ..., ufrom(matname) ...

Xun should not specify ", copy" in his command. 

Weihua Guan <> 
Stata Corp.

*   For searches and help try:
*   For searches and help try:

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