Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: Problems with -ssm

From   "" <>
Subject   st: Problems with -ssm
Date   Wed, 6 Feb 2013 00:04:41 +0100 (CET)

I am trying to run a sample selection model for count data

pages is the count data variable
attract is an indicator, that makes the sample selection, 
when =1 I have pages, when =0 pages is missing

I am rying to run -ssm, downloaded on from ssc, written by Alfonso Miranda & Sop
hia Rabe-Hesketh
-ssm is a wrapper for gllamm to estimate Endogenous-Switch & Sample Selection Co
unt, Binary & Ordinal Response Regression by maximum likelihood using adaptive q
uadrature. It needs STATA 9.1. 

I run the following model in STATA 10 (I have installed -gllamm):

.ssm pagesm t banner posters qrbillboard qrmagazine qrnewspaper qrnonewspaper, s
> attract= lag1visitors lag2visitors) selection family(poisson) link(log) robust

I get the following error:
qrbillboard not found

or else I get

posters not found

and so on.
Sometimes I get
variable id not found

attract ambiguous abbreviation
variable __000002 not found


initial vector: matrix must be dimension 14
(error occurred in ML computation)
(use trace option and check correctness of initial model)
equation id1_1l not found

variable end not found
equation id1_1l not found

I cannot figure out what it is going on.
I will greatly appreciate any help

Paolo Di Betta
University of Palermo 

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index