Quantcast
Channel: The Stata Blog - Latest Comments
Browsing all 1129 articles
Browse latest View live
↧

Re: Use poisson rather than regress; tell a friend

Regarding handling of zero, why not try something like:gen lny=ln(y+1)reg lny xYou may get negative prediction of y, but you could censored those cases to be zero.Also, since log(0)= -inf, one may...

View Article


Re: Merging data, part 1: Merges gone bad

"psid is double in using data" - I am getting this error message while merging my data sets. what does this mean and how to get rid of this problem? please suggest

View Article


Re: Merging data, part 1: Merges gone bad

"psid is double in using data" - I am getting this error message while merging my data sets. what does this mean and how to get rid of this problem? please suggest

View Article

Re: Importing Twitter data into Stata

Good afternoon,I keep getting this error message after I type, following your example," twitter2stata searchtweets "star wars", numtweets(10)"could not complete query 400:The request was invalid. An...

View Article

Re: Export tables to Excel

I think it's not just the replace option. You set the col to 1 forever even though you added 6 later on. The local variable 'col' was not used in fact.

View Article


Re: Importing Twitter data into Stata

I have not seen this error before. You might try generating new access tokens from the twitter app website and then using them with twitter2stata setaccess. If that does not work, email in to...

View Article

Re: Importing Twitter data into Stata

You will have to contact our sales department about these issues. They can help you with these questions.

View Article

Re: Importing Twitter data into Stata

This command only works with Stata 15. My next post will show you how to write this command using Java, which should help anyone wanting to write a version for Stata 14.

View Article


Re: Importing Twitter data into Stata

We have updated the command to add this subcommand. Typessc install twitter2stata, replaceto get the latest version.

View Article


Re: Creating Excel tables with putexcel part 3: Writing custom reports for...

Hi ChuckI am having trouble running some of the code. Particularly, in Code Block 1, the following code: local Cell = char(64 + `col') + string(`row') putexcel `Cell' = "`Cell'", hcenterI getA.:...

View Article

Re: Creating Excel tables with putexcel, part 2: Macro, picture, matrix, and...

I third Mariana and Alejo - when the variable labels are not alphabetically synchronized with the tabulation rows, this does not work.Please post solutions!

View Article

Re: Importing Twitter data into Stata

FYI, when I do that, I get the error "file c:\ado\plus\jar\sttwitter.jar already exists"

View Article

Re: Importing Twitter data into Stata

Make sure you use the replace option.ssc install twitter2stata, replace

View Article


Re: Vector autoregressions in Stata

how do you do identification with sign restrictions?

View Article

Re: Solving missing data problems using inverse-probability-weighted estimators

Hi, why the method uses the inverse of the conditional probability of selection instead of its probability?I know Wooldridge uses the same approach, but form me is counter intuitive to assign more...

View Article


Re: Importing Twitter data into Stata

Is there any docmentation how I can access any password-protected databvase via REST API with Stata? I see that you are able to put forward access tokens. I would like to talk to my own database that...

View Article

Re: Importing Twitter data into Stata

Good Evening,I do apologize for the following comment as it has no connection with the current published article however, if someone would kindly assist me.I am a student currently pursuing a degree in...

View Article


Re: Merging data, part 1: Merges gone bad

"psid is double in using data" - I am getting this error message while merging my data sets. what does this mean and how to get rid of this problem? please suggest

View Article

Re: Estimating the parameters of DSGE models

It looks very handy, but there is one question that I have in mind: Is the methodology underpinning the dsge command based on maximum likelihood or Bayesian estimation?

View Article

Re: Estimating the parameters of DSGE models

It is possible run DSGE model in stata 13? Is there a do.file available?

View Article
Browsing all 1129 articles
Browse latest View live