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, statalist.org is already up and running.


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

st: AW: Multilevel Tobit model


From   Reinhardt Jan Dietrich <jan.reinhardt@paranet.ch>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: AW: Multilevel Tobit model
Date   Sun, 11 Mar 2012 01:50:06 +0000

This is an example for an outcome censored at 100

gen outcomeC=cond(outcome>=100,1,cond(outcome<=0,0,outcome)) if outcome<.
gen off = cond(outcome>=100,-100,0)
gen Cens=cond(outcome>=100|outcome<=0,2,1)

eq int: 1
eq slope: slopevar

gllamm outcomeC depvars, offset(off) i(id group) nrf (2 1) eqs (int slope int) fam(gauss binom) link(ident sprobit)  lv(Cens) fv(Cens) 

________________________________________
Von: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu]&quot; im Auftrag von &quot;Mccoach, D. Betsy [betsy.mccoach@uconn.edu]
Gesendet: Samstag, 10. März 2012 22:09
An: statalist@hsphsun2.harvard.edu
Betreff: st: Multilevel Tobit model

Hi all:

I would like to run a 3-level multilevel Tobit model in STATA. Can some one guide me to some resources to fit a three-level Tobit model?

Thanks!

Betsy
*
*   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/
*
*   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   |   Site index