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

Re: Customizable tables in Stata 17, part 4: Table of statistical tests

Hello, I would like to know wether or not I can export this output into a tex. file to use it on Overleaf. If so, how?

View Article


Re: Wharton Research Data Services, Stata 17, and JDBC

I got an error "connection failed; JDBC driver class org.postgresql.Drive not found". Any chance you know how to fix?

View Article


Re: Web scraping NBA data into Stata

Is there a way to get a similar command but for UEFA Men champions league? for premier league? For Football world cup ?

View Article

Re: Export tabulation results to Excel—Update

Hi y'all - tried the tab2xl command on Stata/SE 17.0. Seeing this error message though: putexcel_set_new(): 3010 attempt to dereference NULL pointer<istmt>: - function returned errorr(3010);Help?

View Article

Re: Wharton Research Data Services, Stata 17, and JDBC

Make sure that org.postgresql.Driveis the correct class name of the downloaded jar file.

View Article


Re: Structural vector autoregression models

How does A have n^2 parameters? Does it not just have ones across the diagonal?And how is it kosher to simply set A = I when A carries parameters for contemporaneous relationships? Isn't that just...

View Article

Re: Export tables to Excel

tab2xl keeps returning zeros for the first few rows of my frequency data for the numeric value "mic". Any idea as to why?As a result this command:tab2 mic testname if organisms == "Salmonella Sp."...

View Article

Re: Export tabulation results to Excel—Update

Hi all,I am using tab2xl to export a float (mic) vs str30 (test name) and it works, except for the first few rows below a certain value of mic (0.0125) only zeroes are returned. Any...

View Article


Re: Vector autoregressions in Stata

In VAR what matters is that you have enough lags with respect to your integrations. If you have I(d) variables then estimating VAR(p+d) is fine which is the case here. Regarding the IRFs, please note...

View Article


Re: An introduction to the lasso in Stata

Hi everyone. I have been trying to run a LASSO over a database containing a very large number of dummy variables. It seems like the command does not run at all as I keep getting errors r(111) and...

View Article

Re: Customizable tables in Stata 17, part 1: The new table command

How do I get Pearson standardized residuals in Stata 17 (in crosstab) and is it an ava statistic in table command.

View Article

Re: Customizable tables in Stata 17, part 2: The new collect command

I've produced a table of regression results for three models. Its worked well BUT I do not want to report the results for all of my variables. How can I do this. This is what I have:This is what I...

View Article

Re: Using the margins command with different functional forms: Proportional...

Hi there, thank you for this terrific post! I was wondering if you could help me understand what margins is doing behind the scenes when using an expression like the examples you posted for calculating...

View Article


Re: Export tabulation results to Excel—Update

Hi Kevin, thanks for writing this great program. Unfortunately, code that we wrote in 2020 using tabdocx does not run anymore. We used Stata 15 at that time and upgraded recently to Stata 17. Now, if I...

View Article

Re: Export tabulation results to Excel—Update

Can you please restart Stata and see if the error clears.

View Article


Re: Web scraping NBA data into Stata

Most of these web services for sports data are now pay and can be downloaded as .csv files.

View Article

Re: Export tabulation results to Excel—Update

Can you post an example of the command error using the auto dataset so I can track down the issue? Also, the collect is the best way to export results to Word/Excel as of Stata 17.

View Article


Re: Export tabulation results to Excel—Update

Are the zero's in Excel? If so, try changing the Excel cell format to display more digits.

View Article

Re: Wharton Research Data Services, Stata 17, and JDBC

I am getting the following error when loading a query using jdbc load, exec("SQL query")failed to read clob from resultset Large Objects may not be used in auto-commit mode.Any idea how to solve this?...

View Article

Re: Export tabulation results to Excel—Update

I did that and they were still zeros unfortunately.

View Article
Browsing all 1125 articles
Browse latest View live