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: problems with levpet command
From
Nick Cox <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: problems with levpet command
Date
Tue, 28 Jan 2014 09:38:29 +0000
This often means that some variable that should be numeric is really
string. Look carefully at the results of -describe- on the variables
you are using and try using -destring-.
Nick
[email protected]
On 28 January 2014 09:31, Skrinjaric Bruno <[email protected]> wrote:
> I have only recently started using Stata and I came across a project
> where I have to use levpet command. I have downloaded st060 (SJ-4-2) and
> installed it.
>
> I want to use the following command:
>
> . levpet lnrva, free(lnl) proxy(lnrm) capital(lnrk) i(id) t(year)
> valueadded
>
> However I always get to following error:
>
> no observations
> r(2000);
>
> I am very sure I have all the observations for the variables I am using.
> I am doing this for every sector according to NACE 1-digit
> classification and the number of observations ranges from 25 - 1125
> across different sectors.
> But I removed all missing values, and also all zero values. All
> variables are in float format.
>
> I have also read the help file, but I cannot find the solution to my
> problem.
*
* 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/