Statalist


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

st: conformability error with ssm


From   "Nicola Baldini" <nicola.baldini2@unibo.it>
To   "Clara Velasquez Garzon" <clara_velasquezgarzon@yahoo.es>
Subject   st: conformability error with ssm
Date   Mon, 22 Dec 2008 15:33:24 +0100

It is a bad idea to write me privately. First, because there is some advise on the FAQ not do so, and it's clearly explained why it's a bad idea (in this case, while I know what -ssm- _ which incidentally you can download from SSC _ does, I never used it). Second, because I asked my e-mail to treat as spam any email but from statalist@hsphsun2.harvard.edu, and you are lucky it took only 3 days to read it (it could have taken more than an entire life). 
Therefore I am cc:-ing Statalist in the hope that someone could help you.
Nicola
 
P.S. I'll NOT receive/read any email but the Digest.

________________________________

Da: Clara Velasquez Garzon [mailto:clara_velasquezgarzon@yahoo.es]
Inviato: ven 19/12/2008 13.40
A: Nicola Baldini
Oggetto: help about ordered probit models in stata


Dear Nicola,
 
I read (in statalist) an aswer from you about estimating the likelihood function of the ordered probit model with sample selection, you advised to use the ssm comand in STATA. I would like to use this command to estimate an  ordered model to compute the probability of finding a job matching the level and type of studies, considering three alternatives: no matched, matched only for level or field and fully matched. But as we work only with young  people with a level of education obove secondary we believe that we must take into account the possible problem of sample selection, the question is:
 We have in our  ordered probit model  the dependent variable "match" and 22 dummy and 2 continuous independent variables. In the selection equation we have the dependent variable "Z" and 7 dummy and 1 continuous independent variables. To run the program we get the error: "conformability error. I have checked the command many times and apparently I am doing it as the manual says, could you tell me if there is something that I am not taking into account, or maybe the problem is that we have too many dummy variables?
 
Here it is my code.

ssm match sexo fpomedio fposup diplom letras tecnicasmi csaludfq /*
 */fpm_letras fpm_tecnicasmi fpm_csaludfq /*
*/fps_letras fps_tecnicasmi fps_csaludfq /*
*/ dip_letras dip_tecnicasmi dip_csaludfq /*
*/ unipa bachipa secunpa unima bachima secunma tca_paroa, /*
*/ s( Z = sexo tedadfe unipa bachipa secunpa unima bachima secunma pasalariado tca_paroa)q(8) f(binom) link(oprobit) sel
 
Could you help in finding the mistake?

 
Thanks, 
 
Clara Velasquez
Universidad del Pais Vasco
Bilbao - España


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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