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

Re: Importing Twitter data into Stata

We don’t have any documentation on how to do it because each REST API is different. Stata is fully programmable so you should be able to connect to any database. Also, you might want to look at odbc to...

View Article


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

local var1 "unem_relax_15over"local var2 "ageg"local table_name table1tab `var1' `var2' , matcell(`table_name')*for var1 decode `var1', generate(`var1'_s)levelsof `var1' if `var1'!=. & `var2'!=. ,...

View Article


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: 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: 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

solved the issue! Thanks! Luigi

View Article

Re: Bayesian logistic regression with Cauchy priors using the bayes prefix

I would like to play more with this example so where can I find the data (I tried -use-, -sysuse- and -webuse- to no avail)?

View Article


Re: Export tables to Excel

Hi Kevin,Any chance you could add the option of weights and if in the tab2xl command. That would be very very helpful!

View Article


Re: Fitting ordered probit models with endogenous covariates with...

Hi Dr. CanetteI am able to use a parallel method (introducing a latent variable with coefficient constrained to be 1) to get the covariance between the level one residuals in a multivariate multilevel...

View Article

Re: How to successfully ask a question on Statalist

HiAs an applied Statistician working with medical persons, I have to analyse large data sets. When I compile a do file with involving a fw thousands of lines, whenever the program stops, it is a...

View Article

Re: Bayesian logistic regression with Cauchy priors using the bayes prefix

Dear Rich, we have added a link to the dataset just above the references. You can also access the data directly within Stata by typing 'use https://blog.stata.com/wp-c.... Thank you for your interest.

View Article

Re: Creating Excel tables with putexcel, part 1: Introduction and formatting

I can format expressions by adding options to putexcel. For example, I can specify the horizontal and vertical alignment of the expressions in the cells.

View Article


Re: Creating Excel tables with putexcel, part 1: Introduction and formatting

I agree with you.

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: Fitting ordered probit models with endogenous covariates with...

Hi Dr. CanetteI am able to use a parallel method (introducing a latent variable with coefficient constrained to be 1) to get the covariance between the level one residuals in a multivariate multilevel...

View Article

Re: Group comparisons in structural equation models: Testing measurement...

I'm trying to find the data file of the Holzinger and Swineford dataset to work on the example for the CONFA command. Any ideas where to find it?Thanks

View Article


Re: How to successfully ask a question on Statalist

Hi, Please does seemingly unrelated regression address endogeneity?

View Article

Re: A tour of datetime in Stata

Thank you for your post. The explanation is clear and makes sense, but I am not able to make it work on my own dataset.I have a variable "delivery" which is type double, format %tc [03jan2010...

View Article

Re: Working with Java plugins (Part 1)

The Spring Framework is a lightweight framework for developing Java enterprise applications. It provides high performing, easily testable and reusable code. Spring handles the infrastructure as the...

View Article
Browsing all 1126 articles
Browse latest View live