# RE: st: xttobit with multiple upper limits

 From "Mentzakis, Emmanouil" To Subject RE: st: xttobit with multiple upper limits Date Fri, 1 Feb 2008 10:39:44 -0000

```I would imagine that you cannot have many ul variables. But you could have one variable with different values for each group.

e.g.

Treat_group     UL
-----------------------------
1                  ul1
1                  ul1
2                  ul2
2                  ul2
2                  ul2
3                  ul3
3                  ul3
3                  ul3
4                  ul4
4                  ul4

Cheers

Manos

________________________________

From: owner-statalist@hsphsun2.harvard.edu on behalf of Andrea Kutinova
Sent: Fri 2/1/2008 4:06 AM
To: statalist@hsphsun2.harvard.edu
Subject: RE: st: xttobit with multiple upper limits

Thank you Scott! Can I use a list of variables such as ul(tr1 tr2
tr3...), where tr1 is a binary variable indicating membership in
treatment group 1, tr2 a binary variable indicating membership in
treatment group 2, etc.? What I want to achieve is: if tr1 = 1 then use
ul(0), if tr2 = 1 then use ul(10) etc.

Andrea

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Scott
Merryman
Sent: Friday, 1 February 2008 4:28 p.m.
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: xttobit with multiple upper limits

In -xttobit- the censoring limit can be a variable.

Scott

On Jan 31, 2008 9:13 PM, Andrea Kutinova
<andrea.kutinova@canterbury.ac.nz> wrote:
> Dear Stata users,
>
> I'm estimating an xttobit model with multiple treatment groups and the
> dependent variable has a different upper bound for each treatment
group.
> Is there a way to allow for different ul() by treatment group
> membership?
>
> I'd appreciate your suggestions very much!
> Andrea
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

```

<<winmail.dat>>