You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to stata-us...@googlegroups.com
Hello,
I am having some problems when I trying to do the regression model tobit. I am insert the data and then, when I select statistics and choose the tobit model appears this error: no observations r(2000). Can you help me?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to stata-us...@googlegroups.com
Berta,
It looks like all of your variables are strings rather than numeric values. You to convert the strings to numeric values. For example, look at the command destring.
Joseph
bertalob...@gmail.com
unread,
Dec 17, 2012, 5:06:00 PM12/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to stata-us...@googlegroups.com
Joseph Cullen
unread,
Dec 17, 2012, 5:53:48 PM12/17/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to stata-us...@googlegroups.com
You are generating all missing values. Read in the manual about missing values and the function "destring". "Real" is not the function you want to use.
I generate the new variables and then I select to do the tobit model and the error "no observations" still appearing. I send the print of the error.
eric.a.booth
unread,
Mar 11, 2013, 3:36:29 PM3/11/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to stata-us...@googlegroups.com
Berta - I realize this is an old thread, but (1) J's advice is correct, you need to use -destring- on all your variables in the model and (2) your screenshot shows that you are using an illegal copy of Stata, you should consider purchasing a license.